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

Name what parameter directs the output of the job log dataset?

557


We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?

1748


Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?

716


Can an individual step be restricted from using all the jobs allowed cpu time?

1005


Is automatic restart possible in jcl? If yes, how?

655






What is the function of //jcllib statement?

802


Explain the hierarchy levels in jcl?

1118


Can I share my data with other jobs? How?

665


a dd statement has 2 types of parameters. Name them?

645


What is multithreading in jcl?

938


What parameter directs the output of the job log dataset?

763


Explain dfsort utility?

667


Explain the purpose of the dd keylen parameter?

670


I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?

705


What is jcl in mainframe, and how many types of jcl statements are there for a job?

628