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 object_name is a DDNAME, specify DDNAME as the
value for object_type.
- If object_name is a data set name, specify DSNAME
as the value for object_type.
If you specify DSNAME for
object_type, indicate whether the object
already exists or whether window services is to create it:
- If the object already exists, specify OLD as the value for object_state.
- If window services is to create the object, specify NEW as the
value for object_state.
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.