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



Ed - thanks for the info. I had read the help text for SEQ about *FIFO.
I had it in my head that *fifo would relate to the spooled file "File Nbr".
It
does not. By controlling the open & close of the print files within the
code,
and not leaving it to the compiler, we were able to resolve the problem. You
are right that the only way to guarantee the right order will be to use only
a single spooled file, and I have passed that on to the pgmr.
Jim Franz

----- Original Message ----- 
From: "Ed Fishel" <edfishel@xxxxxxxxxx>
To: "Midrange Systems Technical Discussion" <midrange-l@xxxxxxxxxxxx>
Sent: Friday, August 19, 2005 9:32 AM
Subject: Re: outq order of spooled files-result


> Jim Franz wrote on 08/18/2005 05:16:55 PM:
>
> > Solution was to close print1 then close print2, not letting the
> > ending of the program handle the close.
> >
> > I still think it is wrong for the outq to not process in the order
> > of the file number (which is the order they are opened in).
>
> I think you may be confused by the meaning of SEQ(*FIFO) on an output
> queue. Here is some of the help text for the SEQ parameter of the CHGOUTQ
> command.
>
> *FIFO
>     The queue is first-in first-out within priority for each file.  That
>     means, new spooled files are placed on the queue after all other
>     entries of the same priority.  The following changes place a queue
>     entry after all others of equal priority on the queue.
>
>      o  A change of output priority with the Change Job (CHGJOB) command
>
>      o  A change in status from held (HLD), saved (SAV), closed (CLO),
>         or open (OPN) to available (RDY)
>
>      o  A change in status from available (RDY) to not available (HLD,
>         SAV, CLO, OPN)
>
>      o  A spooled file added to the queue if the file is opened
>
>      o  Using the Change Spooled File Attributes (CHGSPLFA) command to
>         move a spooled file to an output queue which has SEQ(*FIFO)
>         specified
>
> >From earlier discussion I thought I saw a hint that these spooled files
> must always be produced together and in the correct order. If that is the
> case, and if the printer writer is active for this output queue, and if
> other jobs are also placing their spooled files on the output queue, then
> timing situations can occur that may cause other spooled files to be
> printed between these two. This is true for both SEQ(*JOBNBR) and
> SEQ(*FIFO) output queues. If this is a problem, then one solution would be
> to combine the two files into one.
>
> Ed Fishel,
> edfishel@xxxxxxxxxx
>
> -- 
> This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
> To post a message email: MIDRANGE-L@xxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/mailman/listinfo/midrange-l
> or email: MIDRANGE-L-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/midrange-l.
>
>



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.