Page 1 of 1

EZACFSM1 utility - To modify date obtained

PostPosted: Sun May 01, 2011 11:24 pm
by ripperdon.91
Hi,
I worked on a simple code, to FTP a file to a destination server.

I used EZACFSM1 utility to obtain a current run date appended to the destination file.

For instance,
put FILENAME.SERVER.END FILENAME.DESTINATION.END.&LYYYMM

However, the requirement for this is changed as follows: We have to append the previous month's value and not current month's values.

Is it possible to do this with the same utility and without using Rexx?

Or do I necessarily have to use an alternate approach?

Re: EZACFSM1 - To modify date obtained

PostPosted: Mon May 02, 2011 3:17 am
by MrSpock
You'll need a program to perform the date calculation. A sort (DFSORT or Syncsort) might be a good option to use.