|
Well here is the code, Leif.
BEGIN:
PGM
DCL VAR(&INFO) TYPE(*CHAR) LEN(9999) DCL VAR(&ERR) TYPE(*CHAR) LEN(4) CHGVAR VAR(%BIN(&ERR)) VALUE(0) CALL PGM(QBRM/Q1ARTVMED) PARM(&INFO 9999 MEDV0100 + GS8003 &ERR) SNDPGMMSG MSGID(TST0001) MSGF(QUSERMSG) MSGDTA(&INFO) + TOUSR(CBECKSEC) END: ENDPGM I Put the sndpgmmsg in there just so I could test
it without haveing to use debug every time.
I must put in at least 600 in the reciever length
and then I only get the first variable returned. If I put less in I get this
error. CPF3C24 Length of the receiver variable is
not valid.
If I put in 9999 I get the first 150 charecters of
the 231 that are supposed to be returned.
Thanks
|
As an Amazon Associate we earn from qualifying purchases.
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.