Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
XMITIP error

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
Priyanka Pyne

New User


Joined: 09 Feb 2008
Posts: 95
Location: India

PostPosted: Fri Aug 26, 2011 10:32 pm    Post subject: XMITIP error
Reply with quote

I want to send a message through a JCL. I am using the following step.
Code:
//SEND    EXEC PGM=IKJEFT1B                                         
//SYSIN    DD DUMMY                                                 
//SYSEXEC  DD DSN=TSO.SSS.REXXLIB,DISP=SHR                         
//SYSPRINT DD SYSOUT=*                                             
//SYSTSPRT DD SYSOUT=*                                             
//SYSTSIN  DD *                                                     
%XMITIP (user@xxx.com) +                               
        MSGDD CONTENT +                                             
        MSG72 +                                                     
        REPLYTO user@xxx.com +                         
        FROM user@xxx.com +                           
        SUBJECT 'Compare job execution status'                     
/*                                                                 
//CONTENT  DD *                                                     
 Comparison job has been completed and the ouput datasets are ready.
/*                                                                 


But it is giving me syntax error.
Code:
READY                                                                           
%XMITIP (user@xxx.com)MSGDD CONTENT MSG72 REPLYTO user@xxx.comFR
n status'                                                                       
XMITIP: keyword: >user@xxx.COMSUBJECT< is invalid in the syntax of this
XMITIP: The correct syntax for XMITIP (version) 4.32 is:                       
XMITIP: %XMITIP user@address                                                   
XMITIP:      or (u1@address u2@address..)                                       


I did ggogling and did QW as well. But nothing helped. I am not sure where I am making the mistake. Is there anyone who can help?
Back to top
View user's profile Send private message

enrico-sorichetti

Moderator


Joined: 14 Mar 2007
Posts: 10472
Location: italy

PostPosted: Fri Aug 26, 2011 11:06 pm    Post subject: Reply to: XMITIP error
Reply with quote

there are quite a few examples of xmitip around
or google for the xmitip manuals, or ask Your support to provide them

luckily I had the link handy
http://www.lbdsoftware.com/XMITIP-Guide.pdf
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: Fri Aug 26, 2011 11:14 pm    Post subject:
Reply with quote

Hello,

One easy way to getting a new XMITIP to work is to clone an existing one that already works on your system and change accordingly to your specifics. . .
Back to top
View user's profile Send private message
Priyanka Pyne

New User


Joined: 09 Feb 2008
Posts: 95
Location: India

PostPosted: Fri Aug 26, 2011 11:41 pm    Post subject:
Reply with quote

Thats what I did. But it is not working icon_sad.gif
Back to top
View user's profile Send private message
Priyanka Pyne

New User


Joined: 09 Feb 2008
Posts: 95
Location: India

PostPosted: Fri Aug 26, 2011 11:51 pm    Post subject:
Reply with quote

I modified this as below and it is working now. Thanks for the help.

//SYSTSIN DD *
%XMITIP (user@xxx.com ) -
CC (user@xxx.com ) -
FROM user@xxx.com -
SUBJECT 'FAILURE Check Writing Job' -
MSGDD MSGTXT
/*
//MSGTXT DD *
One of the Check Writing Jobs FAILED.
/*
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: Fri Aug 26, 2011 11:54 pm    Post subject:
Reply with quote

Hello,

Then you changed something. . . What?

Why are there () around only 1 address (user@xxx.com)? The info presented by xmitip shows differently. . .
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1786
Location: Bloomington, IL

PostPosted: Sat Aug 27, 2011 12:04 am    Post subject:
Reply with quote

The coded text of the XMITIP command does not seem to match exactly the echo in the error messages.
Back to top
View user's profile Send private message
Priyanka Pyne

New User


Joined: 09 Feb 2008
Posts: 95
Location: India

PostPosted: Sat Aug 27, 2011 3:22 am    Post subject: Reply to: XMITIP error
Reply with quote

I just changed '+' sign at the end of each sentece to '-' and it worked. I think there was no issue with the syntax.
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: Sat Aug 27, 2011 9:20 am    Post subject:
Reply with quote

Hello,

Of course that was a syntax problem. . .

If you cloned a working xmitip process, where did the + signs come from.?
Back to top
View user's profile Send private message
enrico-sorichetti

Moderator


Joined: 14 Mar 2007
Posts: 10472
Location: italy

PostPosted: Sat Aug 27, 2011 9:35 am    Post subject: Reply to: XMITIP error
Reply with quote

from the manual
Quote:
A plus sign causes leading delimiters to be removed from the continuation line.


Quote:
REPLYTO user@xxx.com +
FROM user@xxx.com +


I am pretty sure that the command was edited somehow after the initial submission, there was no blank before the + in the REPLYTO fragment

that is confirmed by the diagnostic message
Quote:
READY
%XMITIP (user@xxx.com)MSGDD CONTENT MSG72 REPLYTO user@xxx.comFR
n status'
XMITIP: keyword: >user@xxx.COMSUBJECT< is invalid in the syntax of this
XMITIP: The correct syntax for XMITIP (version) 4.32 is:
XMITIP: %XMITIP user@address
XMITIP: or (u1@address u2@address..)


where the FR and SUBJECT are <concatenated> to the preceding xxx.com

that' s why using the - as a continuation indicator might be safer (condones sloppy writing )
Back to top
View user's profile Send private message
Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 2108
Location: Silicon Valley

PostPosted: Sat Aug 27, 2011 7:47 pm    Post subject: Reply to: XMITIP error
Reply with quote

Quote:
I am pretty sure that the command was edited somehow after the initial submission, there was no blank before the + in the REPLYTO fragment

Agree

This isnot a problemwith XMITIP. Itis a problem with theuse of continuation. The TSO manuals describe the usage of continuation characters.
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 -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts DB2 Sql Error code -204 rohit_naidu DB2 5 Fri May 18, 2018 4:40 pm
No new posts Trap the jcl error message or maxcc i... ankita agarwal CLIST & REXX 4 Fri May 18, 2018 2:08 pm
No new posts Getting an error from EZASOKET while ... vaibhav gs COBOL Programming 4 Thu May 17, 2018 9:21 pm
No new posts Error executing Java program in OSGI ... danik56 CICS 0 Thu Apr 26, 2018 12:16 am
No new posts 3270 Data stream error Benchwarmer CICS 6 Tue Apr 17, 2018 12:06 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us