How to ALTER the name of a GDG ?
Answers were Sorted based on User's Feedback
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 |
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 |
i have five step in jcl.my forth step is gdg.gdg was abend.when will job complete,hoe to handle you
How to test thru JCL if any file(PS or VSAM) is empty or not. I do not want to use any COBOL prog or Ezytrieve and want to do using utility.
There are two steps in a JCl, the first one generates a report while the second step send an email saying the report has been generated, but the second steps should only be executed when the report file is non-empty. How can it be acheived. We may include steps in between.
My JOB contains three steps. //STEP1 EXEC PGM=ABC //STEP2 EXEC PGM=DEF //STEP3 EXEC PGM=GHI My Question is 1) I want to execute second step only. How will do. 2) Soppose U consider above three steps are in PROC steps and I want execute the PROC second step only? How to execute the second step only. During exection time its creating any ABEND? Please let me know..........
diff bw SB37,SD37,SE37 ?( bcz these 3 belongs Space related abends only)
restart logic ?
I have a JCL which 20 steps. How do I execute 17 th step alone (It should execute only 17ths tep.and it should not execute 18,19,20 steps??
9 Answers IBM, Infosys, TCS, Xansa, Xchanging,
What is DISP= (NEW,PASS,DELETE)?
what is the general use of PARM? Give an explanation about the system defined parameters that could be passed through this PARM like XREF,LIST,LET,APOST,RENT etc..
what do you mean By spooling? Expand SPOOL?
how to edit a tape dataset ? asked in wipro
My JCL have five steps & I created new versions of GDG in first step through fourth step & fifth step I was refered Step one GDG version. My JCL got abend at 4th step and how I can restart my JCL Please let me know the answers. //STEP1 EXEC GDG1(+1) DISP=(NEW) //STEP2 EXEC GDG1(+2) DISP=(NEW) //STEP3 EXEC GDG1(+3) DISP=(NEW) //STEP4 EXEC GDG1(+4) DISP=(NEW) //STEP5 EXEC GDG1(+1) DISP=(OLD)
11 Answers HCL, IBM, L&T, TCS,