SHARE Control Statements

The SHARE control statement directs EREP to combine errors for any device that is shared between processors or systems. The report associates all the errors for that device with the device address rather than with the different processors.

You can use SHARE statements to influence the way EREP assigns hexadecimal identifiers to the processors shown in the reports. See How EREP Assigns Numbers to CPUs for details.

Indicates

The paths to devices shared by processors.

Syntax

Read syntax diagramSkip visual syntax diagram
              .-,-------------------------------.      
              V                                 |      
>>-SHARE=--(----+-----+--cpuser.--+-ccua------+-+--)-----------><
                '-XA.-'           +-ccuX------+        
                                  '-ccua-ccua-'        

[XA.]cpuser
Is a six-digit hexadecimal CPU serial number (digits 0–F). Use cpuser to indicate that the processor is running in 370 mode. Use XA.cpuser to indicate that the processor is running in 370XA mode.
ccua
Is a three- or four-digit hexadecimal channel-control unit-device address or device number (digits 0–F). The first digit is the channel designated to the operating system as the primary CUA for the device.
ccuX
Is a two- or three-digit hexadecimal channel-control unit number with X indicating all the device addresses (0–F) attached to that control unit.
ccua-ccua
Is a range of continuous addresses. The low end of the range must be first. The range must be at least one, and cannot exceed 32.

Defaults

None.

If you omit this control statement, EREP presents each device’s error records by device type.

If a device is shared between processors or systems and you omit this control statement:
  • The EREP reports present the error records by processor and device type.
  • The message, IFC221I NO SHARE CARD is generated and the job completes with a return code of 4 (RC=4).

Coding

Notes

Examples

The following sections give you more detailed instructions and examples: