IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Transmitting data sets as messages and LRECL>80


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
chaoj

Active User


Joined: 03 Jun 2010
Posts: 103
Location: Dalian

PostPosted: Thu May 30, 2013 8:23 am
Reply with 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 .

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
View user's profile Send private message
Pandora-Box

Global Moderator


Joined: 07 Sep 2006
Posts: 1592
Location: Andromeda Galaxy

PostPosted: Thu May 30, 2013 9:10 am
Reply with quote

Probably you need to change the default settings
Back to top
View user's profile Send private message
chaoj

Active User


Joined: 03 Jun 2010
Posts: 103
Location: Dalian

PostPosted: Thu May 30, 2013 9:27 am
Reply with quote

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
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1753
Location: Tirupur, India

PostPosted: Thu May 30, 2013 10:03 am
Reply with quote

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
View user's profile Send private message
Pandora-Box

Global Moderator


Joined: 07 Sep 2006
Posts: 1592
Location: Andromeda Galaxy

PostPosted: Thu May 30, 2013 12:24 pm
Reply with quote

vasanthz,

In TSO dont we have to set the formats for the option 6?
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10903
Location: italy

PostPosted: Thu May 30, 2013 12:46 pm
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8700
Location: Dubuque, Iowa, USA

PostPosted: Thu May 30, 2013 3:21 pm
Reply with quote

SMTP allows data sets to be sent as long as the LRECL is 998 or less.
Back to top
View user's profile Send private message
chaoj

Active User


Joined: 03 Jun 2010
Posts: 103
Location: Dalian

PostPosted: Thu Jun 06, 2013 8:47 am
Reply with quote

Robert Sample wrote:
SMTP allows data sets to be sent as long as the LRECL is 998 or less.


Thanks you Robert ! SMTP worked ! icon_biggrin.gif
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8700
Location: Dubuque, Iowa, USA

PostPosted: Thu Jun 06, 2013 2:52 pm
Reply with quote

Glad to hear you got it resolved.
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Format data from multiple records usi... SYNCSORT 4
No new posts FileAid move data from two files to o... Compuware & Other Tools 5
No new posts Structured Data and Nested Loops via ... COBOL Programming 0
No new posts Alternate key data extracttion COBOL Programming 13
No new posts db2 vs static data COBOL Programming 1
Search our Forums:


Back to Top