Subject: | |
From: | |
Reply To: | Atwood, Tim (DVM) |
Date: | Tue, 6 May 2003 14:31:46 -0700 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
I want to have a COBOL subprogram located in an XL to be aware of a file
opened in the main program. I want the subprogram to use standard COBOL IO
statements to access the file rather than needing to use file intrinsics
directly.
If the subprogram was linked into the same run unit rather than an XL, I
know I would use "IS EXTERNAL" on the FD entry. But I do not think this
works with a subprogram in the XL. Is this correct?
Is this where I am supposed to use the "IS GLOBAL" syntax instead? I not
quite clear on what the difference between "GLOBAL" and "EXTERNAL" is.
Assuming this approach works, any other problems with it? Any other way to
do this?
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|
|
|