Previous Topic

Next Topic

Book Contents

Book Index

Parameters

Table 316 CTMCOD Parameters

Parameter

Description and Values

name

Symbolic name. The name, if specified, must begin in column 1.

CTMCOD

Keyword CTMCOD. One or more blanks must precede and follow the CTMCOD keyword.

function

Valid values:

  • INIT - Initializes the search for a specific code. It must be issued when a new code type is searched for, or when starting a search of the codes area (when no specific code is requested). It does not actually extract the first code of the requested type.
  • GETNEXT - Extracts the next instance of the requested code, or, if no specific code is requested, the next code of the job. The extracted code is placed in field CODOUTC of data area CTMBCOD.
  • PUT - Writes a modified code back to the MIT/MIC codes area. The code to be written back must be extracted through the INIT or GETNEXT function, and remain in field CODOUTC of data area CTMBCOD. The code's ID and length must not be modified. The PUT invocation must immediately follow the INIT or GETNEXT invocation.
  • ADD - Adds a code to the end of the job's MIT/MIC code area. The code to be added must be placed in field CODOUTC of data area CTMBCOD. The code is only added if there is enough free space in the job's MIT/Miss concatenation.

,CODE=code

Specifies the type of code requested from INIT or GETNEXT functions. Optional. If omitted, no specific code type is requested.

,CONTIG=[Y|N]

Indicates if the job’s MIT/Miss reside in a contiguous storage area or are chained.

  • Y (Yes) - The job’s MIT/MICs reside in a contiguous storage area. Default.
  • N (No) - The job’s MIT/MICs are chained using a double-pointing method (i.e., the first full word points to the previous record, the second full word points to the next record and the MIT/MIC itself starts after these pointers).

,MIT=mitaddr

MIT address of the job. Optional. If omitted, the MIT must be addressable.

,MCT=mctaddr

MCT address of the job. Optional. If omitted, the MCT must be addressable.

,NOTOK=label

The address to branch to when the requested code was not found or the function has not completed successfully. Optional.

,OK=label

The address to branch to when the requested function has completed successfully. Optional.

Note: Parameters NOTOK and OK are optional and mutually exclusive.

Parent Topic

CTMCOD Assembler Macro