My personal preference, for what it's worth, is to follow IBM's examples.  They 
appear to prevent "re-assignments later" by coding only one SELECT statement 
and use EXIT only for errors.  They also use indenting and commenting for 
readability and understandability.     
     
Greg Shirey
Ben E. Keith Company 
  

-----Original Message-----
From: IBM Mainframe Discussion List On Behalf Of Darth Keller
Sent: Thursday, August 04, 2011 2:28 PM
To: IBM-MAIN@bama.ua.edu

I almost always code an EXIT statement to prevent re-assignments later in the 
code.  When I chose not to
code an EXIT, it's because I've specifically chosen not to & understand exactly 
what it means.

It's all personal preference in the end, but why not take the opportunity 
to help yourself right from the beginning?

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to