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



If you can include your CL in the same job, then the job reference of
*CURRENT will work for you.

If not, then look into the data queue option already mentioned by another
contributor. I've used this many times and it is a good solution.

Rich Loeber
Kisco Information Systems
http://www.kisco.com

--------------------------------------------------------------------------

Don Cavaiani wrote:

I'm SORRY - I mean the JOB NUMBER - not the spooled file number.

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Nick W Mart
Sent: Wednesday, May 14, 2008 9:24 AM
To: Midrange Systems Technical Discussion
Subject: Re: CPYSPLF - but don't know the spooled file number

Don,

There are other entries for the spooled file number parameter. These
include *ANY, *ONLY, and *LAST.

HTH,

Nick


----- Original Message -----
From: "Don Cavaiani" <dcavaiani@xxxxxxxxxxxxx>
To: <midrange-l@xxxxxxxxxxxx>
Sent: Wednesday, May 14, 2008 9:14 AM
Subject: CPYSPLF - but don't know the spooled file number




Greetings,

I run a menu step which is a CLP I created and which CALLS an
Outside_Print_Package_Program (CLP & RPG) for which I have no SOURCE


CODE.


The program which loads up requests options, and may then be run
interactively or in batch.

I would prefer this to run in batch all the time, but then I need to
CPYSPLF the printer spooled output file and do some further


processing. I


want to automatically retrieve and fill in the required CPYSPLF


command


options, but I don't think I will know or have access to the "spooled


file


number" (unless I manually look it up) when the job is submitted to


batch.


Is that correct? Am I missing something simple here?

TIA
Don

Don F. Cavaiani
IT Manager
Amerequip Corp.
920-894-7063

"It's amazing what you can accomplish if you don't care who gets the
credit." Harry S. Truman



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



No virus found in this incoming message
Checked by PC Tools AntiVirus (4.0.0.26 - 10.072.008).
http://www.pctools.com/free-antivirus/




No virus found in this outgoing message
Checked by PC Tools AntiVirus (4.0.0.26 - 10.072.008).
http://www.pctools.com/free-antivirus/


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.