FOR a GDG, the book by 'SABA ZAMEER' says 'We can NOT ALTER
the LIMIT parameter after it is defined'. (p-211).
But many persons have written that it can be changed, which
one is true ?
Answers were Sorted based on User's Feedback
Answer / rup
In generation program you would have given limit earlier as
limit(5) , You can change the limit by this way.
//SYSIN DD *
ALTER ****.***.** LIMIT(6) NOEMPTY SCRATCH
/*Now limit changes to 6
//
| Is This Answer Correct ? | 8 Yes | 0 No |
Answer / albert
It can be changed through JCL using ALTER statement
| Is This Answer Correct ? | 3 Yes | 1 No |
Answer / vinay sonar
I have personally tried using ALTER command
I dont remember exact syntax
//sysin dd*
alter pmap391.a1.gdg,limit=(5)
/*
It is possible
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / vira2z
plz tell me how it can change, give the istructions to cange
| Is This Answer Correct ? | 0 Yes | 0 No |
CAN ANYONE TELL ME WHAT IS "JOB-CARD"
i have a jcl in which 4 & 5 step creates a new generation. 4th step output is as input for the 6th step & 5th step output is used as input in the 7th step. How they are refered as in the 6th & 7th steps? If the job abends in 6th step then how the 5th step output is refered in 7th step?
I have two files each contains 10 records. I would like to copy both files into one output file but in alternate sequence. for e.g. first record from file1 then record 2 from file2.....
COND -> step1 . . step2, Step2, Executes if the CC of step1 is 0. But even if it is NOT 0 and if we dont give COND, will step2 be executed ?
How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.
what is alternate index?
How to submit jcl through a cobol program?
I've one sequential file, That file contains millians of Junk & CHAR recoreds example File 1 ,,,,,...,,,.....,.,.INFOSYS.....,,,,,,,,,,,WIPRO..........., ,...,..,. My questions is : I want omit the 44th posstion to 4 CHAR (WIPRO) remaining things I want output file (including Junk CHAR also)... How can we slove this problem & give me a syntax. Please provide the result as soon as possible.
Is condition checking possible in jcl?
how to see the latest generation in gdg?
Suppose your program is reading a Sequential Vsam file. The file contains 10 records. How will you code the JCL to read only 2nd, 5th, 7th,and 10th record?
how to compress the data set