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 |
I have a job which is a long-running one. Processes millions of records. Due to some run-time problem (not a problem due to the job/data) the job abends.What needs to be done to make the job complete successfully.
Can we use empty VSAM as input?
I have a JCL with 100 steps. I want run the Alternate steps in the JCL ( Like 2 ,4,6,8 etc.. ). How can I acheive this scenario? If It is by Cond Parameter can you provide the Condition code for that?
5 Answers Polaris, Tech Mahindra, UST, Wipro,
I have a JCL with 10 steps, want to execute first 5 steps only, what are ways of doing it?is it possible to control through JOB card?
wht happens if blksize = 0 and lrec = 0 ?
Whats error code s222?
if we compile the cobol+ db2 program now ofter 5 years we need to compile again?
What happens if both JOBLIB and STEPLIB is specified ?
What is difference between Return Code, user completion code, Abend code and reason Code?
in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?
A job has 90 steps i want to execute only step7 and step15
What will happen if you attempt to restart a job in the middle of a JCL // IF .... // ENDIF?