Accessing the routine script
- Display the list of PVC, using the following command:
oc get pvc. - Add the
zen_storage_volume_include: "true"label to the PVC. See the example below:# oc get pvc datastage-ibm-datastage-ds-storage-pvc -o yaml | grep zen_storage_volume_include # oc label pvc datastage-ibm-datastage-ds-storage-pvc zen_storage_volume_include=true persistentvolumeclaim/datastage-ibm-datastage-ds-storage-pvc labeled # oc get pvc datastage-ibm-datastage-ds-storage-pvc -o yaml | grep zen_storage_volume_include zen_storage_volume_include: "true" f:zen_storage_volume_include: {} - Create the storage volume to use the existing PVC
datastage-ibm-datastage-ds-storage-pvc. - Create the connection with the storage volume in your project.
- Import the ISX file in the project, using the following commands:
- for the before/after sub routines:
/ds-storage/projects/<projectName>/scripts/DSU.<RoutineName>.sh - for a pipeline routine:
sh /mnts/ds-storage/projects/hui-project-new/scripts/DSU.customRoutineUtilityMessageToLog.sh
- for the before/after sub routines: