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 generation Error: DATA SET RESERVATION UNSUCCESSFUL

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

New User


Joined: 28 Nov 2006
Posts: 69
Location: India

PostPosted: Fri Jan 05, 2007 11:18 am    Post subject: GDG generation Error: DATA SET RESERVATION UNSUCCESSFUL
Reply with quote

I have a problem
I allocated gdg base USERID.LEARN.GDG.BASE and copied a flat file to next generation usig simple sort

Code:

//STEP1    EXEC PGM=SORT                                 
//SORTIN   DD DSN=USERID.LEARN.INPUT,DISP=SHR           
//SORTOUT  DD DSN=USERID.LEARN.GDG.BASE(+1),             
//           DISP=(NEW,CATLG,DELETE),                   
//           UNIT=SYSDA,                                 
//           SPACE=(TRK,(1,2),RLSE),                     
//           DCB=(DSORG=PS,RECFM=FB,LRECL=80,BLKSIZE=800)
//SYSOUT   DD SYSOUT=*                                   
//SYSPRINT DD SYSOUT=*                                   
//SYSIN    DD *   
   SORT FIELDS=COPY
/*           


It generated -> USERID.LEARN.GDG.BASE.G0001V00
Then i manually copied the same to new version
(Option 3.3)
USERID.LEARN.GDG.BASE.G0001V01

For some reason i deleted the base and reallocated with same name.Till the point no problem .....

But when i use above jcl to add new generations to this base i am getting JCL Error :
SORTOUT - DATA SET RESERVATION UNSUCCESSFUL

I am not sure why this is not working. Anybody having any idea about what may be error ????
The gdg allocated with options - >

DEFINE GDG -
(NAME(USERID.LEARN.GDG.BASE) -
LIMIT(10) -
EMPTY -
SCRATCH)
Back to top
View user's profile Send private message

Selvamani

New User


Joined: 19 Dec 2006
Posts: 21
Location: California

PostPosted: Fri Jan 05, 2007 11:37 am    Post subject:
Reply with quote

I am thinking that you have to create next version with only USERID.LEARN.GDG.BASE(+1).
Since your dataset USERID.LEARN.GDG.BASE.G0001V01, I guess it gives this error. Try to create a dataset USERID.LEARN.GDG.BASE.G0001V00 or USERID.LEARN.GDG.BASE.G0002V00.

Correct me if I am wrong
Back to top
View user's profile Send private message
hsk

New User


Joined: 28 Nov 2006
Posts: 69
Location: India

PostPosted: Fri Jan 05, 2007 12:21 pm    Post subject:
Reply with quote

But that is what my requirement is. I have to creat new version and not generation. There is no problem if i increment generation.
What i am trying to see is what is the problem if i increment version of same generation.

e.g. i have 3 geneartions
USERID.LEARN.GDG.BASE.G0001V00
USERID.LEARN.GDG.BASE.G0002V00
USERID.LEARN.GDG.BASE.G0003V00

And in jcl i specify USERID.LEARN.GDG.BASE(0) it will pickup USERID.LEARN.GDG.BASE.G0003V00

Now suppose i have
USERID.LEARN.GDG.BASE.G0001V00
USERID.LEARN.GDG.BASE.G0002V00
USERID.LEARN.GDG.BASE.G0003V00
USERID.LEARN.GDG.BASE.G0003V01

in jcl i specify USERID.LEARN.GDG.BASE(0) it will pickup
USERID.LEARN.GDG.BASE.G0003V01
and
in jcl i specify USERID.LEARN.GDG.BASE(-1) it will pickup
USERID.LEARN.GDG.BASE.G0002V00


G0003V01 actually replaces G0003V00 in the GDG stack.

Am i correct ?
And more than that what is the meaning of this error
SORTOUT - DATA SET RESERVATION UNSUCCESSFUL


I think i has to do some thing with the CATLG entry of the gdg base i allocated previously.
I am trying to solve this problem.
What i did was
1.Creat Base
2.Creat generation(sort JCL)
3.Creat version(manual copy)
4.Delete all versions/generations and base
5.reallocate the base with same name
6.Creat generation(sort JCL)

At step 6 i am getting jcl error
SORTOUT - DATA SET RESERVATION UNSUCCESSFUL

And i want to know why?
If anybody can help
Back to top
View user's profile Send private message
UmeySan

Active Member


Joined: 22 Aug 2006
Posts: 755
Location: Germany

PostPosted: Fri Jan 05, 2007 2:47 pm    Post subject: Re: New generation / Version of GDG
Reply with quote

Hi !

Have a look over here, perhaps it's helpful:
http://www-1.ibm.com/support/docview.wss?uid=isg1OA01622

And also this is a must, chapter 3.10:
http://publibfp.boulder.ibm.com/cgi-bin/bookmgr/BOOKS/dgt2d430/CCONTENTS

Regards, UmeySan
Back to top
View user's profile Send private message
hsk

New User


Joined: 28 Nov 2006
Posts: 69
Location: India

PostPosted: Fri Jan 05, 2007 3:19 pm    Post subject:
Reply with quote

That helped a lot
Thanks.....
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 Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm
No new posts Need help with below DB2 error ashek15 DB2 3 Sat Mar 18, 2017 5:56 am
No new posts Append data from two files into a sin... Praveen04 DFSORT/ICETOOL 5 Thu Mar 16, 2017 7:29 pm
No new posts FINDREP Syntax Error seahawk789 DFSORT/ICETOOL 4 Thu Mar 09, 2017 10:11 pm
No new posts INVOKE WEBSERVICE error danik56 CICS 11 Thu Mar 09, 2017 11:52 am


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