• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 4173
  • Last Modified:

Trying to send FTP...recieve error 501, Use MVS Dsname convention

I have a file that resides on my F drive, always receive the above error, when tryin got FTP it?

EZA1736I GET F:\INSTALIB.JCL       'PZIP.LOAD.MSP792.JCL'    (REPLACE    
EZA1701I >>> PORT 10,201,4,120,8,250                                      
200 Port request OK.                                                      
EZA1701I >>> RETR F:\INSTALIB.JCL                                        
501 Invalid data set name "F:\INSTALIB.JCL".  Use MVS Dsname conventions.

What am I doing wrong?

TIA
0
netminder1
Asked:
netminder1
  • 4
  • 4
1 Solution
 
droydenCommented:
Try to:

CWD F:
RETR INSTALIB.JCL


it possibly doesnt like the full path..
0
 
netminder1Author Commented:
I moved the file to my B drive, below is the error.

EZA1460I Command:                                      
EZA1736I CWD B:                                        
EZA1701I >>> CWD B:                                    
501 A qualifier in "B:" contains an invalid character  
EZA1735I Std Return Code = 07501, Error Code = 00002    
0
 
droydenCommented:
If you issue a "PWD" what does it return?
0
Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

 
netminder1Author Commented:
EZA1701I >>> PASS                                              
230 O045 is logged on.  Working directory is "O045.".          
EZA1460I Command:                                              
EZA1736I PWD B:                                                
EZA1542I Usage: PWD                                            
EZA1735I Std Return Code = 28000, Error Code = 00007            
EZA1701I >>> QUIT                                              
221 Quit command received. Goodbye.                            
0
 
droydenCommented:
OK I ment PWD on its own, but it seems the line above answers my question.

230 O045 is logged on.  Working directory is "O045.".        

1) Do you know where that folder is located?
2) Can you copy your file to that folder directly
0
 
netminder1Author Commented:
The O045 is my TSO id.
0
 
droydenCommented:
To FTP the file to dataset xxxx.xxxxxxxx.xxxx.xxx.xxxx on MVS you need three
single quotes (''') on each end of the DSN, as in:
put ourlibrary/ourfile.member '''xxxx.xxxxxxxx.xxxx.xxx.xxxx'''


Does that help at all?
0
 
netminder1Author Commented:
That did not work either, but someone just showed me how to do the FTP using Attachmate.

I will award you the points, for the help.

Thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

  • 4
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now