Using z/OS individual Broadcast datasets, is there a way to not have to write individual rules for every TSO user?

Document ID : KB000028510
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

Broadcast dataset are set up as (userHLQ).BRODCAST. Is there any easy way to write rules to allow access so the SEND command will work if the user is not logged on?

Solution:

In the SYS1.PARMLIB member IKJTSOxx in use on your system, there are two parms of interest, MSGPROTECT and LOGNAME. LOGNAME decides the name of the broadcast dataset, and MSGPROTECT decides the order. With MSGPROTECT(OFF), the broadcast format is userid."logname". With MSGPROTECT(ON) the broadcast format is "logname".userid. So if you have:

LOGNAME(MAIL)
MSGPROTECT(OFF)

Then you will have userid.MAIL for the individual broadcast datasets. With:

LOGNAME(MAIL)
MSGPROTECT(ON)

Will give you MAIL.userid. This would be the method to ease the writing of the rules. Then you can write one rule record for all userids.

$KEY(MAIL)
- UID(*) W(A)