Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Transmitting data sets as messages and LRECL>80

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    Post subject: Transmitting data sets as messages and LRECL>80
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

http://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

Moderator


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

PostPosted: Thu May 30, 2013 9:10 am    Post subject:
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    Post subject:
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: 1522
Location: Chennai

PostPosted: Thu May 30, 2013 10:03 am    Post subject:
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

Moderator


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

PostPosted: Thu May 30, 2013 12:24 pm    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10327
Location: italy

PostPosted: Thu May 30, 2013 12:46 pm    Post subject: Reply to: Transmitting data sets as messages and LRECL>80
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: 8165
Location: East Dubuque, Illinois, USA

PostPosted: Thu May 30, 2013 3:21 pm    Post subject:
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    Post subject:
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: 8165
Location: East Dubuque, Illinois, USA

PostPosted: Thu Jun 06, 2013 2:52 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts File Aid tool to compare numeric data balaji81_k Compuware & Other Tools 2 Tue Sep 26, 2017 3:35 am
No new posts Question related to Data dictionary f... rexx77 SYNCSORT 3 Thu Aug 31, 2017 7:23 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us