NetBatch Management Programming Manual
Commands and Responses
NetBatch Management Programming Manual—522462-003
5-53
STATUS ATTACHMENT-SET Command
STATUS ATTACHMENT-SET Command
The STATUS ATTACHMENT-SET command lists attachment sets and the names and 
owners of jobs using those sets. 
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 STATUS ATTACHMENT-SET 
command is:
ZBAT−TKN−ATT−SET−ID
specifies an attachment set or a range of attachment sets in the form:
[ ( user-ID ) ] attachment-set-ID
user-ID
specifies a user ID or, when specified with either or both of the asterisk (*) 
and question mark (?) wild-card characters, a range of user IDs. (user-ID 
must be in group-name.user-name or group-ID,user-ID form.) The 
default is the user ID of the current user. 
attachment-set-ID
is one of:
attachment-set-name
specifies the name of an attachment set owned by user-ID or, when 
specified with either or both of the asterisk (*) and question mark (?) 
wild-card characters, a range of names of attachment sets owned by 
user-ID. 
Command
 ZBAT-CMD-STATUS
Object Type
 ZBAT-OBJ-ATT-SET
Tokens in Command Buffer
 ZBAT−TKN−ATT−SET−ID   token-type ZSPI-TYP-STRING.!{}
 ZSPI-TKN-COMMENT    token-type ZSPI-TYP-STRING.
 ZSPI-TKN-CONTEXT    token-type ZSPI-TYP-BYTESTRING.
Tokens in Response Buffer
 ZSPI-TKN-DATALIST    token-type ZSPI-TYP-LIST.
 ZBAT−TKN−ATT−SET−ID  token-type ZSPI-TYP-STRING.!{}
 ZBAT-TKN-JOB-ID    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.
 ZSPI-TKN-CONTEXT    token-type ZSPI-TYP-BYTESTRING.










