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 |
What is the purpose of dd?
What are the jcl procedures?
How to compare 2 files using File-Aid?
What is the difference between Sysin,Sysout,Sysdbout and Sysudump?
Why we us SYSTSIN DD with IKJEFT01 (TSO Utility) to execute a COBOL DB2 program? Why can't we use SYSIN DD?
I HAVE A VB BLOCK WHICH IS USED AS INPUT IN COBOL CONATINING SOME RECORDS CAN I CHANGE THE FILE FROM VB TO FB?
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?
which utility is used to sort a file in jcl?
Explain dd statement in jcl?
How do you access a file that had a disposition of KEEP?
List the various advantages of using jcl language?
How to execute 2nd and 4th steps among 5 steps in jcl proc?