Interactive command in CL

15 pts.
Tags:
AS/400 - CL Command
CL Commands
STRSEU
How to successfully compile a CL program that has an interactive command such as STRSEU?

Software/Hardware used:
AS/400
ASKED: April 13, 2011  2:13 PM
UPDATED: May 2, 2011  11:44 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.

You compile the program the same way you would compile any program.
You would just need to execute it interactively

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • TomLiotta
    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
    125,585 pointsBadges:
    report
  • Fmext001
    Thank you Tom.
    15 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following