Be careful! HPLASTSPID will show "only" the $STDLIST's spoolid but not any
spoolid created within the job.
See Help HPLASTSPID
HPLASTSPID A global variable used by the CI that shows the
spoolfile ID for the job identified in the HPLASTJOB
variable; initial value is spoolfile ID of last job.
Type= R S
and HELP HPSPOOLID
HPSPOOLID A global variable used by the CI that shows the
spoolfile ID of the current job, which is the file
name found in the OUT group of the HPSPOOL account;
initial value is the job spoolfile ID. Type= R S
Best regards, Andreas Schmidt, CSC, Germany
[log in to unmask] on 13/03/2000 05:24:32 PM
Please respond to [log in to unmask]
To: [log in to unmask]
cc: (bcc: Andreas Schmidt/GIS/CSC)
Subject: Re: spoolfile id - within job
Why not add the command showvar just before eoj. This should tell you
if a variable has been set by a program or other process. If that
doesn't work you could add !showvar [log in to unmask]
Be advised this is a long list of variables.
k jones wrote:
> within a job, is there a variable or command to get
> the spoolfile number of a report I created in this
> same job?
>
> like the last spoolfile id or something?
>
> tia
> __________________________________________________
> Do You Yahoo!?
> Talk to your friends online with Yahoo! Messenger.
> http://im.yahoo.com
--
Larry Barnes
Director of MIS
Mitek Corp.
4545 E. Baseline Rd.
Phoenix, AZ 85040
[log in to unmask]