Use of EXIT parameter.

Post a reply


This question is a means of preventing automated form submissions by spambots.
Smilies
:D :) ;) :( :o :shock: :? 8-) :rofl: :x :cry: :P :oops: :!: :twisted: :roll: :evil: :?: :idea: :arrow: :| :good: :mrgreen: :sorry: :unknown: :yes: :lol:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Use of EXIT parameter.

Re: Use of EXIT parameter.

by Robert Sample » Sun May 17, 2015 10:45 pm

Find the Communications Server bookshelf for your version of z/OS. Look in the IP User's Guide and Commands manual at the chapter on FTP return codes.

Re: Use of EXIT parameter.

by FTPEXIT » Sun May 17, 2015 1:16 pm

Thank you.

Where can I learn more about these kind of interpretation on return codes, please suggest.

Re: Use of EXIT parameter.

by Robert Sample » Thu Apr 30, 2015 6:16 pm

EXIT actually does two things:
1. it displays certain error codes that occur in FTP
2. It passes the FTP error code back to the system as the step condition code. One big caveat on this: since the step condition code is a value from 0 to 4095, what you will see as the step condition code is the FTP error code MOD 4096. So a 27550 FTP error code (27 means a PUT subcommand was issued; 550 means file unavailable or could not be written) becomes a 2974 step condition code.

Use of EXIT parameter.

by FTPEXIT » Thu Apr 30, 2015 4:57 pm

Hi,

Code: Select all

//FTP     EXEC PGM=FTP,REGION=1000K, 
//             PARM='( EXIT' 
//SYSPRINT DD  SYSOUT=$ 
//OUTPUT   DD  SYSOUT=$ 
//INPUT    DD  * 
.
.
.
What does the EXIT do in here? Can you guide.

Top