× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Marco's idea of a default (startup) macro can work, I think. You can use the 'input' function (either VBA or old style) to prompt for the parameter, then, once logged in (you can prompt - hidden - for password, too), the job can be submitted by putting 'sbmjob etc.' on a command line. Or is the parameter always the same? Then just hardcode it.

Check the help in the macro editor (Alt-E, s, s, Alt-C gets you there). Search on 'input' or 'signon' - there's an example of a signon script that uses the input box.

If there can be multiple sessions for the user of this job, you may need extra 'Enter' commands to get to a command line - to move through the messages.

Here's the script I use:

wait until cursor at (6,53)
"vern
[field exit]
inputnd Please enter your password and press ENTER
[field exit]
[enter]
[enter]
[enter]
"5
[enter]
"2
[enter]
"3
[enter]

I have PROGRAM as my initial menu, so this takes me to WRKMBRPDM through the menus. At the point I have the "5 you could have


"sbmjob cmd(call pgmname
input Enter parameter value and press ENTER
")
[enter]

HTH

Vern

At 09:33 PM 5/29/2003 -0500, you wrote:


 Lets say I wanted to have an icon on a Windows desktop that, when pressed,
would open a Client Access session, and further, a specific job with a
passed-in parm.  Would that be possible?


--------------------------------------------------------- Booth Martin http://www.MartinVT.com Booth@xxxxxxxxxxxx



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