Skip to main content

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



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



Hi Freak,

Have you already tried urm entitycopy?

Daniel


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



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



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



/rmaThe Uniface Deployment Environment (URMA) is no longer delivered with Uniface, so this switch is now obsolete.

Regards

Norbert


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


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


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


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


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



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


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


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


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


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


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


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


Hi Freak,

Have you already tried urm entitycopy?

Daniel

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


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



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?


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?

"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).


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



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