AMT Help Files

Options

To open the options of an application, right click on an application in the AMT Enterprise Repository and select Options from the context menu. The following screen opens:

 

 
After the options of an application have changed, the application options must be checked-in and a Whole System generation must be performed before the changes become active.

 

The following global options can be set:

Option Description

Name

The name of the application.

Description

Description of the application.

Initial transaction

The opening transaction within the application.

Terminal form

Name of the terminal form

Decimal sign

Separator used for decimal characters.

The decimal character is always leading, and where relevant (i.e. shown), the thousand separator will be the "opposite" of the decimal character.

Force decimal key

This option determines whether or not values that are specified as decimals must be rejected if they don't contain the decimal character.

Show leading zeros

The number of leading zeros to be shown.
If set to none, no zero will be displayed for the numeric value.
If set to one, a zero will only be shown if the value is zero.
If set to all, and the value contains less characters then the value length supports, the value is completed with leading zeros until the full value length is displayed.
If set to all except 0, the value will show all leading zeros, except when the value is 0.

Numeric Sign Encoding

The overpunch encoding used for signed numerics when overpunch is used.
See Overpunch Encoding.

New and upgraded applications have this option set to Not set by default and need to be changed to another setting before generating the application. warning If Numeric Sign Encoding is set to Not set, the generator does not generate the application, nor any of its objects.

SI-PARAM size

The size of System item SI-PARAM to use for this Application. Maximum size is 64K

Application Origin

The type of Mainframe OS this application is converted from. When set to Unix, numerics containing only spaces will get converted to 0 on assignments. 
File record ending  Defines how records will be delimited in a text based data file. This setting is used as default and can be changed when adding a file-id.

Possible values are: 
- CR/LF normal default
- CR Carriege return only
- LF Line feed only
- None, no delimiting. Records are seperated based on record length only. 
Initial value of variables

The initial value of variables when no specific initial value has been set.

The options are:

  • Spaces for Alpha, Zeros for numeric: This is the default Amt/Lion behaviour. Alpha fields are spaces, Numerics are '0'.
  • All Spaces: All variables will be spaces, except if you have items with an initial value.
  • All Hex Nulls: Default for A-series & OS2200 COBOL migrations. Initializes all 01 level variables with hex null, as well as Special level variables (eg. 77).
Letter spacing (px)

The spacing between characters in pixels for the web client only. Can be set from -2.0 to 2.0 or on 'Default'.

When both the form layout option and this application option are set to default, the 'letter-spacing' value stored in the Amt.css file of the application web theme will be used. By default this setting is omitted for most layout components in the Amt.css file which has the same effect as setting letter-spacing to normal.

The priority for letter spacing is:
1. Form layout option.
2. Application option.
3. Amt.css file 'letter-spacing' property in the used application web theme

When label values are truncated in the web, can you change either the Amt.css for all forms per application web theme, this application option for all forms in all web themes or overwrite the value per form by using the letter spacing layout option. Sometimes you need a value of -0.2 or -0.4 to get the same alignment between the web client in a browser and AMT Developer Studio/AMT Screens. 

Write <LF> before new print layout

If the option "Write <lf> before new print layout" is checked, for each print layout in the application:

  • every line will be followed by a carriage return (cr). This means that the printer position is set to the beginning of the line.
  • every new line will be preceded with a line feed (lf). This means that the printer position is set to the next line.

This option makes it possible to print a new line over another line.

If the first line on a print layout should not be preceded with a line feed, you can use the suboption NOSKIP in the PRINT instruction. The line number value will then be decremented with one.

warning Attention!
This option can have unpredicted consequences for the formfeed. If you are contemplating the use of this option, it is recommended to test this thoroughly to find out the exact consequences for your environment.

Define Unicode for all extract files 

If enabled, this sets Unicode as the default option for all extracted files. This can be overwritten using the following syntax in the file definition:

FILE SECTION.
 FD  MYFILE
 ENCODING IS UTF16

Or:
ENCODING IS ASCII

Define Unicode for all print filesIf enabled, this sets Unicode characters as the default option for all print files. This can be overwritten in the options of individual printer assignments.

QUOTE and QUOTES keywords are translated to a single quote

By default, the QUOTE and QUOTES keywords represent one or more double quotation mark (") characters, with this setting enabled the keywords will represent one or more single quotation mark (') characters. 

 

 
Database application options are located in the Database application options node.