HP3000-L Archives

February 2002, 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:
Pete Vickers <[log in to unmask]>
Reply To:
Pete Vickers <[log in to unmask]>
Date:
Fri, 1 Feb 2002 07:47:17 -0600
Content-Type:
text/plain
Parts/Attachments:
text/plain (48 lines)
Hi Peter,
in the original subroutine, make it a subprogram, and open the databases in
that one. With it being a subprogram as opposed to dynamic, the
working-storage values are retained.

Then pass the data base name(s) in the call to the next routine.

The database id will be carried in the first two bytes, and  you will be
able to issue image calls.

Hope I have understood the problem correctly, and that this helps

Pete
"Burgess Peter" <[log in to unmask]> wrote in message
news:a3drmk0247r@enews4.newsguy.com...
> Hi
>
> Happy new year to everyone !
>
> I have an issue and I am not sure that I am addressing it properly because
> it does not work.
>
> I have a subroutine which is being called by an RPC program , this routine
> calls another funtion which requires some open database's. I dont want to
> open the two databases everytime I call this function. So what I did was
> write another program which opened up the databases and fed the open names
> into a message file.
>
> The message file is then read by the sub routine when it is started up ,
the
> only problem with this is that it does not work. Is this because the open
> process is owned by the original program. If so what would be the best way
> of doing this ?
>
> Thanks in advance for any help.
>
> Regards
>
> Peter Burgess
> www.microwarehouse.co.uk
>
> * To join/leave the list, search archives, change list settings, *
> * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
>

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2