Hi David,
In D3 you can access any file in any account by simply specifying
the account name before the file name separated by comma.
To access files that 'reside' in another account you just open
them like this:
open 'acount-name,filename' to file else...
Also you can catalog programs or run them the same way.
With OSFI you can even access files on another server (server-name:account-name,file-name, )
I use this in all phantoms that get started by the
user-coldstart.
--
You received this message because you are subscribed to
the "Pick and MultiValue Databases" group.
To post, email to: mvd...@googlegroups.com
To unsubscribe, email to: mvdbms+un...@googlegroups.com
For more options, visit http://groups.google.com/group/mvdbms
David,
Sounds like you already found possible solutions for your
self-inflicted dilemma.
After all the account name is just a string and can be stored in a
record and to open a file you can use a variable instead a
constant.
read acc.name from control.file,'ACCOUNT' else acc.name =
'rubbish'; A = acc.name: ',Customer'; open A to filevar else...
But you probably kinda know that as well but never used it
before, right?
I guess you also kinda know that you can create q-pointers to accounts in D3 even if you never use it?
Mecki
Actually, Mecki - No, I don't know how or where to create a Q-Pointer to an account. If there is an entry in the SYSTEM file called "HOSPITAL"; how & where would I create a synonym called "HOSCARE"?
The more I think about this today, the more I realise I have some glaring holes in my "understanding" of d3....
And my brain is starting to hurt...
There is a bug in there, never fixed, where if the user (or account, I don't recall which) is DM, it forces entry of a null password even if there is no password.