Identify whether a SAS Object

Use this API to check if the parent object of the Planned Output is a SAS object. SAS objects are: SAS programs, SAS load Sets, SAS Tables.

Name

CDR_PUB_DF_PLANNED_OUTPUT.IsSASObject

Signature

FUNCTION ISSASOBJECT( 
  P_API_VERSION  IN    NUMBER, 
  P_INIT_MSG_LIST  IN    VARCHAR2 := CDR_PUB_DEF_CONSTANTS.G_FALSE, 
  P_COMMIT  IN    VARCHAR2 := CDR_PUB_DEF_CONSTANTS.G_FALSE, 
  P_VALIDATION_LEVEL  IN    NUMBER := CDR_PUB_DEF_CONSTANTS.G_VALID_LEVEL_FULL, 
  PI_NCOMPANYID  IN    CDR_NAMINGS.COMPANY_ID%TYPE, 
  PI_NOBJID  IN    CDR_NAMINGS.OBJ_ID%TYPE, 
  PI_NOBJVER  IN    CDR_NAMING_VERSIONS.OBJ_VER%TYPE, 
  PI_NSOBJTYPE  IN    CDR_NAMINGS.OBJECT_TYPE_RC%TYPE 
) RETURN VARCHAR2; 

Return

Type VARCHAR2 Description

Parameters

This API has standard parameters (see Standard Parameters) and the following parameters:

  • PI_NCOMPANYID (Mandatory) Enter your company ID.

    To get your company ID, use CDR_PUB_DEF_FACTORY_UTILS.GetCompanyId.

  • PI_NOBJID (Mandatory) Enter the object ID of the Planned Output's parent object.
  • PI_NOBJVER (Mandatory) Enter the version number of the Planned Output's parent object.
  • PI_NSOBJTYPE (Mandatory) Enter the OBJ_TYPE value for the Planned Output's parent object.