Copy/Export Spool File Report

765 pts.
Tags:
AS/400
I want to take my spool file report and copy or export it so I can send it to another person so they can import to there testing AS400. What are the steps?
ASKED: October 24, 2011  5:32 PM
UPDATED: March 17, 2012  7:14 AM

Answer Wiki

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

Open iNav, go to the print functions, open your OUTQ and drag the spool file to your desktop. This will convert it to a text file which you can attach to an email.

Discuss This Question: 5  Replies

 
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
  • CharlieBrowne
    The easiest way is to create a a new output queue using the RMTSYS parm. This creates an output queue definition on your system that points to a physical queue on the target system. So you you move a report to that queue, it can be printed on the remote system.
    39,780 pointsBadges:
    report
  • Jaymz69
    I just want to export the report from my spool file so I can Email it to another user to import onto their as400
    765 pointsBadges:
    report
  • TomLiotta
    There is no actual "export/import" capability for a spooled file. Practically speaking, it doesn't make much sense. A spooled file is supposed to be structured for a printer device to process, but you aren't trying to send to a printer. You can extract text from a spooled file and e-mail that. But there is no useful meaning to "importing" it back into a different system. I suppose you could have the e-mail recipient print the text to a network printer defined on his system. But in that case, just use iSeries Navigator and drag/drop the spooled file to your PC. E-mail the resulting text file and let them decide how to "import". Otherwise, let the remote printing facility do it for you. Either create a basic remote *OUTQ as CharlieBrowne suggests, or simply use SNDTCPSPLF to the *LPD server on their system. (You could use SNDNETSPLF if it was a SNA connection.) If it's a very basic spooled file, you could also use CPYSPLF to create a PF copy. Send that through e-mail and have them do a reverse CPYF out to *PRINT. Be sure to include *FCFC to get most line/page spacing in the data. If it's anything more complex and you really need to do this on your own, I suppose you could write an export program that ran on your system and an import that ran on their system. On your end, you could probably use various Spooled File APIs to get most text data and printer control info into user spaces. Save the spaces and e-mail those along with your import program. After they restored them, your program could mostly reconstruct the spooled file from the user spaces. Personally, I'd probably just send a text file from the iNav drag/drop feature. Tom
    125,585 pointsBadges:
    report
  • Jaymz69
    Thanks guys!
    765 pointsBadges:
    report
  • Jaymz69
    [...] A user is trying to export and import some AS/400 data: The community supplies a couple good [...]
    0 pointsBadges:
    report

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