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 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: 2445
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: 2445
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: 8200
Location: East Dubuque, Illinois, USA

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: 1544
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 File Tailoring -- Temporary dataset i... samzee71 CLIST & REXX 3 Fri Dec 01, 2017 3:12 am
No new posts Comparision with current time arunsoods DFSORT/ICETOOL 5 Thu Nov 09, 2017 10:37 am
This topic is locked: you cannot edit posts or make replies. Comparing current time with the time ... arunsoods SYNCSORT 1 Mon Oct 30, 2017 4:07 pm
This topic is locked: you cannot edit posts or make replies. Incrementing current time field by 30... arunsoods DFSORT/ICETOOL 11 Thu Oct 26, 2017 3:22 pm
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

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