How to find in aparticular step how many versions a
paricular gdg base have?
Answers were Sorted based on User's Feedback
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 |
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 |
Answer / kavya
Use LISTC command in a IDCAMS step. It will list all the
generations.
Is This Answer Correct ? | 4 Yes | 0 No |
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 |
a jcl has 2 steps. How to code the jcl such that if step1 abends, then step2 runs. Else, job terminates with step1?
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 ?
How to find the length of variable length copybook using fileaid ??
I HAVE A VB BLOCK WHICH IS USED AS INPUT IN COBOL CONATINING SOME RECORDS CAN I CHANGE THE FILE FROM VB TO FB?
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.
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?
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?
How jcl is used for testing batch programs?
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.
How much space OS allocates when you create a PS or PDS?
what is use of space parameter in dd statement?