Accessing the routine script

  1. Display the list of PVC, using the following command: oc get pvc.
  2. 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: {}
  3. Create the storage volume to use the existing PVC datastage-ibm-datastage-ds-storage-pvc.
  4. Create the connection with the storage volume in your project.
  5. 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