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 |
How to print data of sequential file to Spool..?
Explain about Internal Sort
I have 5 generations in my GDG. How do I code in the JCL to consider all the 5 versions of the GDG ?
what is a steplib
can we bowse or edit the GDG dataset if it is a tape entry?
IN MY JCL I VE 8 STEPS I WANT TO EXCUTE STEP 8 FIRST THEN EXCUTE STEP 4 ,HOW WILL EXCUTE STEP 8 BEFORE STEP 4?
7 Answers Cognizant, IBM, IGT,
I have DATE filed like DD-MM-YYYY, So I want output should be MM/DD/YYYY using JCL? Can anybody post the answer for above requirement?
4 Answers BirlaSoft, FIS, Wipro,
What type of versions we r using in mainframe (jcl, cobol, db2, vsam, cics)?
What does S0C4 error mean?
I have 2 steps in my exec statement , in first step I am creating a gdg, and the output of this step is going into second step as a input, and this second step is abended , now how could i approach in this case.
What is the purpose of the PARM keyword in the EXEC statement?
What is MOD and when would you use it?