View previous topic :: View next topic
|
Author |
Message |
sobiswal
New User
Joined: 23 Feb 2010 Posts: 1 Location: Kolkata
|
|
|
|
Please find my JCL below.
Code: |
//STEP001 EXEC PGM=FTP,PARM='(EXIT'
//SYSPRINT DD SYSOUT=*
//OUTPUT DD SYSOUT=*
//FTPIN DD DSN=SEBID2.IU.WBT7601.TBSEA,DISP=SHR
//INPUT DD *
9.184.95.84
ibm
gi1111ft
cd c:\
put //DD:FTPIN ewz.txt
QUIT
/*
/*
|
And here whats the error showing in spool..The connection is working but error is poitning towards the file directory..
EZA1459I NAME (9.184.95.84:SEBID2):
EZA1701I >>> USER ibm
331 Password required for ibm.
EZA1789I PASSWORD:
EZA1701I >>> PASS
230 User ibm logged in.
EZA1460I Command:
EZA1736I cd c:\
EZA1701I >>> CWD c:\
550 c:\: The filename, directory name, or volume label syntax is incorrect
EZA1735I Std Return Code = 07550, Error Code = 00002
EZA1701I >>> QUIT
221
COuld you please let me know what needs to be rectified or added so that I can avoid this error.. |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
c:\
is NOT a valid name of a directory. Use LS or DIR to find the names of the directories on that server. |
|
Back to top |
|
|
rukmakiran
New User
Joined: 19 Apr 2005 Posts: 21
|
|
|
|
Jobs is abending with the below error in FTP mainframe file to Middleware server ,folder 'PI' is not accessible since yesterday even though there are
no changes in folder "PI" , and the folder was accessible for last but one run.
.EZA1460I Command:
.EZA1736I cd pi
.EZA1701I >>> CWD pi
.550 pi: The system cannot find the file specified.
.EZA1735I Std Return Code = 07550, Error Code = 00002
.EZA1701I >>> QUIT
.221
Can you suggest where will be the issue ? at server or in FTP ?
Thanks |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
It's most likely a server issue. Permissions could have been changed on the server. The directory name case may have changed (Unix, for example, is case sensitive so PI and pi are two different directories). The directory may have been moved so a full or relative path name may be needed (cd /root/pi for example).
Another possibility, on the FTP side, is that someone renumbered the FTP script. FTP does not like line numbers since it did not come out of the TSO / ISPF environment. |
|
Back to top |
|
|
rukmakiran
New User
Joined: 19 Apr 2005 Posts: 21
|
|
|
|
Thanks for Quick reply,
Asked my server operations group to look into the privileges, but there were no changes in case or line numbers also in location of the folder.
Are there any possibility from TSO environment which effect FTP ? |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
Verify the file containing the FTP commands has spaces all the way to the end of each line -- if there are line numbers in it, you will have trouble. |
|
Back to top |
|
|
rukmakiran
New User
Joined: 19 Apr 2005 Posts: 21
|
|
|
|
Issue resolved by changing "cd PI" to "cd \PI" , but i just want to know why the "cd PI" was acceptable till day before & currently not ? and where was the change - Is it from middleware server or changes in TSOenvironmentt ? do you have nay idea ?
Thanks, |
|
Back to top |
|
|
MBabu
Active User
Joined: 03 Aug 2008 Posts: 400 Location: Mumbai
|
|
|
|
maybe the ftp server on the workstation was started in a working directory of the root when it worked and started with a different working directory when it failed. In any case, fully qualifying the target name is always a good idea. |
|
Back to top |
|
|
rukmakiran
New User
Joined: 19 Apr 2005 Posts: 21
|
|
|
|
My Question is - why it wors before & did not work currently with the same script?
Also let me know if you have any idea on where can we find the maaped location for FTP address SERVER1.nj.ssmb.com is mapped to \\SERVER1\Archive\Data\ ?
Thanks, |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
It worked before and did not work currently with the same script because something was changed on the server (permissions, default folder, operating system, something).
FTP address SERVER1.nj.ssmb.com is resolved either through a NETRC (look at the JCL for the FTP job to see if there's a NETRC DD name), or through DNS (which may be done on the mainframe or via a name server on your network -- you'll want to get with your site support group for either of these cases). There is no need for a mapping as FTP works with an IP address and port number on that IP address. |
|
Back to top |
|
|
rukmakiran
New User
Joined: 19 Apr 2005 Posts: 21
|
|
|
|
Thanks Reobert. |
|
Back to top |
|
|
|