HP3000-L Archives

March 1995, Week 4

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:
Reply To:
Rich Trapp <[log in to unmask]>
Date:
Mon, 27 Mar 1995 11:04:53 MST
Content-Type:
text/plain
Parts/Attachments:
text/plain (27 lines)
Gary,
   I seems like you should be able to use $SUBPROGRAM (as apposed to
$DYNAMIC or $ANSISUB {which is faked}) as long as you don't need to
put the routine into an SL or XL.  This would allow the data to
remain between calls w/o closing the database.  Of course, this
means that the suprogram needs to be preped or linked into the main
program because it uses global data.  If you're using COBOLII/XL
on an MPE/ix machine, you should have no problems.  If you're on a
classic machine, the combination of the main + the subprograms may
require some playing with segments to make things fit.
   If the cobol is ANSI '85 compliant, you can compile everything
including the subprograms from 1 source file.  Check out the
EXTERNAL clause in the WORKING-STORAGE section or COBOL '85.
 
Hope this helps.
P.S. Is this the same Gary Peck who used to support TRANSACT at HP?
 
Rich (former HP Response Center languages support)
--
______________________________________________________________________
________ Dynamic Information Systems Corp.   |
\!DISC / Rich Trapp                          | My opinions are my own.
 \    /  OMNIDEX Product Manager - IMAGE/SQL | With any luck they're
  \  /   Phone : 303 444-4000                | correct ;-)
   \/    E-mail: [log in to unmask]                |
----------------------------------------------------------------------

ATOM RSS1 RSS2