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

To get the creation time of the dataset other than by SMF


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

New User


Joined: 04 Jan 2007
Posts: 23
Location: Chennai

PostPosted: Fri Nov 16, 2007 9:26 am
Reply with quote

Hi
Can you just tell me is there any way to get the creation time of the GDG other than using SMF records. Because I am not having access to SMF records.

Thanks,
Paulmathi
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Fri Nov 16, 2007 11:12 am
Reply with quote

Saradha,

Quote:
creation time of the GDG other than using SMF records

Are you interested in GDG base or generation? If it is gen, the procedure is same as flat files or you can use 'listcat'.

Quote:
Because I am not having access to SMF records.

As a application programmer you wont get this access.
Back to top
View user's profile Send private message
Saradha Ramalingam

New User


Joined: 04 Jan 2007
Posts: 23
Location: Chennai

PostPosted: Fri Nov 16, 2007 11:33 am
Reply with quote

Hi

I want the generation creation time only..I tried the following command..

TSO LISTCAT ENTRY('GEN NAME') ALL

I got many info and creation date but not the time..

Is this the command you have mentioned, If not can you provide me that?
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1287
Location: Chennai, India

PostPosted: Fri Nov 16, 2007 11:40 am
Reply with quote

saradha,

Quote:
I got many info and creation date but not the time..


Yes, creation time cannot be obtained using the commands. Even LISTDSI of REXX gives only the creation date and not time.

Check this similar topic.

http://ibmmainframes.com/viewtopic.php?t=25171
Back to top
View user's profile Send private message
Saradha Ramalingam

New User


Joined: 04 Jan 2007
Posts: 23
Location: Chennai

PostPosted: Fri Nov 16, 2007 11:49 am
Reply with quote

Yeah I have checked that..I need the details for the batch program.So the only option is SMF to get the creation time?
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1287
Location: Chennai, India

PostPosted: Fri Nov 16, 2007 12:02 pm
Reply with quote

saradha,

Quote:
So the only option is SMF to get the creation time?


Yes, Better get in touch with your storage people for the creation date.
Back to top
View user's profile Send private message
Saradha Ramalingam

New User


Joined: 04 Jan 2007
Posts: 23
Location: Chennai

PostPosted: Fri Nov 16, 2007 12:12 pm
Reply with quote

ok icon_sad.gif ...

Thank you..
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Fri Nov 16, 2007 1:17 pm
Reply with quote

Just a little intrigued as to why the time of creation is so important.
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1287
Location: Chennai, India

PostPosted: Fri Nov 16, 2007 3:25 pm
Reply with quote

expat,

Quote:
Just a little intrigued as to why the time of creation is so important.


Even am intersted in knowing this. To know the approximate time, why shouldn't we refer to the job that created the dataset. Just a thought.
Back to top
View user's profile Send private message
Saradha Ramalingam

New User


Joined: 04 Jan 2007
Posts: 23
Location: Chennai

PostPosted: Fri Nov 16, 2007 3:38 pm
Reply with quote

While processing the files I have to know the time when it get created so that if it has come only just few secs before to my system I have to wait for some more time for processing it.Otherwise I have to take care of the dataset immediately. Can you get my point???????
Back to top
View user's profile Send private message
Saradha Ramalingam

New User


Joined: 04 Jan 2007
Posts: 23
Location: Chennai

PostPosted: Fri Nov 16, 2007 3:40 pm
Reply with quote

The file will be coming from other system to my application so I cant know the run time...
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1287
Location: Chennai, India

PostPosted: Fri Nov 16, 2007 4:22 pm
Reply with quote

saradha,

Quote:
so that if it has come only just few secs before to my system I have to wait for some more time for processing it.


Why do you want to wait to process the file when it is available. If it is available in your system , then you can access it as it would have been catalogued as soon as it made available.
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Fri Nov 16, 2007 6:01 pm
Reply with quote

Can your scheduling package not deal with an incoming dataset ?

As soon as it is catalogued, the scheduler register this (via SMF usuallY and then submit the appropriate job. However it is not sound practice to use GDGs as a trigger. If the file is sent from another site, then you will need to talk with them to arrange a different dataset.

What do I usually do - When the dataset is catalogued a job is submitted. The first step crates the GDG version and deletes the original inbound dataset, and then processes the latest GDG version.
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 FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts To get the the current time DFSORT/ICETOOL 13
No new posts RC query -Time column CA Products 3
No new posts Allocated cylinders of a dataset DB2 12
Search our Forums:

Back to Top