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

Creation date of PS file


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Prasanya

New User


Joined: 04 Jun 2007
Posts: 34
Location: Chennai

PostPosted: Mon Feb 01, 2010 11:11 am
Reply with quote

Hi,
I need to check the creation date of a PS file on a daily basis for production support monitoring. Currently we are automating this along with some other validations. How do i get the creation date of a PS file through a job apart from getting julian date by using LISTCAT and then converting it.
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: Mon Feb 01, 2010 11:36 am
Reply with quote

Hello,

Why convert the date?

Can you not simply compare the create data against today's date (both Julian)?
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Mon Feb 01, 2010 1:32 pm
Reply with quote

Why on earth do you need to check creation dates of files ?
Back to top
View user's profile Send private message
Prasanya

New User


Joined: 04 Jun 2007
Posts: 34
Location: Chennai

PostPosted: Mon Feb 01, 2010 1:32 pm
Reply with quote

Thanks for your reply. But can you please tell me How do i do that?
Back to top
View user's profile Send private message
Prasanya

New User


Joined: 04 Jun 2007
Posts: 34
Location: Chennai

PostPosted: Mon Feb 01, 2010 1:33 pm
Reply with quote

Its for production support to ensure that the file is created within a particular time limit
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Mon Feb 01, 2010 1:35 pm
Reply with quote

And if it is an old file - what then ?
Back to top
View user's profile Send private message
Prasanya

New User


Joined: 04 Jun 2007
Posts: 34
Location: Chennai

PostPosted: Mon Feb 01, 2010 1:36 pm
Reply with quote

Then i need to send an error report
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Mon Feb 01, 2010 1:40 pm
Reply with quote

Unfortunately this to me sounds like another cobbled together hardly tested or thought out application.

But without understanding the application there is nothing that I or anyone else can suggest to make this task any easier.
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 Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Replacing 'YYMMDD' with date, varying... SYNCSORT 3
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
Search our Forums:

Back to Top