We have a situation where it would be ideal to determine the status of a given $JOB.
Ideally, we could create a function like $ZJOB(jobnumber) = (1=active,0=inactive).
Before we recreate the wheel, we wanted to check to see if you already have something that would work.
$zgetjpi(pid,"ISPROCALIVE")