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

to find time when the dataset got created


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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: 2481
Location: Netherlands, Amstelveen

PostPosted: Fri Jan 25, 2013 1:26 pm
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
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: 2481
Location: Netherlands, Amstelveen

PostPosted: Fri Jan 25, 2013 2:27 pm
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: 8697
Location: Dubuque, Iowa, USA

PostPosted: Fri Jan 25, 2013 4:47 pm
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
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

Global Moderator


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

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

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

Moderator Emeritus


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

PostPosted: Sat Jan 26, 2013 1:44 am
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 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 To find whether record count are true... DFSORT/ICETOOL 6
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
Search our Forums:

Back to Top