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

Getting Return Code = 07550, Error Code = 00002 while FTP


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

New User


Joined: 13 Oct 2012
Posts: 29
Location: India

PostPosted: Fri Jul 19, 2013 6:31 pm
Reply with quote

I want to receive a file from remote computer to mainframe. Doing so getting The filename, directory name, or volume label syntax is incorrect. Return Code = 07550, Error Code = 00002. But the directory path which I am specifying is correct.

Dont know what the cause for this.

EZA1459I NAME (20.15.78.28:Z002412):
EZA1701I >>> USER UPMML
331 Password required for UPMML.
EZA1789I PASSWORD:
EZA1701I >>> PASS
230 User UPMML logged in.
EZA1460I Command:
EZA1736I CD C:/TEMP
EZA1701I >>> CWD C:/TEMP
550 C:/TEMP: The filename, directory name, or volume label syntax is incorrect.
EZA1735I Std Return Code = 07550, Error Code = 00002
EZA1701I >>> QUIT
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Fri Jul 19, 2013 6:36 pm
Reply with quote

For a Windows machine I'd have coded a "backslash" for any directory/path.
Back to top
View user's profile Send private message
Abhinav Chandra

New User


Joined: 13 Oct 2012
Posts: 29
Location: India

PostPosted: Fri Jul 19, 2013 6:46 pm
Reply with quote

After applying back-slash, still getting the same issue

EZA1459I NAME (20.15.78.28:Z002412):
EZA1701I >>> USER UPMML
331 Password required for UPMML.
EZA1789I PASSWORD:
EZA1701I >>> PASS
230 User UPMML logged in.
EZA1460I Command:
EZA1736I CD C:\TEMP
EZA1701I >>> CWD C:\TEMP
550 C:\TEMP: The filename, directory name, or volume label syntax is incorrect.
EZA1735I Std Return Code = 07550, Error Code = 00002
EZA1701I >>> QUIT
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


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

PostPosted: Fri Jul 19, 2013 7:05 pm
Reply with quote

Have you tried without the C: piece? I don't believe CD supports use of the drive letter.
Back to top
View user's profile Send private message
Abhinav Chandra

New User


Joined: 13 Oct 2012
Posts: 29
Location: India

PostPosted: Fri Jul 19, 2013 7:07 pm
Reply with quote

Yes, I tried nearly all the combinations but didn't worked.

EZA1459I NAME (20.15.78.28:Z002412):
EZA1701I >>> USER UPMML
331 Password required for UPMML.
EZA1789I PASSWORD:
EZA1701I >>> PASS
230 User UPMML logged in.
EZA1460I Command:
EZA1736I CD TEMP
EZA1701I >>> CWD TEMP
550 TEMP: The system cannot find the file specified.
EZA1735I Std Return Code = 07550, Error Code = 00002
EZA1701I >>> QUIT
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


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

PostPosted: Fri Jul 19, 2013 7:16 pm
Reply with quote

Well, if the system is telling you TEMP is not found, then it is because the system cannot find TEMP. If you are going to a Unix system, the problem could be as simple as upper/lower case -- Unix file names are case-sensitive and TEMP is not the same as Temp is not the same as temp.

Have you started with the basic pwd command in FTP to find out which directory you are connected to when you sign on?
Back to top
View user's profile Send private message
Abhinav Chandra

New User


Joined: 13 Oct 2012
Posts: 29
Location: India

PostPosted: Mon Jul 22, 2013 1:43 pm
Reply with quote

hi Robert,

I am referring the same case letters as mentioned in network drive.

Also started with the basic pwd command in FTP to find out which directory you are connected to when you sign on. Its showing

150 Opening ASCII mode data connection for /bin/ls.

what does it mean ?
Back to top
View user's profile Send private message
Abhinav Chandra

New User


Joined: 13 Oct 2012
Posts: 29
Location: India

PostPosted: Tue Jul 23, 2013 12:04 pm
Reply with quote

Any update on this issue from anyone ?
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Tue Jul 23, 2013 12:30 pm
Reply with quote

Use ftp manually first. See if you can find what files are in that directory, and whether a sub-directory called TEMP or temp exists.

Get in to ftp and type help.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8796
Location: Welsh Wales

PostPosted: Tue Jul 23, 2013 12:43 pm
Reply with quote

I suppose that you have been granted access to said file
Back to top
View user's profile Send private message
Abhinav Chandra

New User


Joined: 13 Oct 2012
Posts: 29
Location: India

PostPosted: Tue Jul 23, 2013 12:47 pm
Reply with quote

I tried all FTP cmnds through help. Want to know what does below mentioned statement mean, which I got after typing pwd command in FTP
"150 Opening ASCII mode data connection for /bin/ls."

Does this mean there is a folder bin/ls where these files will be routed. If so then what will be its base location mean which drive its mapped to.
Back to top
View user's profile Send private message
Abhinav Chandra

New User


Joined: 13 Oct 2012
Posts: 29
Location: India

PostPosted: Tue Jul 23, 2013 1:01 pm
Reply with quote

I apologies, by pwd command in FTP, i am getting statement as -
"/" is current directory.

Can anyone please let me know what does this refer too. Thanks !!
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8796
Location: Welsh Wales

PostPosted: Tue Jul 23, 2013 1:08 pm
Reply with quote

Abhinav Chandra wrote:
I apologies, by pwd command in FTP, i am getting statement as -
"/" is current directory.

Can anyone please let me know what does this refer too. Thanks !!

What does your friend Mr Google tell you ???
It took me about 30 seconds to find out for myself
Back to top
View user's profile Send private message
Abhinav Chandra

New User


Joined: 13 Oct 2012
Posts: 29
Location: India

PostPosted: Tue Jul 23, 2013 1:20 pm
Reply with quote

what does it mean. "/" is current directory.

Not satisfied with Mr. Google talking in terms of the SYSTEM account FZ Server usually runs under has no access to any network shares.
Back to top
View user's profile Send private message
Abhinav Chandra

New User


Joined: 13 Oct 2012
Posts: 29
Location: India

PostPosted: Tue Jul 23, 2013 1:35 pm
Reply with quote

what does it mean. "/" is current directory.

If its mean home directory, then from where we can check what is the home directory location.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


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

PostPosted: Tue Jul 23, 2013 3:19 pm
Reply with quote

On a Unix system, /bin contains the executable programs. ls is the list command which FTP invokes for a DIR command. And / is the root directory, NOT the home directory for the user id you used to sign onto the server. Perhaps your problem could be that when you sign onto that server, your home directory has a /TEMP directory and when you FTP to that server, you are attempting to go to /TEMP under root?
Back to top
View user's profile Send private message
Abhinav Chandra

New User


Joined: 13 Oct 2012
Posts: 29
Location: India

PostPosted: Tue Jul 23, 2013 4:35 pm
Reply with quote

By pwd command in FTP, i am getting statement as -
"/" is current directory.

Is there any way through which I can verify whats the home directory is. Attached is the result of ls , dir and pwd commands
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


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

PostPosted: Tue Jul 23, 2013 6:18 pm
Reply with quote

The DIR command is clearly showing you that there are no directories under the directory you are in. Hence your attempt to change to the /TEMP directory is not going to work since there is no /TEMP directory to change to.

Quote:
Is there any way through which I can verify whats the home directory is.
Yes -- contact the owner of the server (whether internal to your organization or not) and find out. Nobody on this forum works for your site, so we have no idea what server you are attempting to connect to, nor how the user id was set up, and any advice we can provide will be only generic and non-specific. Unless and until you contact the server owner, you will not be able to proceed with your FTP. The / response to the DIR command may indicate that you are, indeed, connected to the root directory (and do not have permission to do anything there) or that you are connected to a user directory but only someone working with the server -- such as the owner -- could possibly tell you what that directory is.
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 Help on IMS -API URL migrating from P... IMS DB/DC 1
No new posts JES datasets IO Error ABENDS & Debugging 3
No new posts Error to invoke MPP program through B... IMS DB/DC 3
No new posts PKZIP error ZPFM121E and ZPCE009E JCL & VSAM 6
No new posts OpenPGP Decryption job getting LRECL ... IBM Tools 7
Search our Forums:

Back to Top