Function
This macro:
Format
SETUPRES VDFfile description,EDfile description, RPACKfile description,SCDYusername, DUMP(string),ERlabel,IG2K
| Parameters | |
| VDFfile description | Version definition file |
| EDfile description | File containing the corrections |
| RPACKfile description | File to contain the restore instructions |
| SCDYusername | Pseudo-user containing the source files |
| DUMP(string) | The string is the parameter list to the restore time macro DUMP, which will be added to the end of the restore file. This is an optional parameter |
| ERlabel | Optional parameter giving the label to GOTO if an error occurs during the execution of the macro |
| IG2K | Optional parameter which causes SETUPRES to ignore files with generation number greater than 2000 in the SCDY directory |
Forbidden contexts
NO USER, BREAK IN
Execution
Library Entrants Accessed
:LIB.PROGRAM XKQ2 (Execute)
:MACROS.FILEIN (Execute)
:MACROS.SETUPRESA (Execute)
:MACROS.FILECHECK (Execute)
Example
SETUPRES VDF :VDF.VDF852,ED:EDITS.SN300,RPACK:GEOSOURCE.RES852SN300,SCDY:GEO, DUMP(1,G3853C,G3MK8D),ERIERROR,IG2K
Error Messages
ERROR: CHECK FAILED
ERROR IN MACRO
ERROR IN 'VDF' PARAMETER
ERROR IN 'ED' PARAMETER
ERROR IN 'RPACK' PARAMETER
ERROR IN 'SCDY' PARAMETER
ERROR IN 'DUMP' PARAMETER
ERROR ON '!' LINE
ERROR IN 'NAME' ON '!' LINE
ERROR IN 'OLDGEN' ON '!' LINE
ERROR IN 'NEWGEN' ON '!' LINE
ERROR IN RESTORE INSTRUCTION CHECKSUM
ERROR: EDITS FILE INCOMPLETE
ERROR: EDITS FILE OUT OF SEQUENCE