gtpg2m3sGeneral Macros

SELEC-Select a Thread Application Interface

This general macro obtains information an application program requests. The information returned includes:

Format




EQUATES
This indicates that only a list of equates are generated and no executable code is generated. This is an optional parameter.

TYPE
indicates the kind of data being located.

NAME
A name is to be used as a search argument to locate the data. The NAME must be a network qualified name. Blanks may be specified for the network qualifier.

RCPL
This indicates an RCPL is to be used as a search argument to locate the data.

Refer to the Entry Requirements that follow.

AREA
indicates the location of the work area for input and output.

label1
A label that indicates the address of a work area where the input data can be found and that will be used to return the output.

(reg)
A register (R0-R6) that contains the address of a work area where input data can be found and that will be used to return the output.

ERROR
Specified an error processing location.

label2
A label to branch to if the an error is detected by the select-a-thread routine.

Entry Requirements

Return Conditions

Programming Considerations

This macro can be executed on any I-stream.

Examples

  1. SELEC TYPE=NAME,AREA=EBW000,ERROR=ROUTINE
  2. SELEC TYPE=NAME,AREA=(R1),ERROR=ROUTINE

    R1 contains the address of the input and output work area.

    A core block must be attached to the ECB and pointed by R7.

  3. SELEC EQUATES