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



Thanks Gary! I thought it was something like that. I'll try and construct
the string and call QCMDEXC. I'll try the multiple variable thing first.

On Tue, Jun 16, 2015 at 12:49 PM, Monnier, Gary <Gary.Monnier@xxxxxxxxx>
wrote:

Michael,

Bad news. CL will not allow you to do what you are doing without building
the entire command in a string and running it with QCMDEXC or QCAPCMD. It
has to do with lists not being replaceable with a single variable.

If you used (&PARM1) (&PARM2) it may work. I can't say without seeing how
the parameter is set up.

Thanks,
Gary Monnier CSM, CSPO

-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of
Michael Ryan
Sent: Tuesday, June 16, 2015 9:26 AM
To: Midrange Systems Technical Discussion
Subject: Multiple Values in Command

I'm trying to supply multiple name and value parameters programmatically
to a vendor command. Argh! Frustrating. I'm trying this:

<command> NAMEVAL(&NAMEVAL)

Where &NAMEVAL should look like this:

(PRM EI0152015060184143) (FLAG I)

And when I look at the value of &NAMEVAL in debug, it does look like that.
But the command processor is kicking because it's just seeing one long
value rather than two values. How can I construct this so the &NAMEVAL
parameter has two names and values, (PRM EI0152015060184143) and (FLAG I)?

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.

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