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
 
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: 757
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 3270 Data stream error Benchwarmer CICS 4 Tue Apr 17, 2018 12:06 am
No new posts How to list data set names with diffe... murali.andaluri CLIST & REXX 8 Thu Apr 12, 2018 11:33 pm
No new posts VSAM file NOT Found error while proce... SumaReva CICS 5 Wed Apr 11, 2018 9:54 pm
No new posts Invalid XML character while producing... nikhil.bhole IBM Tools 4 Tue Mar 20, 2018 1:24 am
No new posts Get the list of data sets on DASD and... rakaitn JCL & VSAM 3 Thu Mar 08, 2018 12:38 pm

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