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
 

 

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: 4649
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
No new posts Split file based on comparsion to 2 f... Div Grad DFSORT/ICETOOL 3 Thu Jul 27, 2017 9:16 pm
No new posts How to add header with Date(YYMMDD) i... Rajan Moorthy DFSORT/ICETOOL 2 Thu Jul 06, 2017 11:44 pm
No new posts getting three output files out of JOI... migusd SYNCSORT 7 Mon Jun 05, 2017 11:30 pm
No new posts Job failing with USER = 4093 REASON C... Pradeepa S ABENDS & Debugging 1 Wed May 17, 2017 3:35 pm
No new posts Validate date and numeric fields and ... Rick Silvers DFSORT/ICETOOL 6 Thu May 11, 2017 6:51 pm


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