×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Interesting post (and replies) found today on newsgroup comp.sys.ibm.as400.misc

(See below)

Steve Landess
Austin, Texas
(512) 423-0935
-----------------------------------------------

> ----- Original Message ----- 
> Bob Wenner wrote:
> Subject: spool file not found (CPF3303)
>
> Hi...
>    I have a client that runs two queries
> at end-of-day that use the keyword TODAY.
> (gotta re-think that one)
>
>    Well, yesterday afternoon an 18-wheeler took out
> the power and phone pole out front.  Power
> wasn't restored till late last night.  So,
> to run these queries using TODAY the operator
> this morning overrode the system date.
> These two spool entries now view fine
> but when trying to move them to an
> outq/printer we get message CPF3303.
>
> any ideas ?
> thx
> Bob


>> Then Rodney Johnson wrote:
>>
>> Let me guess, you are probably on V5R2.
>>
>> There is an info APAR II13593 regarding changing the system date and
>> time back and its affect on Spool OS code.
>>
>> We had to change our search algorithm for finding a spooled file for the
>> detached spooled file support (spooled files can live and be used
>> without its parent job).  In changing the algorithm, I tried to be
>> "smart" and do it efficiently by searching for a create date and time
>> after the date and time the job started.  Course if you start the job,
>> then set the date/time back before the job started, and then create
>> spooled files, you will get this CPF3303 and other CPF33xx or CPF34xx
>> errors.
>>
>> The info APAR was created, because at the time we felt we could not make
>> the change without significantly impacting the performance for finding a
>> spooled file.  Spool's lack of scalability/performance has become one of
>> the top CPS problems we deal with.
>>
>> We managed to find a way to fix this under PTF SI11929 (we got a lot of
>> calls when daylight savings ended).
>>
>> However, I feel I must stress, setting the date and time back is not a
>> good thing to do.  More functions than Spool in the OS make assumptions
>> that can have bad results when time changes.


>>>Then Bob Wenner wrote:
>>>Subject: Re: spool file not found (CPF3303)


>>> Thanks for the responses...
>>> You're right Rodney OS V5R2.
>>>
>>> I will get that PTF applied...
>>> and change the way that query is run.
>>>
>>> Funny being able to view the
>>> spool entry but nothing beyond that.
>>>
>>> Thanks again...
>>> Bob


>>>> Then Rodney Johnson wrote:
>>>> When we put up the list, we just read the entries and put them to the
>>>> screen.  We don't care when they were created then.
>>>>
>>>> Also, some operations will work from that screen, as we use a pointer
to
>>>> the spooled file instead of accessing the file through the index.
>>>> Operations that typically fail from the panel are 2-Change and 1-Send.
>>>>
>>>> Some operations have different requirements (for support of other OS
>>>> functionality or configurability), thus the reason for different ways
to
>>>> get at the spooled file.  One of the disadvantages to being fully
>>>> integrated OS, vs. a put together system such as Unix/Linux or Windows.
>>>>   Sure they each have a default "integrated" spooler, but most use some
>>>> custom spooler that comes with their printer.

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-2026 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.