Answer Posted / shubhanshu sharma
//SORT01 DD DSN = PDS,
DISP = (NEW,CATALOG,DELETE),
DCB = (RECFM = F, LRECL = 80, BLKSIZE = 800),
UNIT = SYSDA,
VOL = WRKA97
SPACE = (CYL,(1,4),RLSE)
//SORTIN DD*
SORTFIELD = COPY,
SKIPREC = 100,
STOPREC = 80.
/*
SKIPREC means how many records we need to skip
STOPAFT means how many records we need to put in the
file.
| Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
what is use of space parameter in dd statement?
Explain how can a stopped job be started again?
what is the compile process of cobol program expalin with code
Explain the job statement in jcl?
what is the purpose of coding class parameter in job statement?
what is use of disp parameter in dd statement?
What are the parameter we cannot use in procedure?
What are steplib and joblib? What for they are used?
How to read and write a single record into a file. I would like to use it to enter a single 8-character piece of information and use it to put it into a variable for processing in JCL. Thank you
why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.
what is SOC4 error?
Explain the function of dd disp parameter?
how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?
which parameter is use to declare the name of dataset in dd statement?
what are JCLLIB and STEPLIB in JCL?