MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » January 2014

Re: prompt for a command and retrieve the command string.



fixed

QCMDCHK is a simpler (and less fuctional) alternative. For
example, prompting is requested via '?' prefix:


CALL QCMDCHK ( '?go main' 7 )




On Tue, Jan 14, 2014 at 10:49 AM, John Rusling <jrusling@xxxxxxxxxxxxxxxxxxx
wrote:

Hi Rick,

The qcapcmd api will do this for you.

Here's the 5.4 link, I doubt it's changed much.

http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=/apis/qcapcmd.htm

7.1 link

http://pic.dhe.ibm.com/infocenter/iseries/v7r1m0/index.jsp?topic=%2Fapifinder%2Ffinder.htm

I have code that uses this, works great!

hth,

John
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.









Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot 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 here. If you have questions about this, please contact