× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.




On 23/01/2007, at 7:45 AM, Frances Denoncourt wrote:

Thanks for all of the previous responses, however..............My
boss's opinion is - if they say they can work with a spooled file then
we will send it to them. My worry is - how the heck do I get it to them
other than all of the wonderful solutions you suggested that we cannot
implement. No PDF, no Infoprint server, etc.

Found a system program QSPGetF that I am trying to use. Not sure what
the output will look like in the db file, but thought I'd give it a
try.

Read this:
http://www-1.ibm.com/support/docview.wss? uid=nas110afe2f98c7f5fb9862565c2007d46a8

Especially the part about it being removed from a future release. It's gone from VRM540.


However, I keep getting this message:" File QPRINT not found in job
417803/TRSFDD/TRSFDDP03"

It really and truly is there.

No, it's not really there. The file your asking for is not the one on the system.

I tried it with other spooled files, too.
Same error. Tried both development and production boxes. We are at
V5R2M0.

Read the above referenced URL. Maximum number of spooled files per job increased at VRM510. QSPGETF changed to accommodate this by using a BIN(4) for spooled file number.


Then I searched for "QSPGETF error" and found my own question from a
couple of years ago where I apparently did call the program - not the
results I wanted but, it didn't abort for this reason.

Then I found this while searching for "QSPGETF changed":

 " I couldn't find it anywhere in the archives and because QSPGETF is
essentially an undocumented API, I couldn't find anything on IBM's
website  about it - but just be warned that the spool number parameter
has changed.  It is now 4 binary, vs. 2 binary at V4R5 and before"

There's your answer.


I don't think that's my problem, though, but here is the call:

call (QSYS/QSPGETF PARM('QPRINT    '          'PRINTWIDE TRSFDD    '
'TRSFDDP03 TRSFDD    417803'   X'00F1'     'TESTAPI'

How long is the X'00F1' field? How long should it be?

Everything seems to be ok as far as field lengths. This is spooled file
#1 for this job. Does anything jump out at you?

What's binary 1 in hexadecimal? It's not X'00F1' Try again.


We are really serious about this now - the Xerox printer and assocated
PCs (iConvert and Xerox) are gone. The new LAN printer is hooked up, but
we won't be using it for those large jobs.

Then you need to find out from your outsourcer exactly how THEY want to receive the "spooled file".


Regards,
Simon Coulter.
--------------------------------------------------------------------
   FlyByNight Software         OS/400, i5/OS Technical Specialists

   http://www.flybynight.com.au/
   Phone: +61 3 9419 0175   Mobile: +61 0411 091 400        /"\
   Fax:   +61 3 9419 0175                                   \ /
                                                             X
                 ASCII Ribbon campaign against HTML E-Mail  / \
--------------------------------------------------------------------



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2024 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].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.