NetBatch Management Programming Manual

Commands and Responses
NetBatch Management Programming Manual522462-003
5-12
ADD ATTACHMENT-SET Command
ADD ATTACHMENT-SET Command
The ADD ATTACHMENT-SET command adds an attachment set to a scheduler.
Tokens in Command Buffer
For information on the tokens present in the command buffer, see Section 4, Common
Definitions. Information on the tokens specific to the ADD ATTACHMENT-SET
command is:
ZBATTKNATTSETID
specifies an attachment-set ID in the form:
[ ( user-ID ) ] attachment-set-name
user-ID
specifies the user ID of the attachment-set owner. (user-ID must be in
group-name.user-name or group-ID,user-ID form.) The default is
the ID of the current user.
attachment-set-name
specifies the name of the attachment set. The name can contain 1 through
24 letters and numbers. It also can contain hyphens but must begin with a
letter and end with a letter or number. The name cannot contain spaces.
Omitting ZBATTKNATTSETID from the command buffer has the same effect
as using #CURRENT in the BATCHCOM command ADD ATTACHMENT-SET. The
scheduler automatically assigns attachment-set ownership to the current user and
generates a number as the set identifier. The scheduler returns the attachment-set
ID it generates in the response buffer token ZBATTKNATTSETID.
Command
ZBAT-CMD-ADD
Object Type
ZBAT-OBJ-ATT-SET
Tokens in Command Buffer
ZBATTKNATTSETID token-type ZSPI-TYP-STRING.
ZBATTKNATTSETASSIGN token-type ZSPI-TYP-BYTESTRINg.!…
ZBATTKNATTSETDEFINE token-type ZSPI-TYP-BYTESTRING.!…
ZBATTKNATTSETPARAM token-type ZSPI-TYPBYTESTRING.!…
ZBATTKNATTSETSECURITY token-type ZSPI-TYP-INT.
ZBATTKNATTSETTEMPORARY token-type ZSPI-TYP-BOOLEAN.
ZBAT-TKN-VOLUME-SUBVOL token-type ZSPI-TYP-BYTESTRING.
ZSPI-TKN-COMMENT token-type ZSPI-TYP-STRING.
Tokens in Response Buffer
ZSPI-TKN-DATALIST token-type ZSPI-TYP-LIST.
ZBATTKNATTSETID token-type ZSPI-TYP-STRING.
ZSPI-TKN-ERRLIST token-type ZSPI-TYP-LIST.
ZSPI-TKN-ENDLIST token-type ZSPI-TYP-SSCTL.
ZSPI-TKN-RETCODE token-type ZSPI-TYP-ENUM.!{}
ZSPI-TKN-ENDLIST token-type ZSPI-TYP-SSCTL.