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
No new posts Compare two PS files using ICE TOOL f... SENTHIL MURUGAAN DFSORT/ICETOOL 5 Sun Dec 24, 2017 1:26 pm
No new posts Compare VSAM files using DFSORT pshongal DFSORT/ICETOOL 5 Thu Nov 23, 2017 10:24 am
No new posts Fetching data from JHS as per the cur... arunsoods All Other Mainframe Topics 4 Wed Nov 22, 2017 1:54 pm
No new posts Date in where clause - Windows Karthikeyan Subbarayan DB2 9 Wed Nov 15, 2017 9:07 pm
No new posts Split files upto certain limit based ... bubbu75 DFSORT/ICETOOL 5 Tue Nov 14, 2017 11:11 pm

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