On Tue, 18 December 2001, "Peter Dow" wrote:

> Not being a Unix person I tend to forget about QShell, but I think that will
> do for now. Can I direct the output to a particular queue using pr?

Hmmm... good question. I'm not sure what good an override would do unless it 
can be run in the same QSH "session". I'd have to refresh my understanding of 
how QSH works. Probably worthwhile just to learn QSH that much better.

> Regarding user spaces, I don't know of any OS400 command that would print a
> user space, so I'd end up having to write something there as well. If I do
> write something, it might as well just read the IFS directly and write to a
> printer file.

True, printing from a *usrspc isn't direct either; but the APIs to retrieve 
from a *usrspc can be much quicker to develop against than the Unix APIs, 
especially when just starting with them. I mean, even CL can retrieve from a 
*usrspc. If you have to do it soon, it might be quicker; but that *AUDIT 
authority snag can be serious.

I couldn't tell what you needed this for, your own personal every-day use or 
some function you want to distribute to others. If it's to be distributed, then 
QShell might not be appropriate -- it might not be installed. Jim's tip to use 
CPYFRMIMPF is a much better choice in that case. And it's a good tip anyway.

Tom Liotta

Tom Liotta
The PowerTech Group, Inc.
19426 68th Avenue South
Kent, WA 98032
Phone  253-872-7788
Fax  253-872-7904

The ALL NEW CS2000 from CompuServe
 Better!  Faster! More Powerful!
 250 FREE hours! Sign-on Now!

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-2022 by 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.