I have one GDG.
Everyday One new version is being created.Now I want to
split this created version in different files each having
1000 records.
Here Problem is I don't know How many records will be there
in new version of GDG?
that's why I don't know How many Out files we need to use .
Interesting??????????????
Answer Posted / xx
Give your GDG base in the i/p DD name of SORt step. Use
SPLIT parameter in SORT to complete the task. When you use
GDG base all generation of that GDG will be considered.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.
Explain the function of job statement in jcl?
Can I share my data with other jobs? How?
Explain the function of dd name parameter with a 2 part structure; audit.report?
What is NOTCAT ?
what are the various stages of job processing?
How does jcl act on a cobol code?
How can return codes be tested before execution of a job step?
Must tape dataset definitions include vol=ser specifications?
How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?
how to compare two datasets without using superce because output is limited to 133 bytes
what is the use of JCL?
Give the syntax of job specifying jcl statement.
I want to join to input files and write the matching fields on to an output file but i dont want the output file a sorted one
Explain how can values be passed from the job stream to an executable program?