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: 7999
Location: Bellevue, IA

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: 2033
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 Data replication from multiple Db2 ta... kishpra DB2 5 Mon Mar 27, 2017 9:58 pm
No new posts Unable to catalog a gdg dataset resid... Shovan JCL & VSAM 7 Fri Mar 24, 2017 2:24 pm
No new posts To display values of multiple rows in... vinu78 DB2 2 Thu Mar 09, 2017 1:20 pm
No new posts Calling procedure with multiple entri... steve-myers PL/I & Assembler 5 Fri Jan 27, 2017 3:33 pm
No new posts SQL query to run through list of valu... Ni3-db2 DB2 14 Wed Dec 14, 2016 9:52 am


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