Anand_Kannan
New User
Joined: 09 Jun 2005 Posts: 3
|
|
|
|
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 ? |
|
superk
Moderator Team Head
Joined: 26 Apr 2004 Posts: 3316 Location: Charlotte,NC USA
|
|
|
|
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. |
|