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
 

 

HOW TO INCREASETHE GDG LIMIT ,WHICH EXISTS GDG VERSION

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

New User


Joined: 17 Jun 2010
Posts: 72
Location: Chennai

PostPosted: Wed Dec 04, 2013 4:25 pm    Post subject: HOW TO INCREASETHE GDG LIMIT ,WHICH EXISTS GDG VERSION
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: 8593
Location: Back in jolly old England

PostPosted: Wed Dec 04, 2013 4:36 pm    Post subject:
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: 7913
Location: Bellevue, IA

PostPosted: Wed Dec 04, 2013 5:11 pm    Post subject:
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: 72
Location: Chennai

PostPosted: Wed Dec 04, 2013 5:28 pm    Post subject:
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: 1715
Location: UK

PostPosted: Wed Dec 04, 2013 5:33 pm    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Wed Dec 04, 2013 5:46 pm    Post subject:
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: 7913
Location: Bellevue, IA

PostPosted: Wed Dec 04, 2013 6:13 pm    Post subject:
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: 1738
Location: Bloomington, IL

PostPosted: Wed Dec 04, 2013 9:23 pm    Post subject:
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    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 Limit duplicate records in the SORT pshongal SYNCSORT 6 Mon Nov 21, 2016 12:54 pm
No new posts COBOL Version 6.1 Virendra Shambharkar COBOL Programming 5 Tue Nov 01, 2016 11:24 am
No new posts Is there a time Version of DATEDIFF ? Bill Woodger DFSORT/ICETOOL 1 Wed Aug 17, 2016 7:06 pm
No new posts Syncsort version supporting FINDREP c... juares castro SYNCSORT 9 Tue Aug 09, 2016 6:54 pm
No new posts Faccing issues while creating a GDG V... sravindra_s JCL & VSAM 5 Thu Jun 23, 2016 11:26 am


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