Shawn Gordon wrote:
>
> As with most questions, if you have MPEX you can use the LISTJOB command.
> It sorts the output, show's what program they are in and the group they are
> logged into.
>
> It would probably only take a couple of hours to write a program to use the
> JOBINFO intrinsic to do the same thing. If it hasn't come out already,
> there will be new CI functions to get job information so you could even
> write a command file to do it.
You might also try LISTFILE CI.PUB.SYS,8
In MPEX you could do a REPEAT ... FORJOBS command. Each Job Attribute is
obtained using VEJOBINFO(JobID).Jobattrib but note that some Attributes
will cause the command to abort (such as trying to get a session
atribute for a job or vice-versa). You can even obtain such things as
DTC Port ID for serial connections and IP Addresses for network
connections.