Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!princeton!allegra!ulysses!mhuxt!ihnp4!inuxc!iuvax!bsu-cs!corwin From: corwin@bsu-cs.UUCP Newsgroups: comp.os.vms Subject: Re: Where are PCB$ and SCH$ defines?? Message-ID: <576@bsu-cs.UUCP> Date: Sun, 10-May-87 03:32:07 EDT Article-I.D.: bsu-cs.576 Posted: Sun May 10 03:32:07 1987 Date-Received: Sun, 10-May-87 11:39:48 EDT References: <162@siemens.UUCP> <2079@sargas.usc.edu> Organization: CS Dept, Ball St U, Muncie, Indiana Lines: 24 In article <2079@sargas.usc.edu>, tli@sargas.usc.edu (Tony Li) writes: >> In article <162@siemens.UUCP> jrv@siemens.UUCP (James R Vallino) writes: >> >> I am attempting to use SYS$GETJPI to find information about processes. >> Two of the items of information which I need are JPI$_STATE and JPI$_STS. >> The returned values make use of SCH$ and PCB$ defines respectively. > > Look in LIB.MLB. > If you are calling SYS$GETJPI from VAX C, you can convert the LIB.MLB $EQUs to #defines in a jpidef.h. If you want jpidef.h, I have a copy (around here on our cluster somewheres...), as well as syidef, uaidef... Alternatively, you can just plug hex values into the SYS$GETJPI call,but if you are doing a lot of calls to SYS$GETJPI a jpidef.h is probably easier. Also if in VAX C, watch out for the 0 terminator of the item list... I forgot to include it, and hadn't a clue as to all my access violations... -- Paul "Corwin" Frommeyer "Experience is no substitute for competence." UUCP: {seismo,ihnp4}!{iuvax,pur-ee}!corwin