To invoke CULLUS29:
First—Define the input or work field that holds the data to be dumped.
Second—Define a subscripted work field of 528 bytes as the receiving field for the data to be dumped.
Third—Divide the subscripted work field into 4 elements of 132 bytes to represent the printed lines of the dump.
Fourth—Define a 1-byte alphanumeric work field to hold the status flag for the dump.
Fifth—Issue a CALL to CULLUS29 in type 7 logic:
Col 2 ▼ RPT-nn7sss CALL US29 (dump-field-name length-vn result-v status-v)
Code... |
Means... |
---|---|
'F' |
Initializes the field. |
' ' |
The routine has not finished dumping the requested area. |
'E' |
The routine has completed generating the dump. No further lines should be released. |
Sixth—Test the value of the status flag work field immediately after the CALL to CULLUS29. If the status equals ' ', release the print lines and branch back to the CALL statement. Continue branching back until the value of the status flag equals 'E'.
Copyright © 2014 CA.
All rights reserved.
|
|