View previous topic :: View next topic
|
Author |
Message |
hiravibk Warnings : 1 Active User
Joined: 14 Dec 2008 Posts: 107 Location: India
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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 |
|
|
hiravibk Warnings : 1 Active User
Joined: 14 Dec 2008 Posts: 107 Location: India
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
hiravibk Warnings : 1 Active User
Joined: 14 Dec 2008 Posts: 107 Location: India
|
|
|
|
I will get in touch with sever engineers here. Thank you for your suggestion Robert. |
|
Back to top |
|
|
hiravibk Warnings : 1 Active User
Joined: 14 Dec 2008 Posts: 107 Location: India
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Glad to hear you got it resolved! |
|
Back to top |
|
|
|