View previous topic :: View next topic |
Author |
Message |
meeran Beginner
Joined: 23 Dec 2002 Posts: 7 Topics: 3
|
Posted: Sat May 31, 2003 3:25 pm Post subject: FTP-error |
|
|
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 |
|
|
taltyman JCL Forum Moderator
Joined: 02 Dec 2002 Posts: 310 Topics: 8 Location: Texas
|
Posted: Mon Jun 02, 2003 7:33 am Post subject: |
|
|
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 |
|
|
Bithead Advanced
Joined: 03 Jan 2003 Posts: 550 Topics: 23 Location: Michigan, USA
|
Posted: Mon Jun 02, 2003 8:12 am Post subject: |
|
|
Check for line numbers in colums 73 thru 80 in the command script. |
|
Back to top |
|
|
taltyman JCL Forum Moderator
Joined: 02 Dec 2002 Posts: 310 Topics: 8 Location: Texas
|
Posted: Mon Jun 02, 2003 8:46 am Post subject: |
|
|
Good catch Bithead! Users are always doing that at my shop so I should have noticed that. |
|
Back to top |
|
|
Bithead Advanced
Joined: 03 Jan 2003 Posts: 550 Topics: 23 Location: Michigan, USA
|
Posted: Mon Jun 02, 2003 8:47 am Post subject: |
|
|
That's how I know! |
|
Back to top |
|
|
meeran Beginner
Joined: 23 Dec 2002 Posts: 7 Topics: 3
|
Posted: Wed Jun 04, 2003 7:38 pm Post subject: |
|
|
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. |
|
Back to top |
|
|
Premkumar Moderator
Joined: 28 Nov 2002 Posts: 77 Topics: 7 Location: Chennai, India
|
Posted: Wed Jun 04, 2003 10:24 pm Post subject: |
|
|
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 |
|
|
meeran Beginner
Joined: 23 Dec 2002 Posts: 7 Topics: 3
|
Posted: Thu Jun 05, 2003 2:03 pm Post subject: |
|
|
Thanks lot,all things are working fine now.The NUM Profile was on in my dataset. |
|
Back to top |
|
|
|
|