If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.
The STRSEU command is not distributed with the attributes needed for compilation in a CL program. That command builds temporary objects to hold its workspace, and it should be run in a program that ensures that the SEU workspace won’t be interfered with.
You can change the command with the CHGCMD command to change the “Where allowed to run (ALLOW)” attribute to include *IPGM if you need it compiled into a program.
You could also simply pass the command string that you want to the QCMDEXC API to run the command without compiling it. That’s probably much better than changing the command definition. The same considerations should be made for avoiding the workspace objects.
The STRSEU command is not distributed with the attributes needed for compilation in a CL program. That command builds temporary objects to hold its workspace, and it should be run in a program that ensures that the SEU workspace won’t be interfered with.
You can change the command with the CHGCMD command to change the “Where allowed to run (ALLOW)” attribute to include *IPGM if you need it compiled into a program.
You could also simply pass the command string that you want to the QCMDEXC API to run the command without compiling it. That’s probably much better than changing the command definition. The same considerations should be made for avoiding the workspace objects.
Tom
Thank you Tom.