Indicating whether large objects are permitted in a pubset
Existing pubsets can be upgraded to large pubsets with the SET-PUBSET-ATTRIBUTES command.
The following two operands determine whether large objects are permissible:
/SET-PUBSET-ATTRIBUTES ...,LARGE-VOLUMES=*UNCHANGED/*ALLOWED(
LARGE-FILES=*UNCHANGED/*ALLOWED)
The LARGE-VOLUMES operand determines whether the pubset may contain large volumes. The default setting *UNCHANGED specifies that the previous setting is retained. If *ALLOWED is specified, the pubset may contain large volumes. This setting cannot be undone.
The LARGE-FILES operand determines whether large files may also be created on these large volumes.
The default setting *UNCHANGED specifies the previous setting is retained.
If *ALLOWED is specified, large files may be stored. This setting cannot be undone.
Changes to the LARGE_OBJECTS attributes only take effect the next time the pubset is initialized (using the IMPORT-PUBSET command).
Outputting pubset attributes
Pubset attributes are output with the SHOW-PUBSET-ATTRIBUTES command.
Example of the output of /SHOW-PUBSET-ATTRIBUTES for the TST pubset
/sh-pub-attr tst % %=========================================================================== % PVSID SYSID SHAREABILITY CURRENT DESIGNATED BACKUP ALTERNATE % MASTER MASTER MASTER BACKUP %--------------------------------------------------------------------------% TST 250 *YES 126 126 124 *BY-OPER %=========================================================================== % DEFAULT-STORAGE-TYPE LARGE VOLUMES LARGE FILES SNAPSET LIMIT %--------------------------------------------------------------------------% *PUBLIC-SPACE *ALLOWED *FORBIDDEN 0 %=========================================================================== %
In the S variable output of the SHOW-PUBSET-ATTRIBUTES command, these specifications are shown in the following two S variables:
var(*LIST).LARGE-VOL
var(*LIST).LARGE-FILE
Contents of both S variables: *NOT-ALLOW or *ALLOW.
Example of the output to the TESTOUT S variable
/decl-var testout(type=*struct),mult-elem=*list /exec-cmd cmd=(show-pub-attr work),text-output=*no,struct-output=testout /sh-var testout TESTOUT(*LIST).PUBSET = WORK TESTOUT(*LIST).PUBSET-TYPE = *STANDARD TESTOUT(*LIST).CONTROL-VOLSET = TESTOUT(*LIST).SYS-ID = 250 TESTOUT(*LIST).SHARE = *YES TESTOUT(*LIST).LARGE-VOL = *ALLOW TESTOUT(*LIST).LARGE-FILE = *NOT-ALLOW TESTOUT(*LIST).CURR-MASTER = 126 TESTOUT(*LIST).DESIGNATED-MASTER = 126 TESTOUT(*LIST).ALT-MASTER = *NONE TESTOUT(*LIST).BACKUP-MASTER = 124 TESTOUT(*LIST).ALT-BACKUP = *BY-OPER TESTOUT(*LIST).SNAPSET-LIMIT = 0 TESTOUT(*LIST).DEFAULT-STORAGE-TYPE = *PUBLIC-SPACE