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


Please Help Members By Posting Answers For Below Questions

what is JCL?

698


What do you know about jcl?

651


Suppose I have five jobs to do. But I want to hold one?

662


How do you submit a job for execution?

640


What is multithreading in jcl?

944






what is SOC4 error?

740


My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.

1990


What is the function of job statement in jcl?

638


Can we call instream to catalog and catalog to instream?

685


Where can program checkpoints be stored for use in a restart?

851


can any one plzzzzzz tell the jcl code for creating ps using idcams

10527


Differentiate between addressing mode and run mode.

615


Explain the hierarchy levels in jcl?

1120


in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?

2069


How do you overcome this limitation ?

700