Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

FTP y REXEC error

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
angelalpe
Warnings : 1

New User


Joined: 22 Sep 2005
Posts: 32

PostPosted: Fri Sep 23, 2005 6:09 pm    Post subject: FTP y REXEC error
Reply with quote

Hello,

When I execute a FTP and a REXEC (remote exec), there are times that the execution does not finalize correctly and an error message appears but the return code is zero (RC=0). I

I believe that it would have to give back return code different from zero since in fact an error has taken place. exists some way so that the execution of this case gives back return code different from zero?

Two examples of these errors are the following ones:

Case 1: FTP
I execute a FTP to send a file of host to a servant and it gives the following error me because the directory of the servant does not exist. The error is correct because the directory really does not exist. What it does not seem to me correct is that the execution of this FTP gives back return code equal to 0. The error message is the following one:

EZA1450I IBM FTP CS V1R2
530 User FTP_USER cannot log in, home directory inaccessible.


Case 2: REXEC (remote exec)
This case is similar to the previous one. I execute REXEC (remote exec) and it removes the following message to me from error but return code is equal to zero. The error message is the following one:

EZA4801I MVS TCP/IP REXEC CS V1R2
Winsock REXECD/NT: Error 5 executing '\\SERVER01\FILE2.BAT'
Access is denied.


Thank you
Back to top
View user's profile Send private message

Kevin

Active User


Joined: 25 Aug 2005
Posts: 234

PostPosted: Fri Sep 23, 2005 8:44 pm    Post subject: Re: FTP y REXEC error
Reply with quote

Per the "z/OS V1R7.0 Comm Svr: IP User's Guide and Commands" manual

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/F1A1B950/CCONTENTS?DT=20050708142126

Chapter 4.11 FTP return codes, which method of return-code exit checking are you using?
Back to top
View user's profile Send private message
angelalpe
Warnings : 1

New User


Joined: 22 Sep 2005
Posts: 32

PostPosted: Mon Sep 26, 2005 12:08 pm    Post subject: Re: FTP y REXEC error
Reply with quote

Thank you very much, Kevin.

I am going to consult the manual that you say to me
Back to top
View user's profile Send private message
angelalpe
Warnings : 1

New User


Joined: 22 Sep 2005
Posts: 32

PostPosted: Mon Sep 26, 2005 2:46 pm    Post subject: Re: FTP y REXEC error
Reply with quote

For the FTP I have found parametro EXIT. To see the following example:

//FTPLOG EXEC PGM=FTP, PARM='nameserver (EXIT=12'

if some error in the execution of the FTP takes place, teh return code is 12


For the REXEC, I have not found it.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts OO COBOL compile error Virendra Shambharkar COBOL Programming 3 Tue Jan 10, 2017 6:05 pm
No new posts S922 Error yuvan ABENDS & Debugging 3 Fri Dec 02, 2016 6:58 pm
No new posts Invoke Webservice Fails with DFHPI100... divated CICS 2 Thu Nov 24, 2016 5:57 pm
No new posts Error during restore rename archanamuthukrishnan All Other Mainframe Topics 2 Fri Oct 14, 2016 3:30 pm
No new posts Error IEC161I 052(009,XXXRS00)-084 wh... amitc23 JCL & VSAM 10 Wed Oct 12, 2016 5:00 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us