Hi,
I hve a cCL program that runs an MS .BAT file from the iSeries..
However, this won't work when submitted.
Is there an iSeries command that can execute that batch file in batch?
Would be a massive + if i could..
thanks
I hve a cCL program that runs an MS .BAT file from the iSeries..
Code:
0001.00 PGM 0002.00 STRPCO PCTA(*NO) 0003.00 MONMSG MSGID(CPF0000) 0004.00 0005.00 STRPCCMD PCCMD("\\bavdocs\ph\CR_Batch\reportbatch.bat") 0006.00 0007.00 ENDPGM
5761SS1 V6R1M0 080215 CL Program Dump BLBUKTST 22/01/15 11:00:01
Job name . . . . . . . . : QDFTJOBD User name . . . . . . . . : HUDSON Job number . . . . . . . :
Program name . . . . . . : RUNRPTS Library . . . . . . . . . : PHLIB Statement . . . . . . . . :
Messages
Message Message From To
Time ID Sev Type Text Program Inst Program
105950 CPD0031 30 DIAG Command STRPCCMD not al QCARULE 07ED RUNRPTS
lowed in this setting.
105950 CPF0001 30 ESC Error found on STRPCCMD QCADRV 05A5 RUNRPTS
command.
105950 CPF9999 40 ESC Function check. CPF0001 QMHUNMSG 0000 RUNRPTS
unmonitored by RUNRPTS
at statement 500, inst
ruction X'000C'.
Job name . . . . . . . . : QDFTJOBD User name . . . . . . . . : HUDSON Job number . . . . . . . :
Program name . . . . . . : RUNRPTS Library . . . . . . . . . : PHLIB Statement . . . . . . . . :
Messages
Message Message From To
Time ID Sev Type Text Program Inst Program
105950 CPD0031 30 DIAG Command STRPCCMD not al QCARULE 07ED RUNRPTS
lowed in this setting.
105950 CPF0001 30 ESC Error found on STRPCCMD QCADRV 05A5 RUNRPTS
command.
105950 CPF9999 40 ESC Function check. CPF0001 QMHUNMSG 0000 RUNRPTS
unmonitored by RUNRPTS
at statement 500, inst
ruction X'000C'.
Would be a massive + if i could..
thanks
Comment