Get file (Dataset) content from mainframe

Hi,

I have my input data for one of my service in mainframe as Dataset. To get the content, I am logging into the mainframe server using 'client.ftp:login’ service and setting the string as 'SITE LRECL=512 RECFM=FB’ in ‘client.ftp:quote’ service. Then trying to get data using the ‘client.ftp:get’ service with my dataset name as remoteFile. But I am getting ‘Dataset not found exception’. Is this the right way to get data from mainframe or any other ways to obtain the content. Any help would be much appreciated.

  • Dinakar.

The steps mentioned are working fine now. The Dataset was really not there and this is because I was given information about the existance of this Dataset in our environment when I am working for another environment.

  • Dinakar.
1 Like