Hello, I'm trying to rename a file using a variable in the CPYTOIMPF command. I want to append the current date.
CPYTOIMPF FROMFILE(QTEMP/B1183) +
TOSTMF('tmp/B1183_&DATE.csv') +
MBROPT(*REPLACE) STMFCODPAG(*STDASCII) +...
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.