While Qshell is a valuable tool in the iSeries professional's toolbox, some features it has are hard to discover. For example, instructions on how to print Qshell output to an iSeries printer are hidden in an obscure page in the InfoCenter. To send the output of a Qshell command to an output queue, use the Rfile command. Entered by itself, the following command 'echo Hello iSeries' will echo to the screen the words 'Hello iSeries'. We will redirect that to a printer file via Rfile echo Hello iSeries | Rfile -wbQ -c 'ovrprtf file(qprint) outq(outqname) splfname(qshprt) hold(*yes)' qprint
The InfoCenter has an example on how to send ASCII files and Qshell output to remote printers
Monday, April 03, 2006
Subscribe to:
Post Comments (Atom)
Popular Posts
- as400 Iseries Tips
- Common Gateway Interface (CGI) on the as400 / iSeries
- AS400 Job Scheduler
- opensourceCMS.com - Try before you install!
- Why Crunch Mode (Long Hours) Doesn't Work
- AS400 APIs
- as400 iSeries NetServer Disabled user profiles
- Creating an as400 Query
- Announcing the Preview Release of Ubuntu 5.10 (Breezy Badger)
- Using as400 QRCVDTAQ api to retrieve a message / entry from a dataqueue
No comments:
Post a Comment