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

HOW TO INCREASETHE GDG LIMIT ,WHICH EXISTS GDG VERSION


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

New User


Joined: 17 Jun 2010
Posts: 75
Location: Chennai

PostPosted: Wed Dec 04, 2013 4:25 pm
Reply with quote

Hi All,

I am facing issue while alter the GDG limit ,which the GDG version exits.

The error was : IDCAMS: DATASET BASE NOT EMPTY XMMD01.XBBKCMI.GDG.BKUP.D04dec

Note:if the version not exists , we can increase the GDG limit
Code:

//XXXXXXXX JOB (XX,99,99,,RJE),'MMDCPS20',
//  MSGCLASS=V,MSGLEVEL=(1,1),REGION=4000K,
//  CLASS=P,NOTIFY=&SYSUID

//BLDG1    EXEC  PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
  ALTER XMMD01.XBBKCMI.GDG.BKUP.D04DEC LIMIT(5)
/*
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Wed Dec 04, 2013 4:36 pm
Reply with quote

The code works fine for me

What was the error messages id's that were given - did you look them up
Post a listcat of the GDG base

And remember that you really do mean GENERATIONS and not versions

Also learn to use the code tags
Code:
[code] ... your stuff here.. [/code]
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 Dec 04, 2013 5:11 pm
Reply with quote

I have used ALTER to change GDG limits many times (with AND without generations associated with the GDG base) -- so the problem is something at your site. You should contact your site support group for assistance.
Back to top
View user's profile Send private message
cmsmoon

New User


Joined: 17 Jun 2010
Posts: 75
Location: Chennai

PostPosted: Wed Dec 04, 2013 5:28 pm
Reply with quote

expat wrote:
The code works fine for me

What was the error messages id's that were given - did you look them up
Post a listcat of the GDG base

And remember that you really do mean GENERATIONS and not versions

Also learn to use the code tags
Code:
[code] ... your stuff here.. [/code]


Thanks for our reply.Acutally I put JCK and I got the above error.
Now i try to submit the job even i got jck error.But the jobs ran fine and GDG base Limited increased..
My confusion is why while i put JCK ,it shows JCL error?
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2455
Location: Hampshire, UK

PostPosted: Wed Dec 04, 2013 5:33 pm
Reply with quote

I do not know because you did not show the JCL or the error. However, JCL is a JCL checker and it needs to be bang up-to-date if you are to believe everything it says.
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Wed Dec 04, 2013 5:46 pm
Reply with quote

As Nic has said, these JCL scanners do need to be improved and maintained better.

Besides, call me old fashioned, but if you really do rely on a JCL scanner then perhaps you're in the wrong trade
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 Dec 04, 2013 6:13 pm
Reply with quote

Quote:
Thanks for our reply.Acutally I put JCK and I got the above error.
Now i try to submit the job even i got jck error.But the jobs ran fine and GDG base Limited increased..
My confusion is why while i put JCK ,it shows JCL error?
You have discovered, the hard way, that JCK does not handle all JCL -- so that should be a warning to you about the limitations of JCK.
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1788
Location: Bloomington, IL

PostPosted: Wed Dec 04, 2013 9:23 pm
Reply with quote

Robert Sample wrote:
You have discovered, the hard way, that JCK does not handle all JCL -- so that should be a warning to you about the limitations of JCK.

Actually, the "error" is not in the JCL, but in the IDCAMS control card. Therefore, Saravanan-kun:
  1. Learn the difference between JCL and control cards.
  2. If a JCL checker indicates that a control card is in error, assume until proven otherwise that it is wrong.
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
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
No new posts How to copy the -1 version of a membe... TSO/ISPF 4
No new posts Expand ISPF field up to a limit - is ... TSO/ISPF 9
No new posts Copying GDG version(all/few) from pro... CLIST & REXX 13
No new posts Rexx to list generations of GDGs and ... CLIST & REXX 3
Search our Forums:

Back to Top