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
 

 

find creation date from relative GDG gen number

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

New User


Joined: 25 Aug 2009
Posts: 12
Location: india

PostPosted: Tue Apr 20, 2010 12:26 pm    Post subject: find creation date from relative GDG gen number
Reply with quote

Hi,
after looking at Getting File Creation Date I have questions.
Can we use relative generation with LISTCAT command in JCL as I am getting maxcc=12,if tried to use and out put is coming as:
LISTCAT LEVEL(XXXXXX.XXXXX204.N01(-240)) -

IDC3203I ITEM 'XXXXXX.XXXXX204.N01(' DOES NOT ADHERE TO RESTRICTIONS

ALL

IDC3202I ABOVE TEXT BYPASSED UNTIL NEXT COMMAND. CONDITION CODE IS 12

If it can be done,then please suggest required parameters.
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8055
Location: East Dubuque, Illinois, USA

PostPosted: Tue Apr 20, 2010 2:50 pm    Post subject:
Reply with quote

Doing a LISTCAT LEVEL, which data set name level is the (-240)? It is not part of the data set name, is it? Therefore, why did you think you could use it in a LISTCAT command?

And why are you replying to a topic inactive for almost a year?
Back to top
View user's profile Send private message
Satya06

New User


Joined: 25 Aug 2009
Posts: 12
Location: india

PostPosted: Tue Apr 20, 2010 3:01 pm    Post subject:
Reply with quote

Robert,
1. If I use absolute generation with LISTCAT command,its responding fine but as per requirement,I want to process with relative generation to enlist the dataset information.
I was not sure for required parameters for this So used entries and level parameters but result was same(I.e. maxcc=12) on both occurances.

Please help to get it done.

2. I searched for required place to put the question and got this a related topic so placed query here.
From next time, I will take care of timestamp of topic as well,but this time please help here only.
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: Tue Apr 20, 2010 3:07 pm    Post subject:
Reply with quote

Haven't you got the code for this from a previous thread ?
You should have because you thanked me for it.

What on earth is going on here icon_evil.gif
Back to top
View user's profile Send private message
Satya06

New User


Joined: 25 Aug 2009
Posts: 12
Location: india

PostPosted: Tue Apr 20, 2010 3:26 pm    Post subject:
Reply with quote

Hi Expat,
I am always thankful to you for your help.
But by posting the query here,I am trying to find creation date using LISTCAT by passing relative generation of GDG as its coming into my mind again & again that can we use LISTCAT command with relative generation also.If yes then what parameters need to pass?
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: Tue Apr 20, 2010 3:37 pm    Post subject:
Reply with quote

Er, NO, you can not use relative parameters in LISTCAT.

You can use the code posted earlier to get the absolute generation and then feed that through LISTCAT, but as you already have the creation date, why bother.
Back to top
View user's profile Send private message
Satya06

New User


Joined: 25 Aug 2009
Posts: 12
Location: india

PostPosted: Tue Apr 20, 2010 3:45 pm    Post subject:
Reply with quote

Thanks Expat for confirmation.
Now I can move ahead. icon_razz.gif
I'll work further as per your suggestion(I.e. File tailoring Services for Skelton JCL) on previous thread and keep posting the queries,if got any.

Thanks Robert for your quick response on query. icon_biggrin.gif
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 Validate date and numeric fields and ... Rick Silvers DFSORT/ICETOOL 6 Thu May 11, 2017 6:51 pm
No new posts find RACF group for access to spooled... jzhardy JCL & VSAM 1 Mon May 08, 2017 11:46 am
No new posts SMTP the current generation number of... Jyothi Kulunde JCL & VSAM 4 Thu May 04, 2017 4:08 pm
No new posts To find out size allocated to a seque... ashek15 JCL & VSAM 15 Thu Apr 27, 2017 9:42 am
No new posts LISTIDR compiled date/time jerryte IBM Tools 3 Thu Apr 20, 2017 7:37 pm


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