HP3000-L Archives

May 2003, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Atwood, Tim (DVM)" <[log in to unmask]>
Reply To:
Atwood, Tim (DVM)
Date:
Tue, 6 May 2003 14:31:46 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (18 lines)
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 *

ATOM RSS1 RSS2