This subroutine must be run by that user# in order to function correctly. And it returns the &HOLD& filename, not the spooler number - sorry.
George -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of George Gallen Sent: 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 - THIS SUBROUTINE WILL RETURN IN "JOBNAME" THE CURRENT * SPOOL WILL GO TO. * ********************************************************************* * * _______________________________________________ U2-Users mailing list [email protected] http://listserver.u2ug.org/mailman/listinfo/u2-users
