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 / selva

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

will skip first 200 records, the correct option is

SORT FIELD=COPY,STOPAFT=100

Is This Answer Correct ?    17 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the configuration section of a cobol program with examples of syntax.

660


how do you reference the variable block file formats from cobol programs

688


How do define dynamic array in cobol.

672


Why is it necessary that file needs to be opened in I-O mode for REWRITE?

748


Give some examples of command terminators?

759






What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?

676


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

678


How did the release of cobol/370 version 1.3 improve the performance of release 1.1?

645


how do you reference the esds vsam file formats from cobol programs

634


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

1846


How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?

710


HOw can I get the negative sign while deduct high value from low value

1791


Have you used comp and comp-3 in your project? And how?

2008


Write a cobol program making use of the redefine clause.

736


input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.

1783