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 14<br />

PREPRM, PREPRO, PREPF$, and<br />

POSTPR$<br />

PREPRM, PREPRO, and PREPF$ are preprocessor routines; POSTPR$ is a<br />

postprocessor routine. The preprocessor routines assign input and output files to a<br />

processor. The postprocessor routine frees files that were assigned by a preprocessor<br />

routine.<br />

14.1. PREPRO, PREPRM–Preprocessor Routines<br />

PREPRO is designed for use by processors that require three fields on the processor call<br />

statement. The processor calling PREPRO can use up to the maximum 63 fields but<br />

PREPRO will only process the first three fields. Some of the OS 2200 processors that<br />

use PREPRO are ACOB, Collector (MAP), FTN, LINK, and MASM.<br />

PREPRM is designed for use by processors that require two fields on the processor call<br />

statement. The processor calling PREPRM can use up to the maximum 63 fields but<br />

PREPRM will only process the first two fields. Two of the OS 2200 processors that use<br />

PREPRM are ELT and PDP.<br />

See the ECL and FURPUR <strong>Reference</strong> <strong>Manual</strong> for a complete description of the processor<br />

call statement. The general format of the processor call statement is<br />

@[label:]processor[,options] field-1,field-2,field-3,...,field-n<br />

PREPRO dynamically attaches internal filenames to the filenames specified in the first<br />

three fields as follows: SI$$ is attached to field-1, RO$$ is attached to field-2, and SO$$<br />

is attached to field-3. Therefore, field-1 is commonly referred to by the mnemonic SI,<br />

field-2 as RO, and field-3 as SO.<br />

field-1 (SI) is expected to contain the symbolic input to the processor. PREPRO checks<br />

that the element specified is typed as symbolic (element type 01).<br />

field-2 (RO) is expected to contain an output element and may be used for executable,<br />

object module, omnibus, relocatable, or symbolic output. If the Relocatable Output<br />

Routine (ROR) will be used, then field-2 (RO) specifies the relocatable output element.<br />

field-3 (SO) is typically used for the updated symbolic output element if corrections are<br />

applied to the input symbolic element in field-1 (SI). If the Symbolic Input/Output<br />

Routine (SIR$) will be used then field-3 (SO) specifies the symbolic output element.<br />

7833 1733–004 14–1

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

Saved successfully!

Ooh no, something went wrong!