View Full Version : Passing Parms to SNDMSG
01-01-1995, 02:00 AM
I want to dsp the values of parms in the msg string from a SNDMSG command: PGM PARM(&XXREQN &XXUSER) DCL VAR(&XXREQN) TYPE(*DEC) LEN(5 0) DCL VAR(&XXUSER) TYPE(*CHAR) LEN(10) SNDMSG MSG('''REQUEST'' &XXREQN ''HAS BEEN CREATED + BY'' &XXUSER') TOUSR(xxx) This doesn't work. (It is sent just as it shows here....) I have checked the values of the parms in the RPG program and the data is there..... any suggestions?Thanks,Colleen
01-29-1999, 01:42 PM
Use instead: MSG('REQUEST' *BCAT &XXREQN *CAT 'HAS BEEN CREATED + BY' *BCAT &XXUSER) Regards, Chuck Comments provided "as is" with no warranties of any kind whatsoever.
02-02-1999, 05:12 AM
Chuck,Of course...! Sometimes it's the easy things that escape me..Thanks for the reminder.Colleen
Powered by vBulletin® Version 4.1.5 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.