18.08.2013 Views

(SYSLIB) Programming Reference Manual - Public Support Login ...

(SYSLIB) Programming Reference Manual - Public Support Login ...

(SYSLIB) Programming Reference Manual - Public Support Login ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Section 7<br />

CONWRD$–Condition Word Routine<br />

The CONWRD$ routine manipulates bits 7 and 8 of the condition word (bit 0 is the<br />

leftmost bit of the word). These bits indicate whether a task completed successfully or<br />

unsuccessfully, and are defined as follows:<br />

Bit 7 If set, one or more previous tasks had an error.<br />

Bit 8 If set, the most recent task had an error.<br />

See the Exec ER <strong>Programming</strong> <strong>Reference</strong> <strong>Manual</strong> for details on the condition word. The<br />

EXEC extensions to ER SETC$ and @SETC that use bits 7 and 8 of the condition word<br />

are in level 38R2 and higher levels.<br />

CONWRD$ can be called from both MASM or PLUS routines. CONWRD$ is available as<br />

a relocatable element in the <strong>SYSLIB</strong> file (SYS$LIB$*<strong>SYSLIB</strong>) or SYS$*RLIB$ and also in<br />

the <strong>SYSLIB</strong> common bank <strong>SYSLIB</strong>$1. The relocatable and common bank entry points to<br />

CONWRD$ are listed in Appendix E.<br />

7.1. MASM Interface<br />

CONWRD$ is called with the MASM PROC C$ONWRD. This PROC can call CONWRD$<br />

as a relocatable element, a common bank element, or a common bank element using<br />

the Auto Switch method.<br />

CONWRD$ does not return any parameters or status codes to the caller.<br />

Calling format<br />

C$ONWRD[,t] func<br />

normal return<br />

7833 1733–004 7–1

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

Saved successfully!

Ooh no, something went wrong!