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 / sivakumar sekharannair

The input records shown in the above message contained a
few records9total 10 records) also which was misset while
cut/copy

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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?

1620


List the different jcl statements that are not permitted in the procedures?

642


How can a jobs execution priority be modified?

799


Is there any command to check wether the ps file is in sorted order?

2436


What do we mean by 'Virtual storage' for a dataset and for a JOBSTEP ? What is the significance of the following statement for a programmer 'Virtual storage results in program addresses being independent of the addresses that actually exist in a computer' ?

1589






by using cond parameter maximum 8 cond can be coded in single cond means ?explain

979


Explain how can an in-stream dataset be terminated?

704


What is the use of disp parameter?

653


Which statement is used to identify the private libraries in job?

680


What parameter directs the output of the job log dataset?

769


what is use of dcb parameter in dd statement?

778


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 are the parameter we cannot use in procedure? How many instream we can write in single jcl?

585


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

10526


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?

7613