Use this system macro to query the status of current recoup run options
that are held as bit settings at BK0APIS in the recoup keypoint
(BK0RP). These recoup run options are set by using the ZRECP PROFILE
command. See TPF Operations for more
information about recoup run-time options and the ZRECP PROFILE
command.
Format
- label
- is a symbolic name that can be assigned to the macro statement.
- IFTRUE=label
- specifies a user-defined label in which to branch if a condition is
true.
- CURID=register
- specifies a register that contains the record ID of a record that you want
to compare to the recoup keypoint record. The register specified with
the BASE parameter points to the recoup keypoint.
Notes:
- Register 14 (R14) and R15 must not be used for this
parameter.
- Data level D must contain the save area (BC0SA) block.
- BASE=register
- specifies a register that contains the address of the recoup
keypoint.
- ADR_YES
- checks the status of the ADR_YES option bit and, if the option bit is set
on, branches to the label specified by the IFTRUE parameter.
- ADR_NO
- checks the status of the ADR_NO option bit and, if the option bit is set
on, branches to the label specified by the IFTRUE parameter.
- ERRLOG_RCP
- checks the status of the ERRLOG_RCP option bit and, if the option bit is
set on, branches to the label specified by the IFTRUE parameter.
- ERRLOG_BOTH
- checks the status of the ERRLOG_BOTH option bit and, if the option bit is
set on, branches to the label specified by the IFTRUE parameter.
- FARF_3
- checks the status of the REFFROM_FARF3 option bit and, if the option bit
is set on, branches to the label specified by the IFTRUE parameter.
- FARF_4
- checks the status of the REFFROM_FARF4 option bit and, if the option bit
is set on, branches to the label specified by the IFTRUE parameter.
- FARF_5
- checks the status of the REFFROM_FARF5 option bit and, if the option bit
is set on, branches to the label specified by the IFTRUE parameter.
- FARF_6
- checks the status of the REFFROM_FARF6 option bit and, if the option bit
is set on, branches to the label specified by the IFTRUE parameter.
- FSC_YES
- checks the status of the FSC_YES option bit and, if the option bit is set
on, branches to the label specified by the IFTRUE parameter.
- FSC_NO
- checks the status of the FSC_NO option bit and, if the option bit is set
on, branches to the label specified by the IFTRUE parameter.
- RCP_NONE
- checks the status of the RCP_NONE option bit and, if the option bit is set
on, branches to the label specified by the IFTRUE parameter.
- RCP_ALL
- checks the status of the RCP_ALL option bit and, if the option bit is set
on, branches to the label specified by the IFTRUE parameter.
- REFFROM_YES
- checks the status of the REFFROM_DEACTIVATION option bit and, if the
option bit is set on, branches to the label specified by the IFTRUE
parameter.
- REFFROM_NO
- checks the status of the REFFROM_DEACTIVATION option bit and, if the
option bit is set off, branches to the label specified by the IFTRUE
parameter.
- STATUSCON_YES
- checks the status of the STATUSCON option bit and, if the option bit is
set on, branches to the label specified by the IFTRUE parameter.
- STATUSCON_NO
- checks the status of the STATUSCON option bit and, if the option bit is
set off, branches to the label specified by the IFTRUE parameter.
- ADRNUM=register
- returns the ADRNUM value in the specified register.
- BCHMAX=register
- returns the BCHMAX value in the specified register.
- DIRTIM=register
- returns the directory capture timeout (DIRTIM) value in the specified
register.
- EALOSTMAX=register
- returns the EALOSTMAX value in the specified register.
- FIXERMAX=register
- returns the FIXERMAX value in the specified register.
- REFFMMAX=register
- returns the REFFMMAX value in the specified register.
Entry Requirements
- Register 9 (R9) must contain the address of the ECB being
processed.
- The recoup keypoint (BK0RP) has a general register pointing to it so this
macro can use the labels in the keypoint.
- Scratch registers R14 and R15 must be available for use. Their
contents are preserved across this macro call.
Return Conditions
- Control is returned to the next sequential instruction (NSI).
- The contents of all registers are preserved across this macro call.
Programming Considerations
- The BRPRO macro can be used only by recoup segments.
- Use the BRPRO macro only on the main I-stream.
Examples
BRPRO DIRTIM=R15
BRPRO CURID=R6,IFTRUE=CURLOC,BASE=R3
BRPRO ADR_YES,IFTRUE=GENLOC