HP3000-L Archives

September 2000, 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:
Bill Cadier <[log in to unmask]>
Reply To:
Bill Cadier <[log in to unmask]>
Date:
Mon, 25 Sep 2000 11:52:24 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (39 lines)
Curt wrote:


>Hello all,
>
>I have a question about the turboimage call DBCLOSE and COBOL programs.
>
>I have COBOL programs that call DBCLOSE at the end of the program.  I don't
>want to change the programs so that DBCLOSE is called something else and I
>don't want to modify the system XL (messing with clients systems this way
>bothers me).  I assume that the normal DBCLOSE is in the system XL.
>
>I want to write my own routine for DBCLOSE, adding some logging and other
>"stuff" and then have the system XL turboimage intrinsic DBCLOSE happen.  I
>have tried adding by own DBCLOSE module to a user XL.  But when the DBCLOSE
>in the user XL calls DBCLOSE, it loops calling the user XL until a NM error
>occurs and never gets to the DBCLOSE in the system XL.
>
>Any insight into this problem would be very helpful.
>
>TIA
>
>Curt Brimacomb
>Systems Manager
>Idaho Computer Services, LLC
>[log in to unmask]
>208-734-2245 x 114
>The opinions expressed here are not mine or my employers.
>

You should be able to use HPGETPROCPLABEL specifying the 'firstfile'
as 'XL.PUB.SYS' and then call the real DBCLOSE via the plabel you
get back from the call.

Hope this helps.

Bill
HP/CSY

ATOM RSS1 RSS2