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
 

 

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

Global Moderator


Joined: 14 Mar 2007
Posts: 10201
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: 1738
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10201
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: 2019
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 S922 Error yuvan ABENDS & Debugging 3 Fri Dec 02, 2016 6:58 pm
No new posts Invoke Webservice Fails with DFHPI100... divated CICS 2 Thu Nov 24, 2016 5:57 pm
No new posts Error during restore rename archanamuthukrishnan All Other Mainframe Topics 2 Fri Oct 14, 2016 3:30 pm
No new posts Error IEC161I 052(009,XXXRS00)-084 wh... amitc23 JCL & VSAM 10 Wed Oct 12, 2016 5:00 pm
No new posts IDMS/DC-COBOL program - SNAP error wh... rakeshsekar1987 IDMS/ADSO 5 Tue Sep 13, 2016 8:28 pm


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