Hello guys, i am using C# to call a CL program that uses STRPCO, but i am getting an error that this command isn't allowed. Is there a workaround for this?
I have read about RUNRMTCMD, but i want the program to be called from a server so i don't know if i will have issues with the Incoming Remote Command feature due to security.
Basically what i am trying to do is to call the pc command RFROMPCB to transfer some data to the iseries from some text files that we get each month.
Docs say that STRPCO is allowed in the following situations:
* Interactive job (*INTERACT)
* Interactive program (*IPGM)
* Using QCMDEXEC, QCAEXEC, or QCAPCMD API (*EXEC)
I am calling the CL from the cwbx.dll. Maybe if i call a program instead, that does the qcmdexec instead?
I have read about RUNRMTCMD, but i want the program to be called from a server so i don't know if i will have issues with the Incoming Remote Command feature due to security.
Basically what i am trying to do is to call the pc command RFROMPCB to transfer some data to the iseries from some text files that we get each month.
Docs say that STRPCO is allowed in the following situations:
* Interactive job (*INTERACT)
* Interactive program (*IPGM)
* Using QCMDEXEC, QCAEXEC, or QCAPCMD API (*EXEC)
I am calling the CL from the cwbx.dll. Maybe if i call a program instead, that does the qcmdexec instead?
Comment