Not to put too fine a point on encapsulation because what you say is true for 
Working-Storage and Paragraphs or Sections.  But you can restrict or make 
variables available to internal subroutines with the GLOBAL attribute.  
Likewise, variables can be made available to external subroutines with the 
EXTERNAL attribute.  

Either fortunately or unfortunately, depending on your requirement, EXTERNAL 
does not imply GLOBAL. 

Cheers,

Jon.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to