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
?