View previous topic :: View next topic
|
Author |
Message |
chaoj
Active User
Joined: 03 Jun 2010 Posts: 103 Location: Dalian
|
|
|
|
I got a request from clients that a dataset should be sent to their mail box, and they want to see the content in mail , not as a attach file .
So I use XMIT to do this , I found that if I send as message , the message file LRECL can not > 80 , but the dataset LRECL is 392 ,
Is there any way to do ? Thanks !
1.96.5 Transmitting data sets as messages
publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ikj4c590/1.96.5
You can transmit a data set as a message by specifying MSGDDNAME or MSGFILE, or MSGDATASET or MSGDSNAME. Using these operands might reduce the time it takes to transmit a file or data set. The file or data set must have a record format of fixed block (FB) and a record length (LRECL) of 80. You can transmit either a sequential data set or a member of partitioned data set. For MSGDDNAME or MSGFILE, you must allocate the file before you transmit. |
|
Back to top |
|
|
Pandora-Box
Global Moderator
Joined: 07 Sep 2006 Posts: 1592 Location: Andromeda Galaxy
|
|
|
|
Probably you need to change the default settings |
|
Back to top |
|
|
chaoj
Active User
Joined: 03 Jun 2010 Posts: 103 Location: Dalian
|
|
|
|
Pandora-Box wrote: |
Probably you need to change the default settings |
Thanks Pandora , could you tell me what setting I should change ?
TSO/ISPF setting ? or mail server setting ? or other ? |
|
Back to top |
|
|
vasanthz
Global Moderator
Joined: 28 Aug 2007 Posts: 1742 Location: Tirupur, India
|
|
|
|
Hello,
Quote: |
Probably you need to change the default settings |
I don't think there is any default setting that can be changed. MSGDDNAME or MSGDATASET has to be Fixed block with LRECL 80 for proper xmit.
Quote: |
MSGDDNAME(ddname) | MSGFILE(ddname)
specifies a 1 to 8 character ddname or file name of the file that is to be transmitted. You must allocate the file before it is transmitted. The system transmits the file as a message.
The file must have a record format of either FB or F and a record length of 80. |
|
|
Back to top |
|
|
Pandora-Box
Global Moderator
Joined: 07 Sep 2006 Posts: 1592 Location: Andromeda Galaxy
|
|
|
|
vasanthz,
In TSO dont we have to set the formats for the option 6? |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
Quote: |
I got a request from clients that a dataset should be sent to their mail box, and they want to see the content in mail , not as a attach file . |
the requirement as described is confusing ...
You cited XMIT, but ...
the XMIT process wraps the transmitted dat set in a wrapper of at least 4 types of control records ,
so , sending an email with an inlined/attached XMIT file will just result in gibberish being seen on the receiver side.
if the <clients> want to see the data inlined into the email
( in the hope that the content is fully displayable )
just build the email text with the dataset content,
many samples on the forum |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
SMTP allows data sets to be sent as long as the LRECL is 998 or less. |
|
Back to top |
|
|
chaoj
Active User
Joined: 03 Jun 2010 Posts: 103 Location: Dalian
|
|
|
|
Robert Sample wrote: |
SMTP allows data sets to be sent as long as the LRECL is 998 or less. |
Thanks you Robert ! SMTP worked ! |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
Glad to hear you got it resolved. |
|
Back to top |
|
|
|