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

a jcl has 2 steps. How to code the jcl such that if step1 abends, then step2 runs. Else, job terminates with step1?

1 Answers   IBM,


What is Automatic Restart ? EXEC PGM = PROG1, RD = R (Is it the Restart of a JOBSTEP or Restarting the execution of the program?) Do we Restart it or it automatically Restarts executing again and again ? Then when it will finish executing ? or After Abending, when we submit it again, then it is Restarted from the Last successful Checkpoint ? If some JOBSTEP is abending, what is the benifit to Restart it, WILL IT NOT ABEND AGAIN if you don't change the LOGIC ?

1 Answers   IBM,


How to find the length of variable length copybook using fileaid ??

1 Answers   CSC,


I HAVE A VB BLOCK WHICH IS USED AS INPUT IN COBOL CONATINING SOME RECORDS CAN I CHANGE THE FILE FROM VB TO FB?

0 Answers  


I have a jcl which is using 2 data sets i want to override those data sets. how can i override the files within the JCL. Give me the syntax. Make sure that it is not calling any Proc.

1 Answers  






we define the array like this 01 array 02 veg occurs 10 times 03 days occurs 6 times 04 cost pic 9(5). but why don't we write it as 01 array 02 veg occurs 10 times 03 days occurs 6 time 04 cost pic 9(5). is there any error will occur ,what is it? and why don't 01,02,03 not contain picture clause? if we put pic in those is there any error will occur what is it will occur?

1 Answers   Fidelity,


A. Job Abended in STEP03. Now run job again to execute STEP03, STEP04 (STEP01,STEP02 should not execute again)

3 Answers   Cap Gemini, CSC, Xchanging,


What are the 2 types of parameters in dd statement?

0 Answers  


How jcl is used for testing batch programs?

0 Answers  


If I update one or more members in a pds in the step 1, how can I reach these new contents to be used in the step 2 of the same job? To start a new job via intrdr is not satisfactory, because I must solve this problem in one job.

2 Answers   IBM,


How much space OS allocates when you create a PS or PDS?

4 Answers  


what is use of space parameter in dd statement?

0 Answers   IBM,


Categories