IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Can anyone suggest which IP address is working


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
mdubey

New User


Joined: 06 Aug 2007
Posts: 5
Location: Hyderabad

PostPosted: Fri Aug 10, 2007 11:09 am
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sun Aug 12, 2007 6:52 am
Reply with quote

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 icon_smile.gif

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
View user's profile Send private message
mdubey

New User


Joined: 06 Aug 2007
Posts: 5
Location: Hyderabad

PostPosted: Fri Aug 17, 2007 10:48 am
Reply with quote

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 icon_sad.gif

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
View user's profile Send private message
riju_luvjust

New User


Joined: 04 Oct 2006
Posts: 18

PostPosted: Fri Aug 17, 2007 11:16 am
Reply with quote

//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
View user's profile Send private message
mdubey

New User


Joined: 06 Aug 2007
Posts: 5
Location: Hyderabad

PostPosted: Fri Aug 17, 2007 11:23 am
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Routing command Address SDSF to other... TSO/ISPF 2
No new posts PD not working for unsigned packed JO... DFSORT/ICETOOL 5
No new posts Def PD not working for unsigned packe... JCL & VSAM 3
No new posts ICETOOL with JOINKEY for Big record l... DFSORT/ICETOOL 12
No new posts PL/1 Callback address logic in z/OS C... PL/I & Assembler 1
Search our Forums:

Back to Top