Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

FTP error with CA product download

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
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    Post subject: FTP error with CA product download
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    Post subject: Reply to: FTP error with CA product download
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: 8132
Location: East Dubuque, Illinois, USA

PostPosted: Thu Jan 12, 2012 5:39 pm    Post subject:
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    Post subject: Reply to: FTP error with CA product download
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    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts DB2 Program abending without giving a... rahulgarg14 DB2 7 Mon May 29, 2017 8:10 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts IDC2902I Error tzeche ABENDS & Debugging 2 Tue Mar 28, 2017 11:39 am
No new posts Need help with below DB2 error ashek15 DB2 3 Sat Mar 18, 2017 5:56 am
No new posts FINDREP Syntax Error seahawk789 DFSORT/ICETOOL 4 Thu Mar 09, 2017 10:11 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us