FTP Enterprise - read from Mainframe

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
vnspn
Participant
Posts: 165
Joined: Mon Feb 12, 2007 11:42 am

FTP Enterprise - read from Mainframe

Post by vnspn »

Hi,

We would like to know if it is possible to read a file from Mainframe using FTP Enterprise stage. If so, what is the format in which the value has to be given for the URI property. We tried it and were unsuccessful in the attempt.

When we gave the value for URI as,
ftp://<Mainframe_ServerName>/<Complete_Qualifier_of_the_FileName>
The error we got was,
"Not a valid remote file"

When the value of URI was slightly changed as with an additional "/../",
ftp://<Mainframe_ServerName>/../<Complete_Qualifier_of_the_FileName>
The error we got was,
"error: ftp returned 451 Transfer aborted: send error."


Please let us know if anyone could point out some solution for this.

Thanks.
Gerald sui
Participant
Posts: 22
Joined: Wed Jul 18, 2007 2:59 am

Post by Gerald sui »

The format should be like following:

ftp://$FTP_HOST_NAME/'SourceFileName'

Note:Please enclose source file name with two single quotes.

For the fatal error "Not a valid remote file" ,

1.Please check whether your FTP acount is valid
2.Please check if your FTP password is set correctly in your DS job.
3.Please check if there have security level associated with your account .If set like this SECURITY-LEVEL=NONE SPECIFIED,then you need apply it to SECURITY-LEVEL=ERASE
Post Reply