FTP to Mainframe-Invalid Dataset Error-FTP Enterprise Stage
Posted: Wed Mar 20, 2013 4:11 pm
I have to FTP a fixed width file from Datastage( windows server) to the Mainframe system.
The file is GDG based in mainframes.
Job design:
Seq file ( fixed width file) ---> FTP enterprise stage
Fixed file name : B190S.PBAS.CPEAR.P(+1).txt
Dataset created in mainframe: TB190S.MAIN
Properties set in FTP enterprise stage
URI = ftp://10.251.245.1/\'TB190S.MAIN.CPEAR\'
ftp command = ftp
Password = *****
User name = MAIN
Transfer mode = FTP
Transfer type = ASCII
Left the format tab with default properties.
The job is giving an error
FTP_Enterprise_0,0: error: ftp returned 501
ftp msg: 501 Invalid data set name "'TB190S.MAIN.CPEAR'". Use MVS Dsname conventions.
Where is the problem here ?
The file is GDG based in mainframes.
Job design:
Seq file ( fixed width file) ---> FTP enterprise stage
Fixed file name : B190S.PBAS.CPEAR.P(+1).txt
Dataset created in mainframe: TB190S.MAIN
Properties set in FTP enterprise stage
URI = ftp://10.251.245.1/\'TB190S.MAIN.CPEAR\'
ftp command = ftp
Password = *****
User name = MAIN
Transfer mode = FTP
Transfer type = ASCII
Left the format tab with default properties.
The job is giving an error
FTP_Enterprise_0,0: error: ftp returned 501
ftp msg: 501 Invalid data set name "'TB190S.MAIN.CPEAR'". Use MVS Dsname conventions.
Where is the problem here ?