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: 2434
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: 2434
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: 8089
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: 1535
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 Fileaid 2 commands instream work. In ... descann Compuware & Other Tools 2 Tue May 16, 2017 3:31 pm
No new posts find RACF group for access to spooled... jzhardy JCL & VSAM 1 Mon May 08, 2017 11:46 am
No new posts DSNACCOX (can it be run on 1 db/ts, t... SRICOBSAS DB2 5 Sat May 06, 2017 12:59 am
No new posts To find out size allocated to a seque... ashek15 JCL & VSAM 15 Thu Apr 27, 2017 9:42 am
No new posts LISTIDR compiled date/time jerryte IBM Tools 3 Thu Apr 20, 2017 7:37 pm


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