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
 

 

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. Full Time COBOL Software Development ... shally Mainframe Jobs 0 Fri Jan 20, 2017 5:24 am
No new posts CICS transaction slow response time vasanthz All Other Mainframe Topics 2 Thu Jan 19, 2017 1:31 am
No new posts DD DUMMY & CPU TIME Nileshkul Testing & Performance analysis 16 Mon Dec 19, 2016 11:35 pm
This topic is locked: you cannot edit posts or make replies. Get a job submitted itself every time... arunsoods JCL & VSAM 3 Tue Nov 22, 2016 4:05 pm
No new posts FTP - JCL failed while passing FTP co... Suneetha1612 JCL & VSAM 12 Wed Nov 16, 2016 7:33 pm


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