Hi David

When faced with a similar problem my solution was to build the whole command string and execute it using QCMDEXEC.

Regards
Evan Harris

Okay, it's after 5 on a Friday afternoon.  That's my excuse and I'm
sticking to it.

I've gotten a brain cramp, forgetting how to format a parm for the SAVLIB
command.  I'm prompting the user for their choices, concatenating library
groups into a 512-byte char field, then using that as the LIB parm in
SAVLIB (as shown below)

SAVLIB LIB(&LibList)

But it's not working.  As you all probably know.  I'm pretty sure this parm
has to have the 1st two bytes as a binary value?  Then length of the parm?
or number of library entries?  Something like that?

And do I have to space each lib to pad for shorter library names?  In other
words, can &LibList be
  "QS36F  LIBRARY1  LIB2"  or does it have to be
  "QS36F     LIBRARY1  LIB2      " ?


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.