View previous topic :: View next topic
|
Author |
Message |
gokuldass
New User
Joined: 18 Mar 2005 Posts: 48 Location: india
|
|
|
|
hi all..
can anyone help me to understand what is this jcl will do i submit it..
any settings that i has to do before i submit..
if anything let me know....
//IEBGENER EXEC PGM=IEBGENER
//SYSIN DD DUMMY
//*
//SYSUT1 DD *
HELO HLNCTR
MAIL FROM: <CZ0055@HLNCTR.STATE.MT.US>
RCPT TO: <DGRINSELL@STATE.MT.US>
DATA
TO: Donald Grinsell
FROM: "Grinsell, Donald"<cz0055@hlnctr.state.mt.us>
SUBJECT: TCP/IP Mail from MVS batch on SYSA
This is a test message from batch.
/*
// DD DISP=SHR,DSN=MORE.EMAIL.DATA
//*
//SYSUT2 DD SYSOUT=(B,TCPSMTP)
//*
thanks all,
gokuldass..
TITLE EDITED |
|
Back to top |
|
|
subhasis_50
Moderator
Joined: 09 Mar 2005 Posts: 363 Location: Earth
|
|
|
|
Hi,
This is the JCL used to send a message from BATCH to SMTP. If you want to send a message to some person about the status of a job , i.e. it ran successfully or not. You can use this JCL. Here The OUTPUT from sysout DD directed to SMTP. SYSUT1 contains info of NODE,SENDER AND RECEPIENT. DATA contains DATA thaT shall appear in mail.
What you have to do before submit is that, check the message u r sending is right or not. Also verify the email address are correct or not.
Thanks
Subhasis |
|
Back to top |
|
|
ashutosh719
New User
Joined: 06 Apr 2005 Posts: 12
|
|
|
|
it will send an email....no settings reqd.........try! |
|
Back to top |
|
|
ssowjanya
New User
Joined: 29 Apr 2005 Posts: 13
|
|
|
|
Hi gokuldass,
I agree with subhasis_50...try it! |
|
Back to top |
|
|
maheshvudi
New User
Joined: 08 Apr 2005 Posts: 2 Location: vizag
|
|
|
|
Hi gokuldass,
i agree with subhasis_50, but before check it you have to check message content and email addresses.
i think '//*' to be used to begin before telling the color
bye. |
|
Back to top |
|
|
gokuldass
New User
Joined: 18 Mar 2005 Posts: 48 Location: india
|
|
|
|
Hi,
I got the mail..
now my problem is to send an attachment through jcl..
How to do it
Regards
Gokul dass |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
Back to top |
|
|
|