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
In sms datasets, what is the function of the dd avgrec keyword?
Brief description of inline procedure of jcl.
Is it possible to left uncode disp?
which parameter is use to declare the name of dataset in dd statement?
I want to join to input files and write the matching fields on to an output file but i dont want the output file a sorted one
How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.
What is the significance of addrspc parameter in the exec statement?
How to override a dsn that is contained in a proc called by another proc? I need to do the override in the calling jcl?
Can we call instream to catalog and catalog to instream?
What parameter of the job statement is used to limit the cpu time consumed by the job?
How do you submit a job for execution?
what are the types of abends that occur on job failure? And explain the possible causes of these
What is the syntax of JCL statement?
How do you access an uncatalogued dataset in a jcl?
Explain the job statement in jcl?