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

1.give the details about WHEN OTHER. 2. how many form are available in evaluate.

1591


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

648


I have a File that has duplicate records. I need only those records that occur more than thrice.?

8521


Can we change the password using ALTER? anyone tried and changed?

1518


What is difference between static and dynamic call in cobol?

744






State the various causes of s0c1, s0c5 and s0c7.

639


Write the code implementing the perform … varying.

612


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

677


Explain how to differentiate call by context by comparing it to other calls?

660


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

603


What is link edit in cobol?

699


how can i see junk values in dclgen or in hostvariable of comp ?

2515


Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.

2026


Differentiate between structured cobol programming and object-oriented cobol programming.

644


Which is not true about evaluate statement

1526