JSTAT - find status of a batch job.

Usage:

call jstat(snumb, status, actnum)

Where:

snumb
is a character expresssion with the snumb of the batch job of interest.
status
is an integer variable where the status is returned.
actnum
is an integer variable where the current activity number will be stored.

Description:

JSTAT is used to find the status, and current activity for a batch job.

Status codes:

0
status changing
1
reading card reader
2
reading magnetic tape
3
reading remote
4
waiting allocation
5
waiting peripherals
6
waiting memory
7
in hold
8
in limbo
9
executing
10
swapped out
11
waiting media
12
too big
13
overdue
14
in restart
15
terminating
16
output waiting
17
output complete
18
not accessible
19
not your job
20
aborted

Copyright © 1996, Thinkage Ltd.