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 can i execute 5th step without executing first 4 steps?

4 Answers  


Suppose I have seven jobs to do, but I want to hold one than how can I do this?

1 Answers  


1.How to check for the errors using TYPRUN=SCAN?What will be the output if we give TYPRUN=SCAN?

11 Answers  


Explain about RECORDING MODE Clause

1 Answers  


01 GROUP-ITEM 05 AMOUNT-1 PIC 99V9 USAGE COMP VALUE 50 05 AMOUNT-2 PIC 9(4)V99 USAGE COMP MOVE ZERO TO GROUP-ITEM ADD 50 TO AMOUNT-1 what will be the content of AMOUNT-1? a.50 b.100 c.0 d.unpredictable

1 Answers  






what is a cataloged procedure ?

1 Answers   Xansa,


A statement about PROCs is " In PROCs, Symbolic Parameters can be assigned on PROC and EXEC", BUT On which EXEC, (i) On the JCL's EXEC which is calling to PROC1. (Inside JCL, EXEC PROC1) (ii) or On the PROC's EXEC where it calls the PGM1. (Inside PROC, EXEC PGM=PGM1)

1 Answers   IBM,


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?

10 Answers   iGate,


Is Default for MSGCLASS = (1,1) ?

2 Answers   IBM,


How to resolve the error "WER488A JOIN CAPACITY EXCEEDED" I am using SYNCSORT with JOINKEYS to compare 2 files. I am Getting error - > WER488A JOIN CAPACITY EXCEEDED There are 2 files to be compared with about 2 million records each. LRECL is 3665. Can somebody give a pointer as to how to resolve this problem? I am using SYNCSORT with JOINKEYS to compare 2 files. I am Getting error - > WER488A JOIN CAPACITY EXCEEDED There are 2 files to be compared with about 2 million records each. LRECL is 3665. Can somebody give a pointer as to how to resolve this problem?

1 Answers  


Ques: How can we code COND parameter in a JCL so that only even steps (or only odd steps) get execute??

3 Answers   HSBC,


Can a temporary dataset be converted to permanent dataset and vice-versa in the middle of a job ?

4 Answers   IBM,


Categories