cancel
Showing results for 
Search instead for 
Did you mean: 

To access Mainframe Dataset

KTsnap
New Contributor III

Hi All,

I am trying to access a data set which is present in mainframe…the dataset name looks like this : ‘PSSP.CUS.INBND.CUSTOMER’ .

When I try to access same dataset/file through filezilla…i am able to access…
But when am trying from file reader/directory browser by giving path as ftp://host/‘PSSP.CUS.INBND.CUSTOMER’ … Snap sends out error and it says path doesn’t not exist…

Could you please help us if there is any specific format to give dataset name in file reader.

9 REPLIES 9

bojanvelevski
Valued Contributor

You need to encode the special characters with the encodeURIComponent() method. It should look something like this:

"ftp://host/"+encodeURIComponent('‘PSSP.CUS.INBND.CUSTOMER’')

KTsnap
New Contributor III

It didn’t work.Mainframe is is z/os

Recheck quotation marks

KTsnap
New Contributor III

You mean to give the quotes the way you have given in first comment
?