Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Query on IEFBR14 with GDG

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
Ashishpanpaliya

New User


Joined: 13 Oct 2017
Posts: 29
Location: India

PostPosted: Tue Nov 07, 2017 8:34 pm    Post subject: Query on IEFBR14 with GDG
Reply with quote

Hi ,

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 ?

/
Code:
/YGSTP05  EXEC PGM=IEFBR14,                                                   
//             COND=(0,NE)                                                     
//DD01     DD  DSN=YG.G.PHR.PKDBLOAD.THORNE(+1),                               
//             DISP=(,CATLG),                                                   
//             SPACE=(TRK,(15,150)),                                           
//             DCB=(GDG.MODEL,DSORG=PS,RECFM=FB,BLKSIZE=0,LRECL=1000)
Back to top
View user's profile Send private message

enrico-sorichetti

Senior Member


Joined: 14 Mar 2007
Posts: 10543
Location: italy

PostPosted: Tue Nov 07, 2017 8:38 pm    Post subject: Reply to: Query on IEFBR14 with GDG
Reply with quote

Quote:
Occupation: Mainframe Designer
Mainframe Skills: COBOL, JCL, DB2

icon_question.gif
these questions make me wonder about the real skills of people
Back to top
View user's profile Send private message
Phrzby Phil

Active Member


Joined: 31 Oct 2006
Posts: 977
Location: Richmond, Virginia

PostPosted: Wed Nov 08, 2017 10:18 am    Post subject:
Reply with quote

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.
Back to top
View user's profile Send private message
steve-myers

Active Member


Joined: 30 Nov 2013
Posts: 682
Location: The Universe

PostPosted: Wed Nov 08, 2017 11:17 am    Post subject:
Reply with quote

DISP=(,CATLG)

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.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8747
Location: Welsh Wales

PostPosted: Mon Dec 04, 2017 7:58 pm    Post subject:
Reply with quote

Dare I ask why you are still using the Model DSCB method (GDG.MODEL) even non SMS managed datasets can use DATACLAS attribute allocations.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Query on secondary index Suja.Sai IMS DB/DC 1 Wed Oct 31, 2018 9:47 pm
No new posts Query regarding STOP REGION XX ABDU... ashek15 IMS DB/DC 11 Fri Oct 19, 2018 10:13 am
No new posts Facing issue while executing multi ro... aagarwal88 DB2 6 Tue Oct 02, 2018 8:11 am
No new posts DB2 SQL Query to fetch all instances ... MallikarjunSM DB2 2 Thu Sep 27, 2018 6:46 pm
No new posts Generate SQL query dynamically using ... vnktrrd DB2 7 Tue Aug 28, 2018 8:11 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us