View previous topic :: View next topic
|
Author |
Message |
Saradha Ramalingam
New User
Joined: 04 Jan 2007 Posts: 23 Location: Chennai
|
|
|
|
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 |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
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 |
|
|
Saradha Ramalingam
New User
Joined: 04 Jan 2007 Posts: 23 Location: Chennai
|
|
|
|
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 |
|
|
Aaru
Senior Member
Joined: 03 Jul 2007 Posts: 1287 Location: Chennai, India
|
|
|
|
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 |
|
|
Saradha Ramalingam
New User
Joined: 04 Jan 2007 Posts: 23 Location: Chennai
|
|
|
|
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 |
|
|
Aaru
Senior Member
Joined: 03 Jul 2007 Posts: 1287 Location: Chennai, India
|
|
|
|
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 |
|
|
Saradha Ramalingam
New User
Joined: 04 Jan 2007 Posts: 23 Location: Chennai
|
|
|
|
ok ...
Thank you.. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Just a little intrigued as to why the time of creation is so important. |
|
Back to top |
|
|
Aaru
Senior Member
Joined: 03 Jul 2007 Posts: 1287 Location: Chennai, India
|
|
|
|
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 |
|
|
Saradha Ramalingam
New User
Joined: 04 Jan 2007 Posts: 23 Location: Chennai
|
|
|
|
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 |
|
|
Saradha Ramalingam
New User
Joined: 04 Jan 2007 Posts: 23 Location: Chennai
|
|
|
|
The file will be coming from other system to my application so I cant know the run time... |
|
Back to top |
|
|
Aaru
Senior Member
Joined: 03 Jul 2007 Posts: 1287 Location: Chennai, India
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
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 |
|
|
|