> 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?
No, at least not directly as you can for the $STDLIST spoolfile ID.
(HPSPOOLID gives you the spoolfile ID for your own $STDLIST and
HPLASTSPID gives you the $STDLIST spoolfile for the most recently
streamed job.)
I guess you would need to parse LISTSPF output and use a seleq=
that finds just your report.
regards,
Jeff Vance, CSY