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


Please Help Members By Posting Answers For Below Questions

How can the attributes of one sms dataset be copied to another dataset?

819


what are the various stages of job processing?

710


I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?

1317


What is the function of the steplib dd statement?

713


Can we call instream to catalog and catalog to instream?

649






I had Records in file Like this Company Code IBM 2 IBM 1 IBM 4 WIPRO 3 WIPRO 2 WIPRO 9 TCS 4 TCS 6 TCS 3 i want the record of every company with highest code How can i do that?

8586


A dd statement consists of 4 fields. Name them?

893


How does jcl act on a cobol code?

632


which parameter is use to declare the name of dataset in dd statement?

700


Can an individual step be restricted from using all the jobs allowed cpu time?

973


Where can program checkpoints be stored for use in a restart?

816


Can we use DISP=SHR in output file in JCL

905


How would you understand error(execution phase)?

602


in ways data can be passed to a COBOL program from JCL?

637


How does jcl specify the job to the operating system?

724