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

i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?

869


what is difference between cobol and cobol/400

21493


Name some of the examples of COBOl 11?

2659


Define static linking and dynamic linking.

636


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

675






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

603


What is the Purpose of POINTER Phrase in STRING command in COBOL?

693


please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?

1924


What do you understand by psb and acb?

633


What is the difference between structured cobol programming and object alternativelyiented cobol programming?

679


What are 77 levels used for?

635


What is the difference between comp and comp-3 usage?

650


what is the use of outrecord?

1748


Write a cobol program making use of the redefine clause.

701


How do we get current date from system with century in COBOL?

759