View previous topic :: View next topic
|
Author |
Message |
indurusatish1
New User
Joined: 07 Feb 2008 Posts: 1 Location: india
|
|
|
|
Hi All,
I have below JCL which sends email when speciffic job fails.The problem is now the mailing list got increased and because of that email's are spanning to the second line.
Problem now is that the JCL is sending mails to email ids which are in only first line and second line emails are ignored.
Is there any way so that I can make jcl to pick the second line email ids also
For your information:-
Tried coding X at 72 position
Tried - after first line
but both of then are not working.
I tried passing the values through dataset and its working,but iam wondering whether I can wrap the content in the JCL only(with out using dataset)
Any expert comments will be much appreciated.
Thanks in advance.
//LN00001 EXEC PGM=IEBGENER
//SYSPRINT DD SYSOUT=*
//SYSIN DD DUMMY
//SYSUDUMP DD SYSOUT=*
//SYSUT1 DD *
ERROR: XYZ@google.com
TO: XYZ@google.com
XYZ1@google.com
FROM: UCC7
SUBJECT: JOB *** XX JOBS(XXX0%) DID NOT EXECUTE
PLEASE TAKE THE REQUIRE ACTION
/*
//SYSUT2 DD DEST=(XXXVM01,XXSERV),
// SYSOUT=(X)
//* |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
It has nothing to do with IEBGENER or SYSUT1.
The data stream you in your question is an input data, and there for it is a subject to the rules of the accepting utility. In your case, I believe the accepting utility is SMTP.
This has been said, you are more then welcome to read the fine manual of SMTP, and find out how to compose an email for several recipients.
O. |
|
Back to top |
|
|
|