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: 7932
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: 2025
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 SQL query to run through list of valu... Ni3-db2 DB2 14 Wed Dec 14, 2016 9:52 am
No new posts Cobol list of programs being called biswajit.dattagupta COBOL Programming 5 Tue Nov 01, 2016 2:10 am
No new posts reorder screeNS using SWAP LIST? mrsidhu12 TSO/ISPF 5 Thu Sep 01, 2016 2:19 pm
No new posts Getting list of tables defined under ... kishpra DB2 2 Wed Aug 24, 2016 10:36 am
No new posts Converting multiple VB files to FB fi... Viswanath Reddy JCL & VSAM 6 Mon Aug 08, 2016 11:49 pm


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