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 dd statement has 2 types of parameters. Name them?

0 Answers  


hi friends........if u know syntax of IEBEDIT IN JCL

2 Answers  


What is 'S0C7' abend?

9 Answers  


Is it possible to left uncode disp? If yes, how?

0 Answers  


Suppose I have a file with three fields with data in the following format 1. empid - S9(4) COMP 2. empname - X(20) 3. empsal - S9(5)V(2) COMP-3 If I view this file, it will not be in a readable format. How to display the empid and empsal fields in a readable format without using COBOL program? What kind of SORT card will have to be coded?

4 Answers  






in a jcl, a large volume dataset is loaded to a table using bmcload in step1 and an image copy of the loaded table is taken using bmccopy in step2. Step2 abends because the image copy dataset cannot hold the volume of the table. How can this be rectified?

0 Answers   IBM,


My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.

0 Answers  


in ways data can be passed to a COBOL program from JCL?

0 Answers  


what's the significance of freespace(0 0) and freespace(100 100)

3 Answers  


What is the error/SOC code if dd names are not sysut1 and sysut2 in IEBGENER?

1 Answers   CTS,


How to read and write a single record into a file. I would like to use it to enter a single 8-character piece of information and use it to put it into a variable for processing in JCL. Thank you

0 Answers  


Name the statement which can be used to send data to another mvs jes3 node?

0 Answers  


Categories