EZACFSM1 utility - To modify date obtained



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

EZACFSM1 utility - To modify date obtained

Postby ripperdon.91 » Sun May 01, 2011 11:24 pm

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?
ripperdon.91
 
Posts: 1
Joined: Sun May 01, 2011 11:12 pm
Has thanked: 0 time
Been thanked: 0 time

Re: EZACFSM1 - To modify date obtained

Postby MrSpock » Mon May 02, 2011 3:17 am

You'll need a program to perform the date calculation. A sort (DFSORT or Syncsort) might be a good option to use.
User avatar
MrSpock
Global moderator
 
Posts: 807
Joined: Wed Jun 06, 2007 9:37 pm
Location: Raleigh NC USA
Has thanked: 0 time
Been thanked: 4 times


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post