How to ALTER the name of a GDG ?

Answers were Sorted based on User's Feedback



How to ALTER the name of a GDG ?..

Answer / dedicated_programmer

Thanks Karthik,
But using,
ALTER -
GDG1(generation1) -
NEWNAME (GDG1(gen))
/*
will alter the name of the GDG member.
BUT IS THE BELOW ALSO CORRECT ? To change the name of the GDG.
ALTER -
GDG1 -
NEWNAME (GDG2)
/*

Is This Answer Correct ?    2 Yes 0 No

How to ALTER the name of a GDG ?..

Answer / karthik

Use the IDCAMS Utility and give Alter newname statement in
the control card
e.g(Alter newname(XXXXXXXX.XX.XXX)

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More JCL Interview Questions

how to compress the data set

8 Answers   Keane India Ltd,


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

0 Answers  


What parameter of the job statement is used to limit the cpu time consumed by the job?

0 Answers  


Name the system library from which modules are retrieved at execution

3 Answers  


what is the difference between JES3 and JES2?

0 Answers  






My requirement is : How to populate a empty PS/flat file with ONLY spaces in the first line. You should not use any input dataset to do this. I'm not sure whether you may use any utility for this purpose?

2 Answers   HCL,


What is the differentiation between TRK,cyl, and Bytes... how they can be connected??

2 Answers  


In a JCL if previous steps return code is greater than 0 or 4 then the next step will not execute. But the job will be successfull with the maximum return code. How can we reset this maximum return code to '0' regardless of return codes of any steps?

4 Answers  


can u explain gdg with example wht happens if we give limit,empty,noempty,scartch and no scartch

1 Answers   IBM,


How many positional parameters are there in job statement?

4 Answers  


what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?

0 Answers   IBM,


How to overide the symbol parameter in the jcl ?

3 Answers   UST,


Categories