How do you find which GDG is using which dataset?
Answer Posted / stu
The question is confusing. A GDG (Generation Data Group)
consists of a base (no data, but defines the name, how many
generations of data files will be kept, etc.), and the
generations of data files.
The data files will all have the same file name except for
the last name node. Here are 3 generations of a GDG with
their actual file names.
xxx.xxxxx.xxxx.G000V01 alias=xxx.xxxxx.xxxx(-2)
xxx.xxxxx.xxxx.G000V02 alias=xxx.xxxxx.xxxx(-1)
xxx.xxxxx.xxxx.G000V03 alias=xxx.xxxxx.xxxx(0)
If another generation is created, G000V00, it becomes (0),
G000V03 becomes (-1), and so forth.
If the jcl cites xxx.xxxxx.xxxx by itself, it concatenates
all the existing generations in earliest to latest order.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
How jcl is used for testing batch programs?
What methodology can be adapted to transfer data to a program that is coded using the exec statement?
How can values be passed from the job stream to an executable program?
Hello Guys, I have 1+ Year Experience in MAINFRAME TESTING. After 1 Week I have an Interview With a Company on Mainframe Testing. Please Could You Guys Please Suggest me What Sections Should I prepare ?? ___Tell Me the Topic Or Appropriate Site & Links. ?? ---------------Thank You
I have mainpgm(abc) this is the only cobol pgm(non-db2).And this pgm calling subpgm name "acd" this also only cobol(non- Db)and this pgm calling some other subpgm this pgm has cobol-db2 pgm. 1) IF you calling static mode how to run and how to compile? 2) IF you calling dynamic mode how to run and how to compile? plz suggestion me.
How can a fb file convert to vb file using sort program?
What parameter directs the output of the job log dataset?
Is their any limit for data sets?
how can a gdg base be created in a jcl. What is the difference between empty and scratch parameter while defining/altering gdg base?
have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records... run a loop from record one to 10 evaluate i/3 if comes even then skip else write to output file
How to override a dsn that is contained in a proc called by another proc? I need to do the override in the calling jcl?
which utility is used to sort a file in jcl?
Is condition checking possible in jcl?
What is jcl in mainframe, and how many types of jcl statements are there for a job?
what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?