Skip to main content
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:45 AM UTC

Uniface 10 Enterprise Edition: how to redirect FRM files in the ASN?

how to redirect FRM files in the ASN?

Author: ulrichmerkel@web.de (ulrich-merkel)

In older Uniface versions, we created a couple of forms with the same interface and used in the ASN a redirection so each customer got "his local version".

[FILES] ABC.frm    ..\\frm_directory\\ABC_DE.frm

The same was used to replace as an example the SQL editor with some customised version (see $uuu utilities)

Replacement of sql/print statements This component is a better visualisation of the sql/print statement. Mapping as usys:usyssql sys_sql. The form offers a few useful functions like:
  1. save and open sql-commands from a file
  2. history command list (via filedump)
  3. multiple command within one transaction
  4. timing, etc...

Can someone help me what I have to put in my ASN to get the same result under U10? TIA, Uli

14 replies

Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:45 AM UTC

how to redirect FRM files in the ASN?

Author: ulrichmerkel@web.de (ulrich-merkel)

In older Uniface versions, we created a couple of forms with the same interface and used in the ASN a redirection so each customer got "his local version".

[FILES] ABC.frm    ..\\frm_directory\\ABC_DE.frm

The same was used to replace as an example the SQL editor with some customised version (see $uuu utilities)

Replacement of sql/print statements This component is a better visualisation of the sql/print statement. Mapping as usys:usyssql sys_sql. The form offers a few useful functions like:
  1. save and open sql-commands from a file
  2. history command list (via filedump)
  3. multiple command within one transaction
  4. timing, etc...

Can someone help me what I have to put in my ASN to get the same result under U10? TIA, Uli

What are the $search_resources settings in your asn? 


Author: Iain Sharp (i.sharp@pcisystems.co.uk)
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:45 AM UTC

how to redirect FRM files in the ASN?

Author: ulrichmerkel@web.de (ulrich-merkel)

In older Uniface versions, we created a couple of forms with the same interface and used in the ASN a redirection so each customer got "his local version".

[FILES] ABC.frm    ..\\frm_directory\\ABC_DE.frm

The same was used to replace as an example the SQL editor with some customised version (see $uuu utilities)

Replacement of sql/print statements This component is a better visualisation of the sql/print statement. Mapping as usys:usyssql sys_sql. The form offers a few useful functions like:
  1. save and open sql-commands from a file
  2. history command list (via filedump)
  3. multiple command within one transaction
  4. timing, etc...

Can someone help me what I have to put in my ASN to get the same result under U10? TIA, Uli

Hi Luigi, looks like even in U97, opening a form first looked at the [files] ASN and continue it's work with the modified name (that's why your 9.7 works). I assume this intermediate step will no longer been done in U10 and they go straight to the resources. Well the facts tells us, that the existing way is not supported any more. So we can not provide these benefits to our users/customers when going U10. Thanks a lot for doing all the work scanning the U10 manuals, Uli


Author: ulrich-merkel (ulrichmerkel@web.de)
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:45 AM UTC

how to redirect FRM files in the ASN?

Author: ulrichmerkel@web.de (ulrich-merkel)

In older Uniface versions, we created a couple of forms with the same interface and used in the ASN a redirection so each customer got "his local version".

[FILES] ABC.frm    ..\\frm_directory\\ABC_DE.frm

The same was used to replace as an example the SQL editor with some customised version (see $uuu utilities)

Replacement of sql/print statements This component is a better visualisation of the sql/print statement. Mapping as usys:usyssql sys_sql. The form offers a few useful functions like:
  1. save and open sql-commands from a file
  2. history command list (via filedump)
  3. multiple command within one transaction
  4. timing, etc...

Can someone help me what I have to put in my ASN to get the same result under U10? TIA, Uli

Hi Uli, maybe the answer to the problem is contained in these sentences of the U10 manual : First sentence

classic deployment

A deployment strategy in which application resources are deployed in a variety of locations and formats. It was the standard approach used prior to Uniface 9.3
but is no longer supported.

  Second sentence File Assignments and Redirection

File Assignments and Redirection

File assignments can be used to redirect non-DBMS files to other locations. Non-DBMS files can include Uniface UAR and XML files that Uniface controls, as well as HTML files and text files that may be used by the application. Uniface finds these files using locations listed in the [RESOURCES] assignment file section, and/or by file assignments in the [FILES] section.

  Nothing about Frm files. Luigi


Author: LG1949 (l_giuliante@shsistemi.it)
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:45 AM UTC

how to redirect FRM files in the ASN?

Author: ulrichmerkel@web.de (ulrich-merkel)

In older Uniface versions, we created a couple of forms with the same interface and used in the ASN a redirection so each customer got "his local version".

[FILES] ABC.frm    ..\\frm_directory\\ABC_DE.frm

The same was used to replace as an example the SQL editor with some customised version (see $uuu utilities)

Replacement of sql/print statements This component is a better visualisation of the sql/print statement. Mapping as usys:usyssql sys_sql. The form offers a few useful functions like:
  1. save and open sql-commands from a file
  2. history command list (via filedump)
  3. multiple command within one transaction
  4. timing, etc...

Can someone help me what I have to put in my ASN to get the same result under U10? TIA, Uli

Hi Luigi, thank you for your suggestion (and the note that it works on 9.7). That reminds me that Uniface works on "first fit", so we have to see that the merged ASN in memory will have the special line BEFORE the more general one. Therefore we have to repeat the more general line after our amendment usys:usyssql.frm usys:usys*.frm My first try on U10 failed, but I will investigate on this suggestion. Perhaps someone else has already experienced how to do it in U10; Thanks again, Uli


Author: ulrich-merkel (ulrichmerkel@web.de)