|
The lengths of the 5 variables are as follows: &1 is 10 A, &2 is 10 A, &3 is 6A, &4 is 8 A and &5 is 8A. Concat the values of all 5 into &onevar. &onevar should look like this: 'Jobname...Username..999999MM/DD/YYHH:MM:SS'. The system will parse out the corresponding values from &onevar based on the lengths of each variable. I did a DSPMSGD CPF1241 and used option 30 to see everything about CPF1241. Hope this helps.
-----Original Message-----
From: Chris Beck [SMTP:CBeck@good-sam.com]
Sent: Monday, December 13, 1999 1:28 PM
To: MIDRANGE-L@midrange.com
Subject: SNDPGMMSG
I am trying to send a program message to qsysopr when this program finishes, using cpf1241 the standard competed normally message. the problem There is 5 variables in the message description. I have all five getting the right data and formatted correctly. but it will not let me give it more than one variable on the msgdta line. How can I get all five variables to pass to the message?? or am I putting them in the wrong spot? I can't find any information in the manuals that will help me when there is multiple variables.
SNDPGMMSG MSGID(CPF1241) MSGF(QSYS/QCPFMSG) +
MSGDTA( &onevar) TOMSGQ(*SYSOPR) +
MSGTYPE(*COMP)
Thanks Chris Beck
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---
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.