|
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 TAApurposes.
documentation.
TAA has 4 exit programs, and I have modified the idea for my own
One problem I have run into is passing parameters. I don't want to haveto
have parameters in the controlling data area. There is a program that Icall
that has a parameter that will contain "BEFORE" and "AFTER".the
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
&COMMAND.and
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
another for after...list
TIA,
Dave
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
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.
--
Brian Johnson
brian.johnson.mn@xxxxxxxxx
--
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 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.