I have a program written in Easytrieve that has a Date Field set us as a Packed Field with 4 characters. This field is called ISS-DT and is written like this:
ISS-DT 25 4 P
How would you write an IF Statement that will pull records from 010104 to 033104?
assuming that the date has been stored in yymmdd format:
ws-temp-date = iss-dt
if ws-temp-date > 040100 and ws-temp-date < 040332
put output file from input file
go to job
else
go to job.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.