CL/400 – How to convert Spool file to Notepad

130 pts.
Tags:
AS/400 import/export
CL
CL/400
Spool files
Hello Friends, I have a question. In my current project, I have to covert a spool file to notepad and this notepad I have to send it as an attachment to one email address. Question 1: How can I convert spool file to notepad? Question 2: How can I send a notepad as attachment to one email address? Hope somebody can help me n this regards. Thanks & Regards Bibin George

Answer Wiki

Thanks. We'll let you know when a new response is added.

Hi,

Notepad format is basically text, so you should be able to use CPYSPLF to convert your spooled file to a “flat” file, then use CPYTOPCD to convert your flat file to ASCII text format. Then you should be able to use SNDDST to send the file as an e-mail attachment.

You may need to configure your machine to be able to send e-mail – there are quite a few websites with guides on how to do this.

Regards,

Martin Gilbert.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following