View previous topic :: View next topic
|
Author |
Message |
kranthikumarb
Active User
Joined: 02 Jan 2009 Posts: 115 Location: Hyderabad
|
|
|
|
Hi,
My mainframe job is trying to FTP a file onto a wintel server. Here are the steps it is trying to do.
1) Login
2) Put a file with a name FileX
3) Check if a file with name File1 exists (LS File1)
4) If not exists (if RC is 70), rename filex to file1
Thats all. Here are the JCL steps I used
Step1 FTP commands
<server name>
id
password
pwd
CD fnp03\sp
locsite fwf
Step 2 FTP commands
put 'dataset' filex
Step3 FTP commands
LS filex
Ste4 FTP commands - This will execute based on step 3 return code
rename filex file1
But while doing the change directory CD fnp03\sp, I am getting the following error message. This is a production job and it has been running fine all these days and no changes were made in the recent past. The only thing wintel team said was there was a patch installation done, and then later they have re booted the server. All my other FTP jobs which access the same server (but different location) are working fine except this.
Code: |
.EZA1460I Command:
.EZA1736I pwd
.EZA1701I >>> PWD
.257 "/" is current directory.
.EZA1460I Command:
.EZA1736I CD fnp03\sp
.EZA1701I >>> CWD fnp03\sp
.550 fnp03\sp: The network path was not found.
.EZA1735I Std Return Code = 07550, Error Code = 00002
.EZA1701I >>> QUIT
|
I tried to check if the ID password has any access issues, but we are able to put, LS, change directory, rename using same credentials from command prompt. But not using JCL. Any help on this is really appreciated. |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
Back to top |
|
|
kranthikumarb
Active User
Joined: 02 Jan 2009 Posts: 115 Location: Hyderabad
|
|
|
|
Thanks for your prompt reply. My job uses some kind of logical name instead of actual physical server name and then changes directory.
Ex - if ABCDEFGH is the physical server name and the folder where i need to place my file in ABCDEFGH is EKK\DKK
But my job logging into PQRSTUV and then changing directory to EFGH\DKK.
Note the last 4 chars of m physical server name and the fiest folder of my change directory are same and then It is skipping EKK. But all these days, it has been like this and the files are properly FTPd onto the server location properly.
I looked at the link given, but I don't think that is my case here. Because I submitted a job now without any changes under my ID and it went fine.
Not sure what is going on with the server. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
There is something different between the jobs that are running and the one that failed. You need to identify what that is so your site support group can help get it fixed. This is not something that can be fixed on a forum -- someone working at your site will have to figure out the issue. |
|
Back to top |
|
|
kranthikumarb
Active User
Joined: 02 Jan 2009 Posts: 115 Location: Hyderabad
|
|
|
|
Sure. I am checking with my support group as well. I will surely post the solution after I find one.
Thanks for all the responses till now. |
|
Back to top |
|
|
|