Identifying the object

You must identify the data object you wish to access. How you identify the object depends on whether the object is permanent or temporary.

Permanent Object: For a permanent object, object_name and object_type work together. For object_name you have a choice: specify either the data set name of the object or the DDNAME to which the object is allocated. The object_type parameter must then indicate whether object_name is a DDNAME or a data set name:
If you specify DSNAME for object_type, indicate whether the object already exists or whether window services is to create it:

Requirement for NEW Objects: If you specify NEW as the value for object_state, your system must include SMS, and SMS must be active.

Temporary Object: To identify a temporary object, specify TEMPSPACE as the value for object_type. Window services assumes that a temporary object is new and must be created. Therefore, window services ignores the value assigned to object_state.