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
 

 

How to submit a XMIT with a subject to an email

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
ThiagoCF

New User


Joined: 20 Mar 2013
Posts: 2
Location: Brazil

PostPosted: Wed Mar 20, 2013 8:52 pm    Post subject: How to submit a XMIT with a subject to an email
Reply with quote

Hello all,
I have a problem i need to submit a XMIT with a subject to an email, i tried with this but didn`t worked, can someone please help me.
This is my code:

Code:
//XMITO     EXEC PGM=IKJEFT01                           
//MSGFILE   DD DSN=Dataset.ToBe.Sent,DISP=SHR             
//SYSPRINT  DD  SYSOUT=*                               
//SYSOUT    DD  SYSOUT=*                               
//SYSTSPRT  DD  SYSOUT=*                               
//SYSTSIN   DD *                                       
  SUBJECT(EXTRACT REPORT)                               
  XMIT IBMBR.XXXXX MSGDDNAME(MSGFILE) NOLOG         
//*
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10201
Location: italy

PostPosted: Wed Mar 20, 2013 8:56 pm    Post subject: Reply to: How to submit a XMIT with a subject to an email
Reply with quote

Quote:
i tried with this but didn`t worked,

that' s just an annoying whining...

from Your profile ....
Quote:
Occupation: IT Specialist
Mainframe Skills: IT Specialist

for a specialist You posted pretty generic info icon_evil.gif

IT is pretty deterministic...
learn to post useful info, or You will just waste everybody' s time

for example the output of the job/step
and proof that You have tried to understand the error messages received and have tried to act on them.
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


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

PostPosted: Wed Mar 20, 2013 8:57 pm    Post subject:
Reply with quote

This is not JCL-related, but TSO-related. A moderator will probably move it shortly.

Give us some detail about how it didn't work: error message, abend code, intended recipient never got it, machine halted and caught fire?
Back to top
View user's profile Send private message
ThiagoCF

New User


Joined: 20 Mar 2013
Posts: 2
Location: Brazil

PostPosted: Wed Mar 20, 2013 9:01 pm    Post subject: Reply to: How to submit a XMIT with a subject to an email
Reply with quote

I got this error:

Code:
READY                                         
  SUBJECT(EXTRACT REPORT)                     
INVALID COMMAND NAME SYNTAX                   
READY                                         
  XMIT IBMBR.XXXXX MSGDDNAME(MSGFILE) NOLOG
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10201
Location: italy

PostPosted: Wed Mar 20, 2013 9:06 pm    Post subject: Reply to: How to submit a XMIT with a subject to an email
Reply with quote

and what was Your conclusion ???

It' s unfortunate that people invent their their own command names and syntax
and after that waste everybody' s time complaining about the errors they receive
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7904
Location: Bellevue, IA

PostPosted: Wed Mar 20, 2013 9:51 pm    Post subject:
Reply with quote

There is a link to IBM Manuals at the top of the page. If you click that link, find the TSO/E Command Reference manual, you can find
Quote:
1.96.1 TRANSMIT command syntax


Click here to display pages in Accessible mode





>>__ _TRANSMIT_ __ _addressee_________ __ _______________________ _______>
|_XMIT_____| | <_,_________ | |_TERMINAL______________|
|_(___addressee_|_)_| |__ _DATASET_ _(dsname)_|
| |_DSNAME__| |
|__ _DDNAME_ _(ddname)__|
|_FILE___|

_ _MESSAGE_ ______________
| |_MSG_____| | _NOCOPYLIST_
>__|__________________________|__|____________|__ __________ ____________>
|__ _MSGDDNAME_ _(ddname)__| |_COPYLIST___| |_ENCIPHER_|
| |_MSGFILE___| |
|__ _MSGDATASET_ _(dsname)_|
|_MSGDSNAME__|

_EPILOG___
>__|__________|__ ________________ __ ________________ __ ________ ______>
|_NOEPILOG_| |_FULLSCREEN_____| |_LOG_ _______ __| |_WARN___|
|_LINE_ ______ __| | |_(ALL)_| | |_NOWARN_|
|_(xx)_| |_NOLOG__________|

>__ ____________ __ _______________ __ _______________________ __________>
|_LOGDATASET_| |_LOGNAME(name)_| | <_,______ |
|_LOGDSNAME__| |_MEMBERS(___member_|_)_|
|_(dsname)___|

>__ ___________________ __ ________________________ __ ____________ _____>
|_NOTIFY_ _______ __| |_PARM(parameter_string)_| |_PDS________|
| |_(ALL)_| | |_SEQUENTIAL_|
|_NONOTIFY__________|

>__ __________ __ ____________________________ __________________________>
|_PROLOG___| |_SYSOUT(_ _*____________ _)_|
|_NOPROLOG_| |_sysout_class_|

>__ __________________________ _________________________________________><
|__ _OUTDDNAME_ _(ddname)__|
| |_OUTFILE___| |
|__ _OUTDATASET_ _(dsname)_|
|_OUTDSNAME__|


If you do not find the structure you want to use in the syntax diagram, that is a clue that what you want to do is not possible.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Wed Mar 20, 2013 10:53 pm    Post subject:
Reply with quote

I'm bit confused - you're using IKJEFT01 and issue a XMIT, so as Akatsukami has also indicated, you are using TSO in batch eventually to issue 'TSO TRANSMIT' - so will that really relate to a topic like "sending e-mail with a Subject line" unless TSO TRANSMIT (XMIT) command is used to send a previously constructed "mail file" that contains SMTP commands to be processed by CSSMTP for e-mail messages, as illustrated here: http://publib.boulder.ibm.com/infocenter/zos/v1r11/index.jsp?topic=/com.ibm.zos.r11.halu001/cssmtpxmit.htm
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10201
Location: italy

PostPosted: Wed Mar 20, 2013 11:11 pm    Post subject: Reply to: How to submit a XMIT with a subject to an email
Reply with quote

seems to me that there is a complete misunderstanding of the
IDTF ( XMIT/RECEIVE ) TSO facility icon_cool.gif
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Thu Mar 21, 2013 11:11 am    Post subject:
Reply with quote

Possibly, Enrico. And, as Akatsukami has also indicated, I've already moved the topic to TSP/ISPF part of the Forum until we get a better picture for the question...
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 -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Reading data from PS file and send it... rajatbagga All Other Mainframe Topics 18 Fri Sep 23, 2016 12:51 pm
No new posts Don't allow CICS to submit batch jobs prino JCL & VSAM 5 Mon Jul 25, 2016 3:26 pm
No new posts How to send email with Rich Text usin... santhosh5983 JCL & VSAM 4 Fri Apr 08, 2016 2:30 am
No new posts How to set DSNAME with XMIT via DD st... AntonioS All Other Mainframe Topics 1 Sun Nov 29, 2015 10:28 pm
No new posts Email trigger through JCL Madhusudhan Prahlad JCL & VSAM 10 Mon Aug 31, 2015 3:43 pm


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