with thousands of records...................
1. i need to compare each record of "sdate" and "ddate".
2. if "sdate" < "ddate" ---no change required, file to reamain unchanged.
3. if " sdate > "ddate "-- , then "ddate " has to be replaced with 99999999 and update the file.
It has to be written through a JCL. Could anyone please suggest me the way along with the appropriate syntax. make use of any tool like ICETOOL / rexx also.
Joined: 23 Nov 2006 Posts: 19270 Location: Inside the Matrix
Were there any (qualified) records on the input file?
If you post CTL1 (as requested) and the informational messages from the execution, someone will be able to help.
When you post jcl and control statements, it is best to use the "Code" tag near the top of the reply panel. It makes the post much more readable. Notice the difference between what Frank posted and your last post.