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: 4648
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 Date and time format in CICS Chandru3183 CICS 2 Sat Mar 18, 2017 12:46 pm
No new posts Append data from two files into a sin... Praveen04 DFSORT/ICETOOL 5 Thu Mar 16, 2017 7:29 pm
No new posts JCL to Set Return code based on DB2 S... vinu78 DB2 17 Mon Mar 13, 2017 9:47 pm
No new posts How to get current date -1 and curren... murali.andaluri DFSORT/ICETOOL 3 Wed Mar 08, 2017 2:09 pm
No new posts IMS region inactive - User abend code... gthmrj IMS DB/DC 5 Tue Mar 07, 2017 12:29 pm


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