Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

GDG referback

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: GDG referback
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: 8593
Location: Back in jolly old England

PostPosted: Wed Aug 12, 2009 4:33 pm    Post subject:
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: 7936
Location: Bellevue, IA

PostPosted: Wed Aug 12, 2009 4:51 pm    Post subject:
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    Post subject:
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: 7936
Location: Bellevue, IA

PostPosted: Fri Aug 14, 2009 5:27 pm    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Fri Aug 14, 2009 5:34 pm    Post subject:
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    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 IEF645I INVALID REFERBACK IN THE RC ... abdulrafi JCL & VSAM 2 Mon Aug 29, 2016 10:57 am
No new posts Referback the DCB of SORTIN while usi... venksiv CLIST & REXX 7 Tue Mar 15, 2016 5:47 pm
No new posts COND referback in nested PROCS? Claes Norreen JCL & VSAM 11 Thu May 15, 2014 6:34 pm
No new posts Referback sysout=* to MSGCLASS and th... Bill Dennis JCL & VSAM 2 Wed Oct 28, 2009 11:54 pm
No new posts Is referback possible in temperory da... Ketan Varhade Mainframe Interview Questions 4 Mon Sep 14, 2009 12:49 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us