how to convert physical file to spool file?

40 pts.
Tags:
AS/400
AS/400 Spool Files
File conversion
Physical File
how to convert physical file to spool file?

Software/Hardware used:
as400
ASKED: August 7, 2010  3:49 AM
UPDATED: August 9, 2010  1:07 PM

Answer Wiki

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

Physical files don’t convert to spooled files. However, you can generate a spooled file from a physical file.<pre>
RUNQRY QRYFILE(( mylib/myfile ))
OUTTYPE(*PRINTER)</pre>
The RUNQRY command can print records from a physical file with very little effort. There are other parameters that may help. If the Query/400 product is installed, record selection is also available as is the ability to define detailed queries and reports. The basic RUNQRY command is available on all systems.

Some other commands can be used for different purposes. The best choice depends on what products you have installed and what you need to accomplish.

Tom

Discuss This Question: 1  Reply

 
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
  • dinuas400
    Use the following command RUNQRY QRYFILE((LIBNAME/FILENAME)) OUTTYPE(*PRINTER)
    510 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