|
You have two problems: Firstly because the variable &SUPGRPPRF has embedded blanks the operating system will automatically put quotes around it when you try and use it. Secondly, there is a flaw in your technique anyway, in that the SUPGRPPRF is returned as a 150 character string, with the first 10 characters representing the first group, and the second ten the second group etc. Therefore, there is no guarantee that there is going to be a blank between each supplemental group, other than any standards you may have in place that doesn't allow a profile to be 10 characters long. The easiest method is going to be to use QCMDEXC, and build up your command string with a mixture of *BCAT, *CAT and %SST, ie CHGVAR &CMD ('CHGUSRPRF xxxx SUPGRPPRF(' *CAT %SST(&SUPGRPPRF 1 10) *BCAT %SST(&SUPGRPPRF(11 10).....etc
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.