View previous topic :: :: View next topic
|
Author |
Message |
ThiagoCF
New User
Joined: 20 Mar 2013 Posts: 2 Location: Brazil
|
|
|
|
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 |
|
 |
|
|
enrico-sorichetti
Senior Member
Joined: 14 Mar 2007 Posts: 10562 Location: italy
|
|
|
|
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
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 |
|
 |
Akatsukami
Global Moderator
Joined: 03 Oct 2009 Posts: 1790 Location: Bloomington, IL
|
|
|
|
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 |
|
 |
ThiagoCF
New User
Joined: 20 Mar 2013 Posts: 2 Location: Brazil
|
|
|
|
I got this error:
Code: |
READY
SUBJECT(EXTRACT REPORT)
INVALID COMMAND NAME SYNTAX
READY
XMIT IBMBR.XXXXX MSGDDNAME(MSGFILE) NOLOG |
|
|
Back to top |
|
 |
enrico-sorichetti
Senior Member
Joined: 14 Mar 2007 Posts: 10562 Location: italy
|
|
|
|
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 |
|
 |
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8417 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
 |
Anuj Dhawan
Senior Member
Joined: 22 Apr 2006 Posts: 6258 Location: Mumbai, India
|
|
|
|
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 |
|
 |
enrico-sorichetti
Senior Member
Joined: 14 Mar 2007 Posts: 10562 Location: italy
|
|
|
|
seems to me that there is a complete misunderstanding of the
IDTF ( XMIT/RECEIVE ) TSO facility  |
|
Back to top |
|
 |
Anuj Dhawan
Senior Member
Joined: 22 Apr 2006 Posts: 6258 Location: Mumbai, India
|
|
|
|
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 |
|
 |
|