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 to override loadlib?

1432


Differentiate between addressing mode and run mode.

615


how you can access an uncataloged dataset in a JCL?

656


If a (+1) generation dataset is created in the first step of a job, how can it be referenced in later steps of the same job for input?

794


What is jcl in mainframe, and how many types of jcl statements are there for a job?

633






how to do automated restart when a job abends?

854


In sms datasets, what is the function of the dd avgrec keyword?

658


How does jcl act on code(if you take a cobol program)?

713


What are steplib and joblib? What for they are used?

697


how to run batch program without jcl?

10093


What is the purpose of the dd keylen parameter?

728


Explain the function of a dd statement?

665


For what purpose steplib and joblib are used ?

690


Is automatic restart possible in jcl?

747


What are steplib and joblib?

725