How I sort the records in a file and copy the first 10
records to another file
Answer Posted / girish kumar
just write like this
sysin dd *
sort fields=copy
stop after=10
/*
//
i tryed it's working
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Explain the purpose of dd dummy statement?
if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?
How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?
Mainframes gets a text file that contains the name of the file. Now using JCL i want to locate that file name in the mainframe system and perform further processing. Please tell how to proceed
what operation is performed by job statement?
what is the use of IEBGENER utility?
What are the 2 types of parameters in dd statement?
Explain the jcl exec statement?
In sms datasets, what is the function of the dd avgrec keyword?
which utility is used to sort a file in jcl?
How is the record format of an output dataset specified?
What do you understand by the term notcat 2 – gs?
Can I send output of job to my remote device careerride123?
what is the JCL statement consists of?
How to resolve the error "WER488A JOIN CAPACITY EXCEEDED" I am using SYNCSORT with JOINKEYS to compare 2 files. I am Getting error - > WER488A JOIN CAPACITY EXCEEDED There are 2 files to be compared with about 2 million records each. LRECL is 3665. Can somebody give a pointer as to how to resolve this problem? I am using SYNCSORT with JOINKEYS to compare 2 files. I am Getting error - > WER488A JOIN CAPACITY EXCEEDED There are 2 files to be compared with about 2 million records each. LRECL is 3665. Can somebody give a pointer as to how to resolve this problem?