× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



If you have TCP/IP configured correctly on your system, you can use the
following steps to send a spoolfile to someone else's mail sytem:

1. Ensure you have SMTP configured and working correctly by following
instructions in chapter 9 of OS/400 TCP/IP Configuration and Reference
guide (SC41-5420-03). You can easily test your configuration by sending a
long message using the SNDDST command -- SNDDST TYPE(*LMSG)
TOINTNET((internetid@domain.com)) DSTD('Test MSG send - subject')
LONGMSG('text of message').

2. Create a physical file with (recommended) 132 record length -- CRTPF
FILE(LIB/FILENAME) RCDLEN(132).

3. Use CPYSPLF command to move the data from the spoolfile into the
physical file.

4. Use the CPYTOPCD command to move data as well as translate the EBCDIC
data to ASCII. CPYTOPCD FROMFILE(LIB/FILENAME) TOFLR(FOLDERNM)
TODOC(DOCNAME) TRNTBL(*DFT) Note: The translation parameter (TRNTBL) is
critical here to ensure that the data is readable from the other mail
system.

5. Finally, use the command SNDDST TYPE(*DOC)
TOINTNET((internetid@domain.com)) DSTD('Description') MSG('Text to send in
note') DOC(DOCNAME) FLR(FLRNAME) to send the document containing the
spoolfile to the other person's internet address. The document will be sent
as an attachment and can be viewed with that person's choice of
viewer/editor. Note: The SNDDST command will send the physical file
directly using the TYPE(*FILE) option but it will not translate the EBCDIC
data to ASCII. This is why you need to use CPYTOPCD or similar command to
do the translation for you.

Janet Krueger
Rochester Technology Center
www.dhagroup.com/rtc/





Art Baker <Art_Baker@baan.com> on 12/01/99 03:34:23 PM

Please respond to MIDRANGE-L@midrange.com

To:   "'midrange-l@midrange.com'" <midrange-l@midrange.com>
cc:    (bcc: Janet Krueger/dhagroup/US)
Subject:  spool files




Hi,
     I wanted to send a copy of a spool file over to a client of my. To
do this I created a physical file from the spool file, FTP it to my PC,
then
attached the file in an e-mail to the client. Well the file is a grabbled
mess, can not read it. I tried to open the file with acrobat or wordpad or
a
few other editors but still cannot read it. How can I transfer a spool file
to my PC so it can be sent with e-mail?
Also, they didn't know the IP address to their AS400 so connecting the
400's
together is not an option.
TIA
Art
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to
MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator:
david@midrange.com
+---






+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.