IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

FTP error with CA product download


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Madhaviy

New User


Joined: 30 Oct 2009
Posts: 37
Location: India

PostPosted: Thu Jan 12, 2012 5:21 pm
Reply with quote

Hi,

I am trying to dowload a product from CA site to mainframes using pax enhanced ESD. I am using following set of commands in JCL provided by CA:
//INPUT DD *
ftpdownloads.ca.com
ANONYMOUS husachde@in.ibm.com
LCD /SERVICE/pax/
BINARY
GET /186767/10259909/
QUIT


The GET command fails with
EZA1736I GET /186767/10259909/
EZA2554W Get fails: /SERVICE/pax/ is a directory.

From the manual:
EZA2554W cmd fails: filename is a directory.
Explanation:
The file that is named is a directory. The get, put, and append commands do not support file transfer for a directory file.


This picks the directory name from a previous command LCD.

Then i created a file /SERVICE/pax/abc and put the same in LCD.
The LCD command fails due to this.
EZA1736I LCD /SERVICE/pax/abc
EZA2580E LCD cmd failed : EDC5135I Not a directory. (errno2=0x0519004F)

Now this is a paradoxical situation LCD only takes a directory and GET doesnt take a directory.

Thanks in advance for the help.
Back to top
View user's profile Send private message
Madhaviy

New User


Joined: 30 Oct 2009
Posts: 37
Location: India

PostPosted: Thu Jan 12, 2012 5:34 pm
Reply with quote

I then tried the commands as following:
//INPUT DD *
ftpdownloads.ca.com
ANONYMOUS husachde@in.ibm.com
LCD /SERVICE/pax/
BINARY
GET /186767/10259909/ /SERVICE/pax/abc
QUIT

and i get the following:

EZA1460I Command:
EZA1736I GET /186767/10259909/ /SERVICE/pax/acf
EZA1701I >>> PORT 10,1,16,36,64,160
200 PORT command successful.
EZA1701I >>> RETR /186767/10259909/
550 /186767/10259909/: Is a directory
EZA1460I Command:
EZA1736I QUIT
EZA1701I >>> QUIT
221 Goodbye.

Now /186767/10259909/ is what was given after the FTP request is processed by CA.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu Jan 12, 2012 5:39 pm
Reply with quote

Did you try a DIR or LS in FTP on /186767/10259909/ to find out for sure if this is a file or a directory?

Did you try MGET?

Diid you contact CA support for assistance?
Back to top
View user's profile Send private message
Madhaviy

New User


Joined: 30 Oct 2009
Posts: 37
Location: India

PostPosted: Thu Jan 12, 2012 5:49 pm
Reply with quote

I did LS in FTP and found that this is indeed a directory and there is file inside this 150000AJ100.pax.Z.
So i modified the GET command as:
EZA1736I GET /186767/10259909/150000AJ100.pax.Z /SERVICE/pax/abc (REPLACE

And it worked!

Thanks for the help.

Regards,
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Error while running web tool kit REXX... CLIST & REXX 5
No new posts Getting Error while trying to establi... DB2 3
Search our Forums:

Back to Top