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
 

 

XMIT - Multiple To List, CC and Subject

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

Active User


Joined: 16 Apr 2009
Posts: 151
Location: India

PostPosted: Wed Feb 17, 2010 2:09 pm    Post subject: Reply to: Information required on TRANSMIT Command
Reply with quote

How do I assign a value to the subject field of the mail? Now, it comes as 'No subject'.
Is it possible to CC a person instead of To list.
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8117
Location: East Dubuque, Illinois, USA

PostPosted: Wed Feb 17, 2010 4:11 pm    Post subject:
Reply with quote

Google is your friend. Google RFC 2821 and read up on what you can do in an SMTP email (which is what the mainframe sends).
Back to top
View user's profile Send private message
HameedAli

Active User


Joined: 16 Apr 2009
Posts: 151
Location: India

PostPosted: Wed Feb 17, 2010 7:42 pm    Post subject: XMIT - Multiple To List, CC and Subject
Reply with quote

Hi!
I'm using the below code to XMIT the information to mail ID.
Code:
queue 'hi!'
queue '$$'
Address TSO 'XMIT QWERT.ASDFGHJK LINE($$)'

1) How do I assign a value to the subject field of the mail? Now, it comes as 'No subject'.
2) Is it possible to CC a person instead of To list.
3) When I XMIT the same info to two different ID's , I see only the first one.
being sent, Why is that?
Code:
queue 'hi!'
queue '$$'
Address TSO 'XMIT QWERT.ASDFGHJK LINE($$)'
Address TSO 'XMIT QWERT.XXVBNRT LINE($$)'
Back to top
View user's profile Send private message
Pedro

Senior Member


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

PostPosted: Wed Feb 17, 2010 10:22 pm    Post subject: Reply to: XMIT - Multiple To List, CC and Subject
Reply with quote

The rexx queue is a clipboard of sorts. You are putting stuff into it and the XMIT is pulling stuff out (destructively). The second XMIT will not be able to find it.

Check the help for XMIT to see how to specify two destinations on the same command.

For subject try (untested) :
Code:

queue 'subject: try this'
queue 'hi!'
queue '$$'
Address TSO 'XMIT QWERT.ASDFGHJK LINE($$)'
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 Changeman get multiple "Browse C... elixir1986 Compuware & Other Tools 4 Fri Jul 14, 2017 1:48 am
No new posts How to write Specific Fields from Mul... Padhu SYNCSORT 6 Thu Jul 06, 2017 10:26 am
No new posts member list compare jzhardy TSO/ISPF 6 Fri May 12, 2017 3:18 pm
No new posts Unable to create multiple files using... mbattu COBOL Programming 3 Fri May 05, 2017 5:35 pm
This topic is locked: you cannot edit posts or make replies. SDSF multiple spool datasets extracte... PJAlarcon CLIST & REXX 1 Fri Apr 21, 2017 10:50 pm


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