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 find time when the dataset got created

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

New User


Joined: 01 Jun 2010
Posts: 43
Location: India

PostPosted: Fri Jan 25, 2013 1:14 pm    Post subject: to find time when the dataset got created
Reply with quote

Hi,

I have ran the certain jobs 7 month ago, and now i want to run some other log jobs based on the time and date of the jobs that were ran 7 months ago.

I have date with me but i did not noted down the time when jobs got executed and also there are no job details present in spool now.

Please educate me on how will i find out the time when jobs were executed 7 moths ago or the time when i created the datasets at that time.
Back to top
View user's profile Send private message

PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2422
Location: Netherlands, Amstelveen

PostPosted: Fri Jan 25, 2013 1:26 pm    Post subject:
Reply with quote

It all depends on how long job logs and/or SMF data are archived.
Back to top
View user's profile Send private message
Vidya Kajale

New User


Joined: 01 Jun 2010
Posts: 43
Location: India

PostPosted: Fri Jan 25, 2013 2:09 pm    Post subject:
Reply with quote

Hi,
Is there any other method to find out from the output datasets that are been created at that time, as job logs have been deleted from spool.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2422
Location: Netherlands, Amstelveen

PostPosted: Fri Jan 25, 2013 2:27 pm    Post subject:
Reply with quote

What was it you didnt understand about archiving for a certain period of job/sys/scheduler logs and or SMF?
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7910
Location: Bellevue, IA

PostPosted: Fri Jan 25, 2013 4:47 pm    Post subject:
Reply with quote

Quote:
Please educate me on how will i find out the time when jobs were executed 7 moths ago or the time when i created the datasets at that time.
If your site archives job logs, and the archive goes back to what you need, you can use that.

If your site records SMF data, you can access the SMF data to find the create times. This may require some reading of SMF records, which can be tedious. Since application programmers rarely have access to SMF data, you would need the assistance of your site support gorup.

If your site doesn't have archived job logs, and you cannot get access to the SMF data for the dates your jobs ran, then the simple answer to your question is that what you want to know is not available -- period.
Back to top
View user's profile Send private message
Gary McDowell

Active User


Joined: 15 Oct 2012
Posts: 139
Location: USA

PostPosted: Sat Jan 26, 2013 1:20 am    Post subject:
Reply with quote

In the shop I am in now it's STATS in 3.4 that will give date and time. Maybe this command is in your shop ?

Code:
Command - Enter "/" to select action   
---------------------------------------
stats    PROD.XXXXXXXX.XXXXXXXX
Back to top
View user's profile Send private message
Pandora-Box

Moderator


Joined: 07 Sep 2006
Posts: 1529
Location: Andromeda Galaxy

PostPosted: Sat Jan 26, 2013 1:41 am    Post subject:
Reply with quote

Why not use Rexx to get the created date?
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Sat Jan 26, 2013 1:44 am    Post subject:
Reply with quote

Hello,

This is likely a site-specific option.

When i enter "stats", COMMAND STATS NOT FOUND is returned.
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 How to find the first monday of the w... abdulrafi COBOL Programming 10 Fri Nov 25, 2016 3:24 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
No new posts Check System time(Minute) Using TIME1... balaji81_k DFSORT/ICETOOL 5 Fri Nov 11, 2016 10:53 am
This topic is locked: you cannot edit posts or make replies. Get correct date and time when curren... balaji81_k DB2 24 Fri Oct 14, 2016 10:40 pm


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