OS/400 - this is a bit obscure..
OS/400 - this is a bit obscure..
Author
Discussion

justayellowbadge

Original Poster:

37,057 posts

273 months

Tuesday 16th October 2007
quotequote all
I'm using the SNDDST command to email PDF documents.

I would like to use carriage return in the MSG paramter when sending as *DOC, but I'm not sure if it's even possible.
You can include control characters in a *LMSG, but not,as far as I can tell, in MSG with a *DOC message type....

Any ideas? Anyone got a clue what I'm on about?



Edited by justayellowbadge on Tuesday 16th October 13:08

dinkel

27,875 posts

289 months

Tuesday 16th October 2007
quotequote all
Nah . . .

Plotloss

67,280 posts

301 months

Tuesday 16th October 2007
quotequote all
I know what you're trying to achieve but where is it you want to embed the CRLF?

Some commands have the *CRLF parameter.

justayellowbadge

Original Poster:

37,057 posts

273 months

Tuesday 16th October 2007
quotequote all
Matt,

MSG is one of the parms in the SNDDST command - its a 256 byte text string that acts as the body of the email sent - whatever I do, the embedded characters are shown as text in the email - I've got a nasty feeling that the parm can only accept a plain text string, nothing else.....

There is an option of *lmsg - a long message which can accept to formatting codes - carriage return and new paragraph, but this cannot be sent with a document, which is my remit here frown

Edited by justayellowbadge on Tuesday 16th October 13:42

clonmult

10,529 posts

240 months

Tuesday 16th October 2007
quotequote all
Haven't delved into OS/400 for a year or so ...

http://publib.boulder.ibm.com/iseries/v5r2/ic2924/...

Doesn't give any help really - no mention of any such option.