//SYS010 DD DSN=user.inputfil,UNIT=tape,DISP=SHR, VOL=SER=nnnnnn, DCB=(RECFM=VBS,BFTEK=A,LRECL=256,BLKSIZE=3156) user.inputfil = data set name for primary input file tape = symbolic device name for tape file nnnnnn = volume serial number
Example
This sample code shows the COBOL source code and the CA Culprit INPUT parameter needed to read spanned input records in a z/VSE environment.
In the following code:
The modified COBOL source code:
. . . INPUT-OUTPUT SECTION. FILE-CONTROL. SELECT SPANNED-FILE ASSIGN TO SYS010-UT-3420-S. DATA DIVISION. FILE SECTION. FD SPANNED-FILE BLOCK CONTAINS 2000 CHARACTERS LABEL RECORD IS LABEL-RECORD RECORD CONTAINS 187 to 339 CHARACTERS RECORDING MODE IS S DATA RECORD IS SPANNED-RECORD. 01 LABEL-RECORD PIC X(80). 01 SPANNED-RECORD PIC X(339). . . .
The CA Culprit code:
Col 2 ▼ IN 339 V 2000 UM(CULSPAN)
Copyright © 2014 CA.
All rights reserved.
|
|