David,

QCAPCMD will do that for you nicely.

http://www.ibm.com/support/knowledgecenter/ssw_ibm_i_73/apis/qcapcmd.htm

-mark

On 10/7/2016 9:00 AM, David Gibbs wrote:
Folks:

Does anyone know if there is an API that I can send a user entered command and get it back reformatted the way the system would as if it were prompted (without prompting)?

I know I can use the QCMDCHK api to prompt a command without executing it and get it back formatted ... I want to do the same thing but without prompting it.

Even though the command string field in the QCMDCHK api is input/output, unless the command is prompted, the command that gets checked comes back the same way it was passed in.

Thanks!

david


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.