Ashishpanpaliya New User Joined: 13 Oct 2017 Posts: 29 Location: India
I am doing some impact analysis and noticed below job step.
Just want to confirm if its just creating new empty GDG version or anything else ?
/YGSTP05 EXEC PGM=IEFBR14,
//DD01 DD DSN=YG.G.PHR.PKDBLOAD.THORNE(+1),
enrico-sorichetti Senior Member Joined: 14 Mar 2007 Posts: 10524 Location: italy
Mainframe Skills: COBOL, JCL, DB2
these questions make me wonder about the real skills of people
Phrzby Phil Active Member Joined: 31 Oct 2006 Posts: 975 Location: Richmond, Virginia
So what DID it do?
Also, lookup difference between generation and version. A search of the forum will find no less than, I estimate, one million clarifications.
Also, my personal preference (other experts may disagree) is to never use the DISP default. Others not as experts as the coder may not remember it, and a text search for NEW will miss it.
steve-myers Active Member Joined: 30 Nov 2013 Posts: 667 Location: The Universe
You are correct, though I must admit this is one not so obvious default that I, personally, use all the time.
On the other hand, just last week I wrote -
//SYSLMOD DD UNIT=SYSDA,SPACE=(TRK,(1,1,1)),DSN=&&GOSET(GO)
(2 defaults for DISP)
This was quite deliberate; it was done for a small experimental function that ran the Binder and then ran the program using the member name in the DD statement. Though I rather doubt anyone would be interested and I have no intent of publishing the function, it ran fine.
expat Global Moderator Joined: 14 Mar 2007 Posts: 8725 Location: Welsh Wales
Dare I ask why you are still using the Model DSCB method (GDG.MODEL) even non SMS managed datasets can use DATACLAS attribute allocations.
All times are GMT + 6 Hours