SPECIFY VIEW

Build a customized view of a given resource table.

Read syntax diagramSkip visual syntax diagram>>-SPECIFY--VIEW(data-value)--FIELDS(data-area)----------------->
 
>--LENGTH(data-value)--OBJECT(data-value)--THREAD(cpsm-token)--->
 
>--RESPONSE(data-ref)--REASON(data-ref)------------------------><
 

Description

This command builds a customized view of a given resource table.

Related commands

DISCARD, GET

Options

FIELDS(data-area)
Identifies a buffer containing the order expression to be used for this operation.

For details on how to use an order expression with the SPECIFY VIEW command, see CICSPlex System Manager Application Programming Guide.

Note:
You cannot specify the EYU_CICSNAME or EYU_CICSREL attributes in an order expression.
LENGTH(data-value)
A fullword value that specifies the length of the FIELDS buffer.
Note:
The buffer length you specify should not include any data other than an order expression.
OBJECT(data-value)
Identifies the resource table for which a view is being created. This value must be the 1- to 8-character name of a valid CICS Resource table. For a list of the CICSPlex SM resource tables by type, see CICSPlex System Manager Application Programming Guide.
REASON(data-ref)
Names a variable to receive the fullword reason value returned by this command.
RESPONSE(data-ref)
Names a variable to receive the fullword response value returned by this command.
THREAD(cpsm-token)
Identifies the API thread to be used for this operation. The cpsm-token value that identifies a thread is returned by the CONNECT command.
VIEW(data-value)
Defines a 1- to 8-character name for the view being built.

Conditions

The following is a list of the RESPONSE values that can be returned by the SPECIFY VIEW command. The description of each RESPONSE includes a list of associated REASON values, if appropriate.

OK
The command completed processing successfully.
DUPE
A duplicate condition occurred for the following reason:
VIEW
The specified view already exists and cannot be built.
ENVIRONERROR
An environment error occurred for one of the following reasons:
NOSERVICE
The application stub program could not load the API service module.
NOSTORAGE
The application stub program could not obtain the necessary storage in the address space where the processing thread is running.
SOCRESOURCE
A required resource that is owned by the CMAS is not available.
FAILED
The command failed for one of the following reasons:
ABENDED
Command processing abended.
EXCEPTION
Command processing encountered an exceptional condition.
INVALIDCMD
The command is invalid for the following reason:
LENGTH
The total length of all the options on the command exceeds the maximum limit.
INVALIDPARM
An invalid parameter was detected in either the command string or the FIELDS buffer. The parameter that is invalid is returned as the reason value:
  • ATTRIBUTE
  • FIELDS
  • LENGTH
  • OBJECT
  • THREAD
  • VIEW.
Check the command description for valid parameter syntax.
NOTAVAILABLE
A not available condition occurred for one of the following reasons:
APITASK
The API control subtask is not active.
CPSMAPI
The CMAS to which the processing thread is connected is not available for API processing.
NOTFOUND
A not found condition occurred for the following reason:
ATTRIBUTE
An attribute specified in the FIELDS buffer was not found for the specified resource table.
SERVERGONE
The CMAS to which the processing thread was connected is no longer active.
TABLEERROR
A resource table record is invalid for one of the following reasons:
DATAERROR
The value associated with one or more resource table attributes is invalid. This error can occur if the resource table is missing required attributes, contains one or more conflicting attributes, or does not exist. Use the FEEDBACK command to retrieve additional data about this error.
INVALIDVER
The specified version of the resource table is not supported by CICSPlex SM.
VERSIONINVL
A version conflict occurred for one of the following reasons:
NOTSUPPORTED
The version of the application stub program used for this command is not supported.
NOTVSNCONN
The version of the application stub program used for this command is not the same as the version used with the CONNECT command.
[[ Contents Previous Page | Next Page Index ]]