Previous Topic: Restoring Deleted EntitiesNext Topic: Restoration Procedures


Resource Section Considerations

In many cases, you must update the resource section of your newly restored programs. You might find missing resources or resources that do not reflect the appropriate version.

VLSUTIL Considerations

  1. The Dictionary entity must be present before VLSUTIL SELREST is run. This is because the CA Ideal CREATE command creates empty VLS members. If the VLS entities already exist during the create process, CA Ideal reinitializes them (or empty them).

    Note: For restoring PROGRAM entities, create the Working Data and Parameter sections of the program (if they exist) before the corresponding members are restored. If they are not, you must edit the sections (that is, overtype a single character) before you can successfully compile the program. Datadictionary does not know these sections exist until they are created or edited.

  2. Remember to use the HEX x card to specify a hex delimiter for your member names during VLSUTIL functions.

    For example, to restore a program called DRIVER in system $ID, version 1, consisting of a procedure, working data and parameter data section, use the following VLSUTIL input statements. The H'40s represent blanks to pad the program name of DRIVER to 15 characters.

    HEX /
    SELREST $IDDRIVER/404040404040404040/001L
    SELREST $IDDRIVER/404040404040404040/001W
    SELREST $IDDRIVER/404040404040404040/001P
    

    See the CA IPC Implementation Guide for more information.

  3. If you need to use the RENAME function of VLSUTIL, you need to RENAME each member using two RENAME functions because you cannot fit the old and new member name in the 80-character maximum.

    For example, to rename a program called EMPLMENU in system $ID, currently in version 22 to version 1:

    HEX /
    RENAME $IDEMPLMENU/40404040404040/022L,TEMP1
    RENAME TEMP1,$IDEMPLMENU/40404040404040/001L
    RENAME $IDEMPLMENU/40404040404040/022W,TEMP2
    RENAME TEMP2,$IDEMPLMENU/40404040404040/001W
    RENAME $IDEMPLMENU/40404040404040/022P,TEMP3
    RENAME TEMP3,$IDEMPLMENU/40404040404040/001P