View previous topic :: View next topic
|
Author |
Message |
knilesh23
New User
Joined: 30 Mar 2009 Posts: 18 Location: Pune
|
|
|
|
Hi,
one more thing I would like to add
--> LISTCAT LVL('GDG.BASE')
above step works fine and returning RC=4 but in the later step when I am unable to use that RC=4 in the cond of next step because job is checking generations before processing and as GDG has no generation, so it is throughing JCL Eror.
Please suggest. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Is that your assumption just after looking at the message/s generated by the "JCL-syntax-checker-tool" at your shop? Or you actually SUBmitted the Job?
What COND have you used? |
|
Back to top |
|
|
knilesh23
New User
Joined: 30 Mar 2009 Posts: 18 Location: Pune
|
|
|
|
Anuj,
One thing I would like to ask,
when we gave any of the GDG base name LISTCAT LVL('XYZ)
and if I do have another gdg base name 'XYZ.BKP' present/catlg then above list cat command is reading both and because of that job is ending with maxx=00. |
|
Back to top |
|
|
knilesh23
New User
Joined: 30 Mar 2009 Posts: 18 Location: Pune
|
|
|
|
for above example below messages are getting
READY
LISTCAT LVL
GDG BASE -----
IN-CAT --
READY
END
and I created new GDG base not having bkp or same qualifing name (HLQ and other)
READY
LISTCAT LVL ('NEW.GDG.BASE')
ENTRY NEW.GDG.BASE NOT FOUND+
** VSAM CATALOG RETURN CODE IS 8
** NEW.GDG.BASE NOT LISTED
LASTCC=4
READY
END |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
knilesh23 wrote: |
Anuj,
One thing I would like to ask,
when we gave any of the GDG base name LISTCAT LVL('XYZ)
and if I do have another gdg base name 'XYZ.BKP' present/catlg then above list cat command is reading both and because of that job is ending with maxx=00. |
And you have a GDG base with 1 qualifier? |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Quote: |
One thing I would like to ask,
when we gave any of the GDG base name LISTCAT LVL('XYZ)
and if I do have another gdg base name 'XYZ.BKP' present/catlg then above list cat command is reading both and because of that job is ending with maxx=00. |
ah, I see - you pose this question, that means -- your previous question came in without submitting the Job actually, yeah?
IDCAMS is not "intutive". (I'll refer IDCAMS with "He", had it been "she", it could have been intutive... ). Said that, no what you assume/say is not correct. If programmer says to check about GDG Base "XYZ" using LISTCAT LVL('XYZ') -- IDCAMS look only for 'XYZ' -- nothing more nothing less! |
|
Back to top |
|
|
knilesh23
New User
Joined: 30 Mar 2009 Posts: 18 Location: Pune
|
|
|
|
yes Anuj,
It will check like that...
Thanks |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
You're welcome.
On the other hand, Peter has put forward a very valid point, hopefully you understand what he meant. |
|
Back to top |
|
|
|