How to find in aparticular step how many versions a
paricular gdg base have?
Answers were Sorted based on User's Feedback
Answer / mahesh
Hi,
thru file-aid , we can know , how many active generations
are there & how many limits can be retained
| Is This Answer Correct ? | 9 Yes | 1 No |
Answer / santy
Yes,
With help of File-aid we can know , how many active
generations are there & how many limits can be retained by
GDG file.
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / kavya
Use LISTC command in a IDCAMS step. It will list all the
generations.
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / kalone
Just adding syntax for Kavya's answer :
//step1 dd pgm=idcams
//sysprint dd sysout=*
//sysin dd *
LISTCAT ENTRIES(Filename) ALL
/*
The log will have all the enteries along with the number of
GDGs.
| Is This Answer Correct ? | 3 Yes | 1 No |
THERE IS ONE STEP AS BELOW: //STEPJS060 EXEC PGM=XYX, COND=((200,EQ,JS010),(0,NE,JS020.C),EVEN) COULD ANY ONE EXPLAIN HOW COND PARAMETER WORKS HERE? I AM CONFUSED BECOZ OF "EVEN".
What does a disposition of (NEW,CATLG,DELETE) mean?
How is a new GDG coded?
Which statement is used to identify the private libraries in job?
how to convert a file form fixed Length to variable length?
how to purge 50 initiators continuously?? console commands??
If a JOBSTEP abends, AND without using COND also, all the subsequent steps execute, then what is the use of using EVEN ? Why do we use EVEN when without it also all the JOBSTEPs execute ?
How to send different PARM values based on the any condition to the program in a JCL? For example :- If the time is before 12:00 pm, I want to send "A" to some program and if it past 12:00 pm , I want to send "B" as a PARM value to that program. How to do it thur JCL only?
how many types of sorts are there in jcl?
what is use of dsn parameter in dd statement?
What do you understand by the term “keyword” with respect to jcl and what is the opposite of the term?
how to code instream data in procedure?