Subject: | |
From: | |
Reply To: | Emerson, Tom # El Monte |
Date: | Tue, 20 Jun 2000 14:12:40 -0400 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
I'll disclaim any knowledge of how powerhouse works in particular up front
-- I've never used the product -- but I'd like to point out a couple of
other "gotcha's" on this:
**in general**, the file equates listed will work
**however**, databases can be referred to in the DBOPEN call via one of
these forms:
dbname
dbname.group
dbname.group.account
[and possibly even posix notations, but that's outside this discussion... :)
]
Depending on exactly how the database is opened (or "qualified" might be a
better word), you may need to "equate" it using the group and account
levels. Worse, if you SUPPLY an equate of the form
file dbname.group.account = dbname.testgrp.account
and the program only opens "dbname.group", then the above file equate will
NOT be used [this is true even for non-database files] basically, the
equated file must match EXACTLY in order for the equate to become active.
Finally, if the program you're running SETS a file equate [via the COMMAND
intrinsic or other means] for the database, such as:
file generic=specific.data.prod
then any file equate you set will be ignored or overwritten.
[obviously "generic" and "specific" are not legal database filenames, this
is just to show the concept]
> -----Original Message-----
> From: Pickering, John (NORBORD) [mailto:[log in to unmask]]
> Sent: Tuesday, June 20, 2000 10:54 AM
> To: [log in to unmask]
> Subject: Re: [HP3000-L] Image and file equates
>
>
> Just issue the file equate
> :file xxxx.data=xxxx.testdata
>
> > -----Original Message-----
> > From: James B. Byrne [SMTP:[log in to unmask]]
> > Sent: Tuesday, June 20, 2000 1:42 PM
> > To: [log in to unmask]
> > Subject: Image and file equates
> >
> > Is there any way of getting software to look for a database via some
> > sort of MPE re-direction? We are testing some new changes to our
> > PowerHouse applications and our dictionaries are all compiled with
> > the database file set to xxxx.data.
> >
> > Our testdata resides in the group testdata. I would like
> to have the
> > existing compiled applications reference the test data
> without having
> > to re-compile them all into a special group using a special
> > dictionary.
> >
> > Regards,
> > Jim
> > --- *** e-mail is not a secure channel ***
> > James B. Byrne Harte & Lyne Limited
> > vox: +1 905 561 1241 9 Brockley Drive
> > fax: +1 905 561 0757 Hamilton, Ontario
> > mailto:[log in to unmask] Canada L8E 3C3
>
|
|
|