I use COPYI (system is 11.2 PICK flavour) to copy records between files in the same account.
Is there any way to copy records directly from files in another account without adding a Q or F VOC record to point to the file ?
I'm imagining something like EVAL but for the VOC instead. Just trying to avoid the overheads when a transient connection is needed for a copy.
------------------------------
Greg Clitheroe
Rocket Forum Shared Account
------------------------------
Hi
I suggest to write a little verbe DO
Which
1/ get @statement
2/ Identify Word with match "0A','0A','0A" eich is the account,dict,{data} you ça use with d3.
3/if 2 is true, set a qptr in voc
000 the Word front 2
001 q
002 account
003 file
Then chain @statement[3,999]
You can perform a account, file, {data} with any verb preceded by DO .
I hope this help
------------------------------
Manu Fernandes
------------------------------
I use COPYI (system is 11.2 PICK flavour) to copy records between files in the same account.
Is there any way to copy records directly from files in another account without adding a Q or F VOC record to point to the file ?
I'm imagining something like EVAL but for the VOC instead. Just trying to avoid the overheads when a transient connection is needed for a copy.
------------------------------
Greg Clitheroe
Rocket Forum Shared Account
------------------------------
See BASIC's OPENPATH. Feed the path via the command line and open it to a file variable. After that you can read/rwrite/delete/select like any other file variable.
VOC is not involved.
------------------------------
Chuck Stevenson
DBA / SW Developer
Pomeroy
US
------------------------------