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
 

 

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: 1529
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: 1445
Location: Azeroth

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: 1529
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: 10202
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: 7906
Location: Bellevue, IA

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

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 How to move a long alphanumeric data ... lind sh COBOL Programming 2 Mon Dec 05, 2016 7:51 pm
No new posts ODPP(Optim Data privacy Provider) Iss... Rama kishore IBM Tools 1 Mon Nov 07, 2016 5:46 pm
No new posts Can sending 5 MB data between cobol p... Kevin Vaz CICS 12 Tue Oct 18, 2016 4:50 pm
No new posts output data in CSV Format janmejay COBOL Programming 8 Sat Oct 15, 2016 2:20 pm
This topic is locked: you cannot edit posts or make replies. output data in CSV Format janmejay DFSORT/ICETOOL 3 Sat Oct 15, 2016 2:16 pm


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