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

FTP from mainframes


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

Active User


Joined: 14 Dec 2008
Posts: 107
Location: India

PostPosted: Thu Feb 25, 2010 12:41 pm
Reply with quote

Hi All,
I am trying to FTP a file from mainframes to a windows server. This job was running fine till i a made a change in the parm card used for login into the server. I added teh exit parameter to this parm card so that the job will abend when ther is some problem with FTP
Code:
<ipaddress> (EXIT
<userid>     
<password>     

This parm card is concatenated with another parm card,
Code:
 ASCII                                                 
 SITE CYLINDERS PRIMARY=10 SECONDARY=2 DIRECTORY=50     
 CD \AM-PM\GLDATA\DAILY                                 
 PUT 'GL.xxxx.yyyy(ACTIVITY)' ACTIVITY.DAT
 QUIT       
   



The spool message is
Code:
EZA1460I Command:                                                   
EZA1736I CD \AM-PM\GLDATA\DAILY                                     
EZA1701I >>> CWD \AM-PM\GLDATA\DAILY                               
550 /AM-PM/GLDATA/DAILY: The system cannot find the path specified.
EZA1735I Std Return Code = 07550, Error Code = 00002               
EZA1701I >>> QUIT                                                   

what could be the problem? will it be solved if i remove the CD \AM-PM\GLDATA\DAILY command?
Please help

Thank you
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Feb 25, 2010 12:50 pm
Reply with quote

Code:
550 /AM-PM/GLDATA/DAILY: The system cannot find the path specified.


doesn' t the message itself hints You about the problem?? seems clear to me!

ask Your support about the right requirements and proper path specifications

we do not belong to Your organization so we cannot tell the consequences
taking away the change directory command will get rid of the error message,
butt we cannot tell if the final location of the dataset will be the right one
Back to top
View user's profile Send private message
hiravibk
Warnings : 1

Active User


Joined: 14 Dec 2008
Posts: 107
Location: India

PostPosted: Thu Feb 25, 2010 1:07 pm
Reply with quote

Thnaks Enrico for your quick reply. But i have a question here. I checked inthe server, and found that the directory is existing and we been recieving files in this directory in the past. Why is throwing an Abend now but ftpying successfully to this directory in teh past??
Thank you
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 Feb 25, 2010 4:57 pm
Reply with quote

hlravibhk, your FTP commands are attempting to write to the directory. In which case, it doesn't really matter if you've been retrieving ("recieving" sic) in the past since this is a different operation and you may (or may not) have permission to write to the directory. You need to work with whoever owns the server to resolve the issue -- this is not a mainframe problem, it is a Windows server problem.
Back to top
View user's profile Send private message
hiravibk
Warnings : 1

Active User


Joined: 14 Dec 2008
Posts: 107
Location: India

PostPosted: Thu Feb 25, 2010 6:10 pm
Reply with quote

I will get in touch with sever engineers here. Thank you for your suggestion Robert.
Back to top
View user's profile Send private message
hiravibk
Warnings : 1

Active User


Joined: 14 Dec 2008
Posts: 107
Location: India

PostPosted: Tue Mar 02, 2010 12:41 pm
Reply with quote

Hi All,

I got this problem resolved. It was the issue with CD command.
The ip address, login id for this server directly takes me to the directory
/AM-PM/GLDATA/DAILY . The CD command is again trying to find /AM-PM/GLDATA/DAILY in the directory /AM-PM/GLDATA/DAILY. This CD command is unnecessary and i removed it. It worked fine and file was ftped to /AM-PM/GLDATA/DAILY.

Thank you all...
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: Tue Mar 02, 2010 7:24 pm
Reply with quote

Glad to hear you got it resolved!
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 SH256/MD5 Checksum in Mainframes JCL JCL & VSAM 14
No new posts After hours quick-fix support for IBM... Mainframe Jobs 0
No new posts Schedulers on Mainframes JCL & VSAM 7
No new posts Mainframes Job opportunity-Full time Mainframe Jobs 0
No new posts IBM z15 mainframes All Other Mainframe Topics 1
Search our Forums:

Back to Top