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
What is difference between static and dynamic call in cobol?
What is rmode(any) ?
How do u write test cases?
Why occurs cannot be used in 01 level in COBOL?
What is an in line perform? When would you use it? Anything else you wish to say about it.
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
A table has two indexes defined. Which one will be used by the SEARCH?
How to remove 2 duplicate records and copy only one using job control language?
how to convert the recors form vsam file to db2 table tru file aid
i want a program using by if, evaluate , string, unstring, perform, occurs?
What is the difference between binary search and sequential search?
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
how do you define single dimensional array and multidimensional array in your cobol?
Whats the difference between search & search ALL?