View previous topic :: View next topic
|
Author |
Message |
MalathiViswa
New User
Joined: 13 Sep 2009 Posts: 2 Location: Chennai
|
|
|
|
Hi,
I have many GDG files. I need to check whether last GDG file is created for those files between mm/dd/yyyy and mm1/dd1/yyyy. In the output file i need to get all the input file with creation date. If the file was not created between those two dates,then it should say no file is created.
Eg:
Checking for the files created between 07/09/2009 and 11/09/2009
Input file:
AAA created on 09/09/2009
BBB created on 10/09/2009
CCC created on 03/03/2003
Output file:
AAA>>>09/09/2009
BBB>>>10/09/2009
CCC>>>Not created |
|
Back to top |
|
|
arvind.m
Active User
Joined: 28 Aug 2008 Posts: 205 Location: Hyderabad
|
|
|
|
Use LISTCAT and it requires some processing to pick the GDG file name and its creation date. I have implemented the same but using LISTCAT and a COBOL program.
You can also do it with sort. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Or look in SYS1.SAMPLIB for IGGCSIRX |
|
Back to top |
|
|
arvind.m
Active User
Joined: 28 Aug 2008 Posts: 205 Location: Hyderabad
|
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
SYS1.SAMPLIB is where the basic REXX code is stored, as shipped from IBM.
And you can click HERE to read the manual to see all of the fields that you can use in a report / action REXX. |
|
Back to top |
|
|
|