NetBatch Manual

Attributes
NetBatch Manual522460-004
7-100
SECURITY Attachment-Set Attribute
Examples
The attachment set added in this example adopts the default SECURITY attribute:
3} CHANGEUSER NB.USER psswrd
3} ADD ATTACHMENT-SET MYSET, (DEFINE =_DEFAULTS, VOLUME
$A.NB), TEMPORARY ON
Attachment-set (NB.USER)MYSET added
4} INFO ATTACHMENT-SET MYSET, DETAIL
ATTACHMENT-SET ATTRIBUTES for (NB.USER)MYSET
security: "UUUU"
temporary: On
attachments: DEFINE =_DEFAULTS, CLASS DEFAULTS, VOLUME
$A.NB
This example shows an attachment set’s SECURITY attribute preventing a user
from displaying the set’s ASSIGN, DEFINE, and PARAM attributes:
10} CHANGEUSER SUPER.FPP psswrd
10} ADD ATTACHMENT-SET MNGRS, (DEFINE =_DEFAULTS, VOLUME
$ADMIN.STAFF), (ASSIGN SALARY-FILE, STAFF.SALARIES),
(PARAM SALARY 100000), SECURITY "GOGO"
Attachment-set (SUPER.FPP)MNGRS added
11} INFO ATTACHMENT-SET MNGRS, DETAIL
ATTACHMENT-SET ATTRIBUTES for (SUPER.FPP)MNGRS
security: "GOGO"
temporary: Off
attachments: DEFINE =_DEFAULTS, CLASS DEFAULTS, VOLUME
$ADMIN.STAFF
ASSIGN SALARY-FILE, STAFF.SALARIES
PARAM SALARY 100000
12} CHANGEUSER NB.USER psswrd
12} INFO ATTACHMENT-SET (SUPER.FPP)MNGRS, DETAIL
ATTACHMENT-SET ATTRIBUTES for (SUPER.FPP)MNGRS
Table 7-3. Attachment-Set Access
Command Required RWEP Access
ADD NA
ALTER Write access
ASSSUME NA
DELETE Purge accessto delete an entire attachment set
Write accessto delete specified ASSIGNs, DEFINEs, and PARAMs from an
attachment set
INFO Read access—to display an entire attachment set
Not applicable—to display attachment-set-ID, and SECURITY and
TEMPORARY attributes only
RESET NA
SET NA
STATUS NA