Hi Gerhard,
Thank you for the info, I read the info on the link provided by you and tried some things but did not work though i found some more information here (https://dataplatform.cloud.ibm.com/docs/content/wsj/analyze-data/ml-orchestration-storage-data-access.html?context=wx), but it was also not helpful.
------------------------------
Sheikh Suleman
Frankfurt am Main
------------------------------
Original Message:
Sent: Tue June 11, 2024 03:43 AM
From: Gerhard Paulus
Subject: How to get the correct path for files in bucket in IBM COS to use in "Run Bash Script" Stage in Watson Pipeline
Hi Sheikh Suleman,
sharing files between DataStageFlows/-Jobs and Watson Pipelines is not that easy.
You have to use PVCs and mounted in the DataStage and Pipeline Pods.
https://www.ibm.com/docs/en/cloud-paks/cp-data/4.8.x?topic=pipeline-storage-data-access#sharing-files-between-datastage-and-pipelines
I am not really sure if this works with IBM Cloud Object Storage (on IBM Cloud) and Run Bash Node within a Watson Pipeline ... I have to test it further.
Regards,
Gerhard
------------------------------
Gerhard Paulus
Original Message:
Sent: Mon June 10, 2024 10:18 AM
From: Sheikh Suleman
Subject: How to get the correct path for files in bucket in IBM COS to use in "Run Bash Script" Stage in Watson Pipeline
HI, i was trying to run cat command to open a txt file(table_list_ALLGEMEIN_ALL.txt) in "Run Bash Script" Stage in a pipeline but i am getting error " No such file or directory". My file is present in a bucket in cloud object storage . I am giving following command
cat Full_Bucket_name/DataStage/files/Pipeline/table_list_ALLGEMEIN_ALL.txt.
Does anyone face similar issue or sorted this out of how to give the correct Path of the file present in Bucket in COS?
![](https://dw1.s81c.com//IMWUC/MessageImages/4abf1e269edf4b2a99f0082355e2868c.png)
------------------------------
Sheikh Suleman
------------------------------