Were you looking for the last job# for That user# or the last job# by any user?
If for that user# we use the following:
SUBROUTINE RETURN.SETPTR(JOBNAME,PON)
*
* RETURN-SETPTR - THIS SUBROUTINE WILL RETURN IN JOBNAME THE CURRENT
* SPOOL WILL GO TO.
*
: Monday, October 31, 2011 10:17 AM
To: U2 Users List
Subject: Re: [U2] Obtain the last spool number Universe generated
Were you looking for the last job# for That user# or the last job# by any user?
If for that user# we use the following:
SUBROUTINE RETURN.SETPTR(JOBNAME,PON)
*
* RETURN-SETPTR