Art,

You can use QSPOPNSP and QSPGETSP to copy the actual data to a User
Space.  From there you can "look" at the data.  But it will be ASCII.
And it is probably PCL5 or something like that.

Bob

-----Original Message-----
From: c400-l-admin@midrange.com [mailto:c400-l-admin@midrange.com]On
Behalf Of Art Baker
Sent: Tuesday, July 02, 2002 12:57 PM
To: c400-l@midrange.com
Subject: [C400-L] Spool File

This message is in MIME format. Since your mail reader does not
understand
this format, some or all of this message may not be legible.
--
[ Picked text/plain from multipart/alternative ]
Hello,
        Is there a way to look at this Spool File:

 Opt  File        User        Queue       User Data   Sts   Pages
Page
Copy
  5   TFGLD902    GOLDEN      QPRINT      140112000   RDY       1*
1

The results of this is:
 File TFGLD902 number 1 cannot be displayed, copied, or sent.

This is because the file is ASCII and has the 1* for Pages, it's an
output
from a C program running in QSHELL. As a work-around we should be able
to
create a ASCII file in the QSHELL then FTP the file. But I'd sure like
to
see what is in this Spool file. Is there a way to change this Spool
File?
Thanks,
Art
_______________________________________________
This is the C programming iSeries / AS400 (C400-L) mailing list
To post a message email: C400-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/c400-l
or email: C400-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/c400-l.



This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.com 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].