24.12.2013 Views

TOPS-10 Monitor Calls Manual Volume 2 AA-K039D ... - Trailing-Edge

TOPS-10 Monitor Calls Manual Volume 2 AA-K039D ... - Trailing-Edge

TOPS-10 Monitor Calls Manual Volume 2 AA-K039D ... - Trailing-Edge

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

CHGPPN [CALLI 74]<br />

22.7 CHGPPN [CALLI 74]<br />

FUNCTION<br />

Changes the project-programmer number (PPN) for the current job. This<br />

call is reserved for the exclusive use of the LOGIN and INITIA<br />

programs.<br />

CALLING SEQUENCE<br />

MOVE ac, [XWD projno,progno]<br />

CHGPPN ac,<br />

error return<br />

skip return<br />

In the calling sequence, you can supply projno,progno as the new<br />

project-programmer number (PPN).<br />

SKIP RETURN<br />

The PPN for the current job is changed to the given number. This call<br />

always takes the skip return when the calling program has [1,2],<br />

JACCT, or POKE privileged, or if the program has CHGPPN privileges as<br />

set by MONGEN.<br />

ERROR RETURN<br />

Occurs if the calling job is already<br />

project or programmer number is zero.<br />

EXAMPLE<br />

MOVE T1, [XWD 27,5031]<br />

CHGPPN T1,<br />

JRST ERROR<br />

logged in, or if either<br />

The ac is unchanged.<br />

the<br />

This code sequence changes the PPN for the current job to 27,5031.<br />

RELATED CALLS<br />

o<br />

o<br />

GETPPN<br />

LOGIN<br />

22-17

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!