i want to use only first 100 records from a file.plz tell
me how to write JCL for this(for read,copy,write
operations).plz give me details of all posible JCL
utilities?

Answer Posted / khbnaidu

Using SORT you can do this...

SORT FIELD=COPY, SKIPREC=200 (OR SOME MORE RECORDS),
STOPAFT=100

Is This Answer Correct ?    15 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Describe the cobol database components?

684


What is Pic 9v99 Indicates in COBOL?

733


How can we find that module can be called – whether DYNAMICALLY or STATICALLY?

714


How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

713


I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue

1934






IF I mention stop run in CICS what happens?

1898


What is the problem of ordered sequential files access?

706


What are the different open modes available in cobol?

722


which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad

1026


what are decleratives in cobol?

1831


Write a program to explain size error.

679


I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?

1809


What is inspect in cobol ?

806


What is the difference between external and global variables in COBOL?

817


Write some characteristics of cobol as means of business language.

624