We have a home grown command to duplicate spool files (DUPSPLF). In one of our other programs that executes DUPSPLF, it has the SPLF hardcoded, e.g. DUPSPLF QSYSPRT JOB(*) SPLNBR(2). This works fine for jobs that are submitted to batch but we have one program that executes interactively several time a day. So, there may be several QSYSPRT spool files that are not always the 2nd spool file. The CPP uses the CPYSPLF command. I am wondering if modifying the CPP to use the CRTDATE(*LAST) option of CPYSPLF instead of specifying the SPLNBR keyword would work for this.
Announcement
Collapse
No announcement yet.
Cpysplf crtdate(*last)
Collapse
X
Comment