MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

FTP-error

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
meeran
Beginner


Joined: 23 Dec 2002
Posts: 7
Topics: 3

PostPosted: Sat May 31, 2003 3:25 pm    Post subject: FTP-error Reply with quote

Hi,

While doing an ftp jcl I am getting the following error...

EZA1460I Command:
EZA1736I cd data
EZA1701I >>> CWD data 00090004
550 data 00090004: The system cannot find the file specified.
EZA1735I FTP Return Code = 07550, Error Code = 00002

The directory 'data' is existing in the system.
My jcl is given below

//JS01 EXEC PGM=FTP,PARM='192.168.1.100 (EXIT'
//SYSTSPRT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SYSIN DD *
testuser test
cd data
put 'TEST.SORTIN'
The same jcl is working fine without the line cd data.Any help is appreciated.

Thanks,
Meeran
Back to top
View user's profile Send private message
taltyman
JCL Forum Moderator
JCL Forum Moderator


Joined: 02 Dec 2002
Posts: 310
Topics: 8
Location: Texas

PostPosted: Mon Jun 02, 2003 7:33 am    Post subject: Reply with quote

Sounds like the directory data is not in your working directory. Use the ls command to see what files/directories are there. Also data is a relative path, you may want to try an absolute path for your cd command.
Back to top
View user's profile Send private message
Bithead
Advanced


Joined: 03 Jan 2003
Posts: 550
Topics: 23
Location: Michigan, USA

PostPosted: Mon Jun 02, 2003 8:12 am    Post subject: Reply with quote

Check for line numbers in colums 73 thru 80 in the command script.
Back to top
View user's profile Send private message
taltyman
JCL Forum Moderator
JCL Forum Moderator


Joined: 02 Dec 2002
Posts: 310
Topics: 8
Location: Texas

PostPosted: Mon Jun 02, 2003 8:46 am    Post subject: Reply with quote

Good catch Bithead! Users are always doing that at my shop so I should have noticed that.
Back to top
View user's profile Send private message
Bithead
Advanced


Joined: 03 Jan 2003
Posts: 550
Topics: 23
Location: Michigan, USA

PostPosted: Mon Jun 02, 2003 8:47 am    Post subject: Reply with quote

That's how I know!
Back to top
View user's profile Send private message
meeran
Beginner


Joined: 23 Dec 2002
Posts: 7
Topics: 3

PostPosted: Wed Jun 04, 2003 7:38 pm    Post subject: Reply with quote

Thank you for the info, I tried the option but it is not working with my JCL.
When I am trying with forigname i am getting another error.

put 'TEST.SORTIN' test1.txt
Usage: PUT localfile <foreignname>
FTP Return Code = 27000, Error Code = 00002

without the 'test1.txt' it is working fine,the fle is stored wth eight digit numer as name. Sad
Back to top
View user's profile Send private message
Premkumar
Moderator


Joined: 28 Nov 2002
Posts: 77
Topics: 7
Location: Chennai, India

PostPosted: Wed Jun 04, 2003 10:24 pm    Post subject: Reply with quote

meeran,

Bithead suggested you to Check for line numbers in colums 73 thru 80 in the command script.
Did you check it?


Last edited by Premkumar on Thu Jun 05, 2003 9:50 pm; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail
meeran
Beginner


Joined: 23 Dec 2002
Posts: 7
Topics: 3

PostPosted: Thu Jun 05, 2003 2:03 pm    Post subject: Reply with quote

Thanks lot,all things are working fine now.The NUM Profile was on in my dataset. Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group