View previous topic :: View next topic
|
Author |
Message |
cmsmoon
New User
Joined: 17 Jun 2010 Posts: 75 Location: Chennai
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
cmsmoon
New User
Joined: 17 Jun 2010 Posts: 75 Location: Chennai
|
|
|
|
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 |
|
|
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2455 Location: Hampshire, UK
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
Akatsukami
Global Moderator
Joined: 03 Oct 2009 Posts: 1788 Location: Bloomington, IL
|
|
|
|
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:
- Learn the difference between JCL and control cards.
- If a JCL checker indicates that a control card is in error, assume until proven otherwise that it is wrong.
|
|
Back to top |
|
|
|