getjobid [-csv] [pid ...]
getjobid -j [-csv] [qualified-job ...]
Description
The getjobid utility writes the qualified job name and process ID for the specified process to standard output. The qualified job name is a string in the form number/user/name. The number is a six-digit decimal number, user is the user profile under which the job was started, and name is the name of job.
In the first synopsis form, the process is identified using the process ID. In the second synopsis form, the process is identified using the qualified job name.
When the -v option is specified, getjobid displays the process ID, parent's process ID, process group, current status, and qualified job name for the specified process.
Note: | This utility is unique to i5/OS(TM). |
Options
Operands
Each pid is the decimal process ID of an active process on the system. When pid is not specified, getjobid displays information for the current process.
Each qualified-job is the qualified job name of an active process on the system. The qualified job name is a string in the form number/user/name. The number is a six-digit decimal number, user is the user profile under which the job was started, and name is the name of job.
Exit Status
Related information
Examples
getjobid
getjobid -v 318 942 1130
getjobid -s 325
getjobid -jv 325411/SHELLTST/QZSHCHLD