To invoke CULLUS01:
First—Define a dummy buffer area equal to the length of the retrieved record.
Second—Define fields in the dummy buffer area by using REC parameters.
Third—Define a 1-character alphanumeric work field to contain user instructions and CULLUS01 return values. Valid contents of this field are listed as follows under task-v.
Fourth—Issue a CALL to CULLUS01 in type 7 logic:
Col
2 ▼ RPT-nn7sss CALL US01 (result-v task-v)
The value... |
Set by... |
Means... |
---|---|---|
B |
The user |
Open the input file, access the first record, and return it to the receiving field. |
S |
The user |
Close the input file. |
E |
CULLUS01 |
End-of-file and CULLUS01 has closed the file. |
Blank |
CULLUS01 |
Records were retrieved. |
Fifth—Test return values in type 7 logic.
Sixth—Define the external sequential file in the CULP2 step of the CA Culprit job control language (JCL):
System |
JCL statement |
---|---|
z/OS |
//US01 DD DSN=user.inputfil,UNIT=tape,DISP=OLD, VOL=SER=nnnnnn |
z/VM |
Tape input: FILEDEF US01 TAP01 SL (OPTIONS Disk input: FILEDEF US01 DISK fn ft fm (OPTIONS
|
Copyright © 2014 CA.
All rights reserved.
|
|