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



A little API called QCMDEXC should work nicely...

dcl &cmd *char 250
chgvar &cmd ( &library *tcat '/' *cat &command )
call qcmdexc ( &cmd 250 )


On 10/11/07, David Turnidge <daveturnidge@xxxxxxxxx> wrote:
I have taken the boilerplate UPS monitor program offered by IBM, modified by
"A. Borick" and further modified by myself with ideas from TAA
documentation.

TAA has 4 exit programs, and I have modified the idea for my own purposes.
One problem I have run into is passing parameters. I don't want to have to
have parameters in the controlling data area. There is a program that I call
that has a parameter that will contain "BEFORE" and "AFTER".

I came up with the bright idea that I would change from "programs" to
"commands". So I modified the line, and immediately ran into the problem
that it couldn't find library &LIBRARY, and by extension, couldn't find the
&COMMAND.

Is there a way to call a command using a variable?

If not, I spoz I'll have to split the program up and have one for before and
another for after...

TIA,

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





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.