IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

GDG referback


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
krishnasoundararaj

New User


Joined: 08 Feb 2008
Posts: 1
Location: chennai

PostPosted: Wed Aug 12, 2009 4:22 pm
Reply with quote

Hi,
I used REFDD to referback the input relative GDG datasets. As per definition of REFDD it should model the SPACE characteristics, but i am getting a JCL error asking me to provide the SPACE parameter explicitly.
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Wed Aug 12, 2009 4:33 pm
Reply with quote

So where does it say in the manual that this will give you what you want.

Please post your code for us to peruse.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Wed Aug 12, 2009 4:51 pm
Reply with quote

The manual says
Quote:
Note: Do not use the REFDD parameter to copy attributes from a temporary data set (&&dsname), partitioned data set if a member name is included, and relative generation number for a GDG.
and yet you say
Quote:
I used REFDD to referback the input relative GDG datasets.
I wonder which one is correct? icon_smile.gif
Back to top
View user's profile Send private message
viveksurya

New User


Joined: 08 Jun 2009
Posts: 36
Location: Bangalore

PostPosted: Fri Aug 14, 2009 5:23 pm
Reply with quote

Hi Krishna,

Why dont you use the LIKE parameter then..? It will, perhaps, serve ur purpose. But u will need to give the complete GDG name (ex: LIKE=ABCD.PQRS.GXXXXVYY ). Can you please post ur code along with the error message which u r getting now..?
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Fri Aug 14, 2009 5:27 pm
Reply with quote

viveksurya: the o/p stated
Quote:
I used REFDD to referback the input relative GDG datasets.
and the manual specifically states
Quote:
Note: Do not use the LIKE parameter to copy attributes from a temporary data set (&&dsname), partitioned data set if a member name is included, and relative generation number for a GDG.
where I've added emphasis to both quotes. Have you tried using the LIKE on a relative GDG?
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Fri Aug 14, 2009 5:34 pm
Reply with quote

I guess the ideal way would be to use a specific DATACLAS in the SMS ACS routines for this particular GDS.

I am sure that coding space and DCB attributes in the JCL wouldn't kill the OP.

However, conspicuous by his absence - maybe it did icon_lol.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
This topic is locked: you cannot edit posts or make replies. IEF645I INVALID REFERBACK IN THE RC ... JCL & VSAM 4
No new posts Referback the DCB of SORTIN while usi... CLIST & REXX 7
No new posts COND referback in nested PROCS? JCL & VSAM 11
No new posts Referback sysout=* to MSGCLASS and th... JCL & VSAM 2
No new posts Is referback possible in temperory da... Mainframe Interview Questions 4
Search our Forums:

Back to Top