Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
To get the creation time of the dataset other than by SMF

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: To get the creation time of the dataset other than by SMF
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: 1439
Location: Bangalore,India

PostPosted: Fri Nov 16, 2007 11:12 am    Post subject:
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    Post subject: Reply to: To get the creation time of the dataset other than
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: 1288
Location: Chennai, India

PostPosted: Fri Nov 16, 2007 11:40 am    Post subject: Reply to: To get the creation time of the dataset other than
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    Post subject: Reply to: To get the creation time of the dataset other than
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: 1288
Location: Chennai, India

PostPosted: Fri Nov 16, 2007 12:02 pm    Post subject: Reply to: To get the creation time of the dataset other than
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    Post subject: Reply to: To get the creation time of the dataset other than
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: 8593
Location: Back in jolly old England

PostPosted: Fri Nov 16, 2007 1:17 pm    Post subject:
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: 1288
Location: Chennai, India

PostPosted: Fri Nov 16, 2007 3:25 pm    Post subject: Reply to: To get the creation time of the dataset other than
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    Post subject: Reply to: To get the creation time of the dataset other than
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    Post subject: Reply to: To get the creation time of the dataset other than
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: 1288
Location: Chennai, India

PostPosted: Fri Nov 16, 2007 4:22 pm    Post subject: Reply to: To get the creation time of the dataset other than
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: 8593
Location: Back in jolly old England

PostPosted: Fri Nov 16, 2007 6:01 pm    Post subject:
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    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
This topic is locked: you cannot edit posts or make replies. 00D3003B - time outs in DB2 when invo... chavinash2004 DB2 2 Mon Oct 09, 2017 4:39 pm
No new posts Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
No new posts VSAM RLS Wait time blayek JCL & VSAM 2 Mon Oct 02, 2017 9:05 pm
No new posts Comparing 2 Files using Current time arunsoods SYNCSORT 9 Fri Sep 22, 2017 6:00 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us