Call the Create Parameter Set API
To create a Parameter, call the API CDR_PUB_DF_PARAMETER_SET.CREATEPARAMETERSET.
Its signature is:
PROCEDURE CREATEPARAMETERSET( 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, X_RETURN_STATUS OUT VARCHAR2, X_MSG_COUNT OUT NUMBER, X_MSG_DATA OUT VARCHAR2, PIO_SOURCECDRNAMING IN OUT CDR_NAMING_VERSION_OBJ_TYPE, PI_CDRPSOBJTYPE IN CDR_PARAM_SETS_OBJ_TYPE, PI_CREATEOBJECT IN VARCHAR2, PI_INSTANCE_SUBTYPE_ID IN CDR_NAMINGS.OBJECT_SUBTYPE_ID%TYPE, PI_DEFCLASSIFICATIONCOLL IN CDR_CLASSIFICATIONS_COLL );
Enter parameter values as follows:
- PIO_PARAMNAMING. Enter CDR_NAMING_VERSION_OBJ_TYPE values as follows:
- company_id =
Enter_your_company_ID
- obj_id = null
- obj_ver = null
- object_type_rc = null
- name = '
Enter_one_of_the_required_names_for_the_Parameter_Set
'Note:
The valid values are:PARAMETERSET_LOADSETLEVEL_DEF
PARAMETERSET_OPERATORLEVEL
PARAMETERSET_LOADSETLEVEL_RUN
- namespace_obj_id =
Enter_your_Adapter_Area's_obj_id
- namespace_obj_ver = 1
- namespace_start_obj_ver = 1
- namespace_end_obj_ver=
cdr_def_constants.cdr_max_def_object_version
- owning_location_rc = null
- checked_out_flag_rc =
'$YESNO$NO'
- checked_out_id = null
- object_subtype_id = null
- description =
'Enter_the_same_value_that_you_entered_for_the_Parameter_Set_name
' - copied_from_company_id = null
- copied_from_obj_id = null
- copied_from_obj_ver = null
- ref_company_id =
Enter_your_company_ID
- ref_obj_id =
Enter_the_obj_ID_of_the_Variable_this_Parameter_references
- ref_obj_ver = 1
- object_version_number = 1
- status_rc =
'$NAMING_STATUS$INSTALLABLE'
- validation_status_rc = null
- version_label = null
- company_id =
- PI_CDRPSOBJTYPE. Enter CDR_PARAM_SETS_OBJ_TYPE values that apply to the Parameter Set definition, as follows:
- company_id =
Enter_your_company_ID
- obj_id = null
- obj_ver = 1
- usage =
'Enter_the_usage_value_required_for_Parameter_Sets_with_this_name'
Note:
The valid values are:DEFINITION
for Parameter Sets namedPARAMETERSET_LOADSETLEVEL_DEF
OPERATOR
for Parameter Sets namedPARAMETERSET_OPERATORLEVEL
EXECUTION
for Parameter Sets namedPARAMETERSET_LOADSETLEVEL_RUN
- pr_ref_id = null
- pr_ref_ver = null
- parameter_set_type_rc = null
- company_id =
Parent topic: Creating a Parameter Set