This is the entry in a CL program. 0109 represents month and year. I want to automate that using a system date or some other source. How can I do that in CL? IF not,
RPG? How?
CPYF FROMFILE(#FILE/CHRG) +
TOFILE(#FILE/CHRG0109) MBROPT(*NONE) +
CRTFILE(*YES)
CPYF FROMFILE(#FILE/GLAU) +
TOFILE(#FILE/GLAU0109) MBROPT(*NONE) +
CRTFILE(*YES)
CPYF FROMFILE(#FILE/ACCT) +
TOFILE(#FILE/ACCT0109) MBROPT(*NONE) +
CRTFILE(*YES)
RPG? How?
CPYF FROMFILE(#FILE/CHRG) +
TOFILE(#FILE/CHRG0109) MBROPT(*NONE) +
CRTFILE(*YES)
CPYF FROMFILE(#FILE/GLAU) +
TOFILE(#FILE/GLAU0109) MBROPT(*NONE) +
CRTFILE(*YES)
CPYF FROMFILE(#FILE/ACCT) +
TOFILE(#FILE/ACCT0109) MBROPT(*NONE) +
CRTFILE(*YES)