While looking at the System Improvement Ballot, I noticed that
it called for "programmatic capture of a job number" along with
other STREAM features.
 
There is already an HPLASTJOB variable that tells you
what job was created.
 
FYI,
Ken Hirsch