Rocket U2 | UniVerse & UniData

 View Only
  • 1.  Copying data from another account without a Q VOC record

    Posted 6 days ago

    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
    ------------------------------


  • 2.  RE: Copying data from another account without a Q VOC record

    PARTNER
    Posted 6 days ago

    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
    ------------------------------



  • 3.  RE: Copying data from another account without a Q VOC record

    Posted 6 days ago

    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
    ------------------------------