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
 
How to resend files based on Date/Time entered by User

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

New User


Joined: 09 Jun 2005
Posts: 3

PostPosted: Fri Jun 10, 2005 11:49 am    Post subject: How to resend files based on Date/Time entered by User
Reply with quote

Let's assume at present my files are in format <USERID.YYMMDD.HHMMSS> with YYMMDD - Date when the program last execusted and HHMMSS - Time of the last run.

If the user wants to resend all the files based on From date/time to a certain date/time, how to do that using a JCL i.e., a JCL which could be used to identify the file based on date and time entered by the user. Can it be done by passing parameters and if so how it can be done ?
Back to top
View user's profile Send private message

superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4650
Location: Raleigh, NC, USA

PostPosted: Fri Jun 10, 2005 8:16 pm    Post subject: Re: How to resend files based on Date/Time entered by User
Reply with quote

Well, you will of course need to use the LISTCAT function of IDCAMS to generate the list of all the datasets. Then, you will have to pass the dataset list through a program which can read the date/time ranges set by the users and identifiy which datasets in the list fall within the given range. From there, the program can generate the list of the subset of datasets that match the date/time range criteria.

From this point, it's not clear what you want to do next.
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
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
No new posts sort records based on length exceeds ... maxsubrat DFSORT/ICETOOL 7 Wed Oct 04, 2017 4:48 pm
No new posts User access certification In Mainfram... Virendra Shambharkar All Other Mainframe Topics 4 Tue Oct 03, 2017 12:32 pm
No new posts Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
No new posts VSAM RLS Wait time blayek JCL & VSAM 2 Mon Oct 02, 2017 9:05 pm

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