i have 1000 records in input file and i want to sort it and
the first 200 records to be placed in output file. how to
do that??
Answer Posted / sudeep
I think the answer written by Kavya is not fully correct.It
will cause the sort to stop after first 200 records in the
input file are sorted.But we want the input file to be
sorted completely.and first 200 records to be placed in
output file.
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?
What does it mean by Restart and Checkpoint in JCL ? How are checkpoints being taken and what is their usage ? How to use Checkpoint macro on a JOBSTEP ?
What is the difference between run mode and addressing mode?
Suppose I have five jobs to do. But I want to hold one?
How gdg are concatenated?
What is one line to pass PARM from JCL to COBOL?
What is the function of the dd mgmtclas keyword in sms datasets?
What is the use of symbol // in jcl?
is there any way to execute more than one proc in the same exec statement at the same time..?
What is the function of a dd statement?
what is use of dcb parameter in dd statement?
How to submit jcl through a cobol program?
What are the jcl procedures?
Why include statement is used in a jcl?
What are hierarchy levels in jcl?