How to find in aparticular step how many versions a
paricular gdg base have?

Answers were Sorted based on User's Feedback



How to find in aparticular step how many versions a paricular gdg base have? ..

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

How to find in aparticular step how many versions a paricular gdg base have? ..

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

How to find in aparticular step how many versions a paricular gdg base have? ..

Answer / kavya

Use LISTC command in a IDCAMS step. It will list all the
generations.

Is This Answer Correct ?    4 Yes 0 No

How to find in aparticular step how many versions a paricular gdg base have? ..

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

Post New Answer

More JCL Interview Questions

How to print data of sequential file to Spool..?

2 Answers  


Explain about Internal Sort

1 Answers  


I have 5 generations in my GDG. How do I code in the JCL to consider all the 5 versions of the GDG ?

5 Answers   Xansa,


what is a steplib

4 Answers   CGI,


can we bowse or edit the GDG dataset if it is a tape entry?

4 Answers  






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)?

1 Answers   Accenture,


What does S0C4 error mean?

8 Answers  


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.

5 Answers   Bank Of America,


What is the purpose of the PARM keyword in the EXEC statement?

3 Answers  


What is MOD and when would you use it?

3 Answers  


Categories