Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Can anyone suggest which IP address is working

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject:
Reply with quote

superk wrote:
From this document: http://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

Site Director


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

PostPosted: Sun Aug 12, 2007 6:52 am    Post subject:
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    Post subject:
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 -
http://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    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SCRNAME not working on my mainframe? mrsidhu12 TSO/ISPF 7 Thu Sep 01, 2016 2:17 pm
No new posts execute APP if they are not ADDRESS T... italo_pm CLIST & REXX 3 Fri Aug 12, 2016 2:15 am
This topic is locked: you cannot edit posts or make replies. Get and display content of an address... lind sh CICS 1 Mon Aug 08, 2016 9:18 am
No new posts 2 same CLIST pgm but with different n... boyti ko CLIST & REXX 5 Fri Jun 03, 2016 4:55 pm
No new posts REXX Screen not working due to LINKED... sundarkudos CLIST & REXX 1 Mon May 09, 2016 1:44 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us