Hi All,
A batch program calls a particular command in a CLP. However, on executing the command, the error ' Command not allowed in this setting' appears and the job fails.
On checking the command (WRKCMD), I could find that the command has been defined with MODE (*PROD, *DEBUG, *SERVICE). But, the ALLOW setting is made with *IPGM only. Is this the reason, why the batch job is not able to use the command ? What should be the ideal value of ALLOW for this command, so that it can run in batch jobs ?
Please advise.
A batch program calls a particular command in a CLP. However, on executing the command, the error ' Command not allowed in this setting' appears and the job fails.
On checking the command (WRKCMD), I could find that the command has been defined with MODE (*PROD, *DEBUG, *SERVICE). But, the ALLOW setting is made with *IPGM only. Is this the reason, why the batch job is not able to use the command ? What should be the ideal value of ALLOW for this command, so that it can run in batch jobs ?
Please advise.





Comment