call lsnum(snumb)
LSNUM allows a TSS program to get the snumb of the last TASK or batch job submitted from the current terminal session.
Copyright © 1996, Thinkage Ltd.