gtps1m44System Macros

PFSWC-Reset Pool Function Switch

Use this system macro to generate inline code to reset (that is, set to zero) a pool function switch.

A bit switch is assigned to various mutually exclusive pool functions. A pool function switch is set on (that is, set to 1) by the file pool maintenance and initialization scheduler (CYAA) when activating the associated function. The program performing the pool function resets the switch when appropriate.

These switches provide the means of preventing an operator from inadvertently cycling the TPF system when a pool function is active.

Format




Notes:

  1. symbol1 also called P1

  2. symbol2 also called P2

  3. symbol3 also called P3

label
A symbolic name can be assigned to the macro statement.

symbol1
This positional parameter can be coded as LIST, W, or R.

LIST
Only a list of equates as required by the file pool maintenance and initialization scheduler (CYAA) is generated

W
Indicates that storage is unprotected and may be written to.

R
Indicates that storage is protected and must be unprotected.

symbol2
This parameter is coded as one of the pool function switches.

CPFDFPC
Display File Pool Counts.

CPFGAFA
CRAS-Get File Pool Address.

CPFRECP
RECOUP.

CPFDEAC
Pool Directory Capture.

CPFRFPC
Reconcile File Pool Counts.

CPFDUPD
Pool Directory Update.

CPFSDEA
Son Pool Area Deactivation.

CPFGFSP
GFS Parameter Program.

CPFRADM
STA/STP 2314 GFS Randomizer.

CPFPOOL
Miscellaneous SON Pool Functions.

symbol3
Specify one of the following:

W
Storage is left unprotected.

R
Storage is left protected.

Entry Requirements

R9 must contain the address of the ECB being processed.

Return Conditions

Programming Considerations

This macro can be run on the main I-stream only.

Examples

PFSWC LIST

This invocation only generates a list of equates.

PFSWC W,CPFPOOL,W

This invocation indicates that the switch for SON POOLs is unprotected. It is reset and left unprotected upon completion.

PFSWC W,CPFPOOL,R

This invocation indicates that the switch for SON POOLs is unprotected. It is reset but protected again upon completion.

PFSWC R,CPFPOOL,W

This invocation indicates that the switch for SON POOLs is protected. The switch is unprotected, reset, and left unprotected upon completion.

PFSWC R,CPFPOOL,R

This invocation indicates that the switch for SON POOLs is protected. The switch is unprotected, reset, and made protected again upon completion.