VMS Help  —  RMU72  Show  After Journal, Examples
    Example 1

    The following example shows the output from the RMU Show After_
    Journal command when one journal is available, which means
    extensible journaling will be used. The commented line is
    generated by the RMU Show After_Journal command to display the
    full file specification for the added .aij file. The next line
    shows the actual file specification entered by the user when he
    or she created the .aij file configuration. In this example, the
    user did not enter a full specification, therefore only the file
    name appears in the uncommented portion of the code.

    $ RMU/SHOW AFTER_JOURNAL MF_PERSONNEL

    JOURNAL IS ENABLED -
        RESERVE 1 -
        ALLOCATION IS 512 -
        EXTENT IS 512 -
        OVERWRITE IS DISABLED -
        SHUTDOWN_TIMEOUT IS 60 -
        NOTIFY IS DISABLED -
        BACKUPS ARE MANUAL -
        CACHE IS DISABLED
    ADD JOURNAL AIJ_ONE -
    ! FILE USER2:[JOURNALONE]AIJ1.AIJ;1
        FILE AIJ1.AIJ -
        BACKUP DISK1:[BACKUP_AIJ]AIJ1BCK.AIJ; -
        EDIT_STRING IS (SEQUENCE)
        ALLOCATION IS 512

    Example 2

    The following example shows the output from the RMU Show After_
    Journal command when two journal files are enabled, which means
    fixed-size journaling will be used. In this example, the user
    entered a full file specification for the .aij file when the .aij
    file configuration was created. Thus, the commented line and the
    one appearing below it are identical with the exception of the
    file version:

    $ RMU/SHOW AFTER_JOURNAL MF_PERSONNEL

    JOURNAL IS ENABLED -
        RESERVE 2 -
        ALLOCATION IS 512 -
        EXTENT IS 512 -
        OVERWRITE IS DISABLED -
        SHUTDOWN_TIMEOUT IS 60 -
        NOTIFY IS DISABLED -
        BACKUPS ARE MANUAL -
        CACHE IS DISABLED
    ADD JOURNAL AIJ_ONE.AIJ -
    ! FILE DISK2:[AIJ]AIJ1.AIJ;1
        FILE DISK2:[AIJ]AIJ1.AIJ -
        BACKUP DISK1:[BACKUP_AIJ]AIJ1BCK.AIJ; -
        EDIT_STRING IS (SEQUENCE)
        ALLOCATION IS 512
    ADD JOURNAL AIJ_TWO.AIJ -
    ! FILE DISK3:[AIJTWO]AIJ2.AIJ;1
        FILE DISK3:[AIJTWO]AIJ2.AIJ -
        BACKUP DISK1:[BACKUP_AIJ]AIJ2BCK.AIJ; -
        EDIT_STRING IS (SEQUENCE)
         ALLOCATION IS 512

    Example 3

    The following example uses the RMU Show After_Journal command
    to show the settings of the symbolic names for the .aij sequence
    numbers before and after the RMU Backup command is executed:

    $ RMU/SHOW AFTER_JOURNAL/BACKUP_CONTEXT MF_PERSONNEL

    JOURNAL IS ENABLED -
        RESERVE 4 -
        ALLOCATION IS 512 -
        EXTENT IS 512 -
        OVERWRITE IS DISABLED -
        SHUTDOWN_TIMEOUT IS 60 -
        NOTIFY IS DISABLED -
        BACKUPS ARE MANUAL -
        CACHE IS DISABLED
    ADD JOURNAL AIJ2 -
    ! FILE DISK2:[DB]AIJ_TWO;1
        FILE DISK2:[DB]AIJ_TWO -
        ALLOCATION IS 512
    ADD JOURNAL AIJ3 -
    ! FILE DISK3:[DB]AIJ_THREE;1
        FILE DISK3:[DB]AIJ_THREE -
        ALLOCATION IS 512
    $ SHOW SYMBOL RDM$AIJ*
      RDM$AIJ_COUNT == "2"
      RDM$AIJ_CURRENT_SEQNO == "0"
      RDM$AIJ_ENDOFFILE == "1"
      RDM$AIJ_FULLNESS == "0"
      RDM$AIJ_LAST_SEQNO = "-1"
      RDM$AIJ_NEXT_SEQNO = "0"
    $ RMU/BACKUP/AFTER MF_PERSONNEL AIJ_TWO, AIJ_THREE

    %RMU-I-LOGBCKAIJ, backing up after-image journal RDM$JOURNAL
    %RMU-I-AIJBCKSEQ, backing up current after-image journal sequence
     number 0
    $ RMU/SHOW AFTER_JOURNAL/BACKUP_CONTEXT MF_PERSONNEL
       .
       .
       .

    $ SHOW SYMBOL RDM$AIJ*
      RDM$AIJ_BACKUP_SEQNO == "-1"
      RDM$AIJ_COUNT == "2"
      RDM$AIJ_CURRENT_SEQNO = "1"
      RDM$AIJ_ENDOFFILE == "1"
      RDM$AIJ_FULLNESS == "0"
      RDM$AIJ_LAST_SEQNO = "0"
      RDM$AIJ_NEXT_SEQNO = "1"
      RDM$AIJ_SEQNO == "-1"
Close Help