Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
$SCANB – Backup storage for a scan z/OS JES2 Macros SA32-0996-00 |
|
Use $SCANB to backup a copy of a storage area before it is possibly changed during execution of the $SCAN facility. $SCANB may be used only within a prescan or postscan exit routine specified through the PRESCAN and PSTSCAN operands of the $SCANTAB macro. The $SCAN facility uses $SCANB to backup all control block fields before they are changed. If, at any time during the scan, an error is found, $SCAN uses the backups created by $SCANB to restore all the changed fields to their contents before the start of the scan. If a $SCAN prescan or postscan exit routine changes a storage area, it should first backup that area using the $SCANB macro. Format description>>-+--------+--$SCANB--SCWA--=--+-addrx----+--------------------> '-symbol-' '-(--R1--)-' >--,--ADDR--=--+-addrx----+--,--LENGTH--=--+-label------+-------> '-(--R0--)-' '-(--R--n--)-' >--+-----------------------------------------------+----------->< | .-BACKUP------------------------. | '-,--TYPE--=--+-DISPLAY-----------------------+-' +-+---+--ERROR--+------+--+---+-+ | '-(-' '-,SEC-' '-)-' | '-INVALIDATE--------------------'
Environment
|
Copyright IBM Corporation 1990, 2014
|