View previous topic :: View next topic
|
Author |
Message |
mdubey
New User
Joined: 06 Aug 2007 Posts: 5 Location: Hyderabad
|
|
|
|
superk wrote: |
From this document: www.planetmvs.com/mvsmail/
Code: |
//SENDNOTE EXEC PGM=IEBGENER
//SYSIN DD DUMMY
//SYSPRINT DD SYSOUT=*
//SYSUT2 DD SYSOUT=(B,SMTP)
//SYSUT1 DD *
helo MVSHOST
mail from:<MVSUser@MVSHost.xyz.com>
rcpt to:<unixuser@pop3.xyz.com>
data
From: MVSUser@MVSHost.xyz.com
To: unixuser@pop3.xyz.com
Subject: Test message from MVS using SMTP
This is a line in the body of the note.
|
Quote: |
You will need to change:
"MVSHOST" (on the "helo MVSHOST" line) must match the JES Node name for your system as defined in your 'SYS1.PARMLIB(IEFSSNxx)' for the VMCF subsystem. If you are a JES2 site, look at any JES2 job log for the node name at the top after "N O D E".
"unixuser@pop3.xyz.com" to valid destination SMTP e-mail address
"MVSuser@MVSHost.xyz.com" to a valid TSO user and host
|
|
I tried giving business IP address but this JCL is not working for me. Can anyone suggest which IP address is working? |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello and welcome to the forums,
Quote: |
I tried giving business IP address |
Where did you try this?
Quote: |
but this JCL is not working for me |
What sort of error or other diagnostic information did you receive from the system?
When you are trying to resolve a problem via the forums, you need to post exactly what you submitted and the information returned by the system. Do not key this into your post - use copy/paste - many typo's happen when info is keyed by hand
When you post JCL, control statements, and diagnostic information, you should use the "Code" tab near the top of the Reply panel.
Once you have built your post, click Preview to see your post as it will appear to the forum. When you are satisfied with your post, click Submit. |
|
Back to top |
|
|
mdubey
New User
Joined: 06 Aug 2007 Posts: 5 Location: Hyderabad
|
|
|
|
sorry for the late reply dick.. actually i was trying for FTP JCL and that post i was trying to send as reply to this topic -
ibmmainframes.com/viewtopic.php?t=7118
I tried the JCL suggested by superk, this JCl is giving return code 0, but i'm not receiving that email
Code: |
//STEP010 EXEC PGM=IEBGENER
//SYSIN DD DUMMY
//SYSUT2 DD SYSOUT=*,DEST=TCPSMTP
//SYSOUT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD *
HELO 66.94.230.34 *YAHOO IP
MAIL FROM: <MDUBEY@YAHOO.COM>
RCPT TO: <MDUBEY@YAHOO.COM>
DATA
TO: <MDUBEY@YAHOO.COM>
SUBJECT: TEST MAIL
THIS IS A LINE IN BODY OF MAIL.
|
where from and to are valid mail ids. I tried my business IP address as well, that also giving RC 0 but not sending the mail to my mailbox. |
|
Back to top |
|
|
riju_luvjust
New User
Joined: 04 Oct 2006 Posts: 18
|
|
|
|
//PGCFNMA3 JOB (0000,0002),'FALCON JOB JCL1',
// MSGLEVEL=(1,1),
// NOTIFY=&SYSUID,
// REGION=8M,
// MSGCLASS=M,
// CLASS=P
//**********************************************************************
//*SENDS MAIL TO FALCON SUPPORT TEAM
//**********************************************************************
//MAILAT EXEC PROC=EMAIL,
// SUBJECT='FALCON ASPAC CASE CREATION IN LAST 2 HOURS'
//ADDRESS DD *
GECF.SUPPORT@TCS.COM
/*
//MESSAGE DD *
TRY this one |
|
Back to top |
|
|
mdubey
New User
Joined: 06 Aug 2007 Posts: 5 Location: Hyderabad
|
|
|
|
you are using a PROC Riju
Quote: |
//MAILAT EXEC PROC=EMAIL,
|
can you please send me that proce as well if this jcl is working for you |
|
Back to top |
|
|
|