MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » January 2014

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



fixed

Carel, I don't need it this time around, but that's a good one to know.


On Tue, Jan 14, 2014 at 3:25 PM, Carel <coteijgeler@xxxxxxxxx> wrote:

Rick,

As others have said you can use the QCAPCmd API for prompting and
entering the command variables.

If you want an F9=Retrieve command option in it you have to do a
SNDPGMMSG and RTVPGMMSG in direct sequence (sort of command processor),
so this command can be retrieved on a command line.
There is also a Retrieve Request Message API, that can also,
programtically, retrieve a command string.

Regards,
Carel Teijgeler

On 14-1-2014 17:43, rick baird wrote:
Hey all,

I want to programatically allow a user to key in a command, prompt it and
then retrieve the command and parameter string - basically duplicating
the
functionality of PDM user defined options - when adding or changing the
command, you can prompt it, fill it out, press enter and the command
string
is retrieved and put in the options command text field.

Is there an API that does this?

Thanks!

--
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