with out sorting how to copy records from one file to
another file using jcl.Mean I have one input file in which
the record are like 1,6,5,4,2,3(for example) and i want to
copy to output file from top to bottom(without sorting) like
3,2,4,5,6,1.so I want the JCL for this.cna any one can
answers?
Answer / ramesh
Please find below sort card for same
//SYSIN DD *
INREC FIELDS=(1:1,10,11:SEQNUM,8,ZD)
SORT FIELDS=(11,8,ZD,D)
OUTREC FIELDS=(1:1,10)
/*
Here we have data from 1 to 10 columns , i am generating
seqence number from column 11 in descending order , which
is not part of record layout .
After generating Seqence number digits will get reversed .
Is This Answer Correct ? | 19 Yes | 8 No |
how to concatenate datasets
What is COND=ONLY ?
What statement marks the beginning of an in-stream or cataloged procedure in jcl and assigns default values to parameters defined in the procedure?
what is the compile process of cobol program expalin with code
What do you understand by the term “keyword” with respect to jcl and what is the opposite of the term?
What are the jcl procedures?
hi guys what r the diff types of procs in jcl? bye ramya
4 Answers ACS, Keane India Ltd,
I have three files for one step i need to override the third file how to do that in jcl?
Explain how can the submitting users racf authority be overridden in a job stream?
What is the exact difference between PRTY and DPRTY
how to skip the steps in JCl
difference between internal sort and external sort