×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
Hi all
I use SNDM (
http://uzaemon.d.dooo.jp/) command to send mail from IBM i ;
now i should change a CLP porgram that run the command SNMD , but the CC
mail could not be present so i would not populate the parameter *CC.
I created this test CLP :
DCL VAR(&MAILFROM) TYPE(*CHAR) LEN(100) +
VALUE('x@xxxxxxxxx')
DCL VAR(&MAILTO) TYPE(*CHAR) LEN(100) +
VALUE('mymail@xxxxxxxxx')
DCL VAR(&VAR) TYPE(*CHAR) LEN(256)
DCL VAR(&VAR2) TYPE(*CHAR) LEN(50) VALUE('*N *CC')
CHGVAR VAR(&VAR) VALUE('mycc@xxxxxxxxx' *BCAT &VAR2)
SNDM FROM(&MAILFROM) +
TO((&MAILTO *N *TO) +
&var +
) +
FILE(QGPL/QTXTSRC) MBR(MAILDDT) +
SUBJECT('tst')
But it don't work as the &VAR is populated in this way "('mycc@xxxxxxxxx
*N *CC')" instead of
"('mycc@xxxxxxxxx' *N *CC)" . Which workaround to solve this build var ?
This is the log when i run my CLP
SNDM FROM('x@xxxxxxxxx')
TO(('mymail@xxxxxxxxx' *N *TO)
('mycc@xxxxxxxxx *N *CC'))
FILE(QGPL/QTXTSRC) MBR(MAILDDT)
SUBJECT('tst')
--
Questa e-mail è stata controllata per individuare virus con Avast antivirus.
https://www.avast.com/antivirus
As an Amazon Associate we earn from qualifying purchases.