Uniface User Forum

 View Only
Expand all | Collapse all

Uniface 10 and /rma

  • 1.  Uniface 10 and /rma

    Posted 11-27-2020 13:59

    Hi Freaks

    Just testing our deployment environment under Uniface 10

    When it comes to copy XML-File we run into a problem.

    (Using an end user licence)

    /rma /cpy def:table.model xml:
    Fatal error: 8011 - License not available.

    (Using an development licence)

    /rma /cpy def:table.model xml:
    0099 - Command line string not acceptable; please check syntax and spelling.


    So how to copy data at customer site?

    Ingo





  • 2.  RE: Uniface 10 and /rma

    ROCKETEER
    Posted 11-27-2020 14:23

    Hi Freak,

    Have you already tried urm entitycopy?

    Daniel



  • 3.  RE: Uniface 10 and /rma

    PARTNER
    Posted 01-08-2021 11:40

    Hi Ingo,

    This is correct, you need to use urm entitycopy to export/import data as xml, rather than using IDF

    https://u.uniface.info/docs/1000/uniface/_reference/executables/urm_entitycopy.htm


    e.g. urm entitycopy DEF:ENT.MODEL xml:data.xml

    Andrew



  • 4.  RE: Uniface 10 and /rma

    Posted 11-27-2020 14:34

    Hi Daniel

    Yes, this will work
    But the interactive input is missing, that one you got with "ide.exe ... ?"

    Problem is, I have to explain our customers why it's not longer possible by simple click on IDE and then input the parameter. So for every copy, there is the need for a comandline or a batch file.
    Not very user friendly


    Ingo




  • 5.  RE: Uniface 10 and /rma

    ROCKETEER
    Posted 11-27-2020 14:54

    Seriously? You where able to teach the user to double click on an icon and enter some arbitrary command line, but they are not able to do the same from the command prompt?

    You know that you can prompt for (e.g.) parameters in a batch?


    @echo off
    
    title urm entitycopy...
    
    :menu
    cls
    echo.
    echo urm entitycopy
    echo.
    set /p param=Enter parameter: 
    
    set urm=C:\Program Files (x86)\Uniface\Uniface 10.3.01\common\bin\urm.exe
    
    "%urm%" entitycopy %param%
    timeout 10


    What's the difference?

    Daniel



  • 6.  RE: Uniface 10 and /rma

    ROCKETEER
    Posted 11-27-2020 14:55

    The :menu label is obsolete. Sorry. Just some sloppy copy-and-pase.



  • 7.  RE: Uniface 10 and /rma

    Posted 11-27-2020 15:03

    Our user are not DOS-freaks
    They do have there desktop with pre configured shortcuts
    And I was thinking about batch file too.
    Let's see what I can do to create a mutually satisfactory solution

    Ingo



  • 8.  RE: Uniface 10 and /rma

    Posted 11-27-2020 15:06

    BTW:

    Are you sure that our custmers do have UnifAce install on C: 🙂

    C:\Program Files (x86)\Uniface\Uniface 10.3.01\

    Nope, the do have a few directories on E: which different UnifAce and application versions:
    So this simple solution will not work



  • 9.  RE: Uniface 10 and /rma

    ROCKETEER
    Posted 11-27-2020 15:35

    Oh, I forgot this computer stuff is Neuland in Germany. :-\

    Then how do you manage to do this with the short-cuts and the different versions? And I guess you realize that this is just a simple sample, right? It is quite easy to change the installation path to something else. And it will still work as well... But I'm guessing you just want to pull my leg...



  • 10.  RE: Uniface 10 and /rma

    Posted 11-27-2020 14:47
    /rmaThe Uniface Deployment Environment (URMA) is no longer delivered with Uniface, so this switch is now obsolete.

    Regards

    Norbert



  • 11.  RE: Uniface 10 and /rma

    Posted 11-27-2020 14:59

    Hi Norbert

    Yes, I did read this but there was no clue how to solve the problem.
    BTW: In the docu, there is still a line which use /rma 🙂

    Ingo



  • 12.  RE: Uniface 10 and /rma

    Posted 07-29-2021 15:20

    I tried this urm copyentity but it does not copy any rows, this was so easy to do in Uniface 9!!! This is the command I used for the table cmalloc . I also tried it wit the model name too, but it does not work - what have I done wrong?



  • 13.  RE: Uniface 10 and /rma

    ROCKETEER
    Posted 08-03-2021 08:30

    "urm entitycopy" basically works like "ide /cpy" (or in version 9 "idf /cpy"). It therefore is also possible to use the line switches /pri to get more info (e.g. /pri=127).



  • 14.  RE: Uniface 10 and /rma

    Posted 08-03-2021 08:48

    Hi Freaks

    I do a little batch program, which looks like a little bit the old "IDF /... ?"
    Just copy into the bin folder of UnifAce
     URM_DO_bat.zip
    The shortcut is (almost) same then the old one.
    /loop and /pause are new options
    /loop stay in the batch until you quit ("Q") the input
    /pause pause after a copy so you can see the "result"
    There is a little help inside and the batch only supports "entitycopy" (and also "/cpy")

    Just give it a try and maybe someone can improve it 🙂

    Ingo