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.
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.
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.
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
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|