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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of dd dummy statement?

1044


How to alter the parameters for the existing gdg?

799


Where can program checkpoints be stored for use in a restart?

978


Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?

774


How jcl work to handle various input output file operations?

744






how can you check if a file is empty using jcl?

909


How do you submit a job for execution?

719


I have a COBOL program that ACCEPTs some input data. How do you code the JCL statement for this?

803


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

738


Is condition checking possible in jcl? If yes, how?

843


What does it mean by Restart and Checkpoint in JCL ? How are checkpoints being taken and what is their usage ? How to use Checkpoint macro on a JOBSTEP ?

9352


what is use of disp parameter in dd statement?

740


what is SOC4 error?

826


what is a jcl?

772


Is it possible to code instream data in a PROC?

855