Input Options
Use this window to specify options for extracting data from reports and those for displaying tables and summaries.
To access this window select Options from the Home ribbon, then select Input from the Options Window ribbon.
Fields
Field |
Description |
Dates |
|
Format |
Use the Dates Format setting to modify how Monarch Classic interprets dates extracted from a report. Select the appropriate date format from the drop-down list:
Note: For detailed information on the supported date formats see Changing a field's type. |
Range for 2-digit years |
Use the Date Range setting to modify how Monarch Classic interprets dates for which the year is represented using only two digits. For example, the date 07-Mar-15 could refer to March 07, 1915 or March 07, 2015. The edit box lets you set the start date for a 100 year range that Monarch Classic will use to interpret the date. The default date range is set to 1950 - 2049. You may select a starting date in the range 1901 – 1999. Note that you may also use 1900 as a starting date by entering this value for the StartYear in the Windows Registry at: HKEY_CURRENT_USER\Software\Datawatch\Monarch\Settings\StartYear Establishing an appropriate Starting Year To establish an appropriate starting year, begin by examining your reports to determine the earliest two digit years that you are likely to encounter. Then set your date range to start on this date or perhaps 5 – 10 years earlier. For example, if your reports include two-digit employee hire dates and your company is 30 years old, Monarch Classic's default Starting Date of 1950 will correctly interpret all two digit dates for your reports. You must examine all of your reports that contain two digit dates before establishing the starting year. |
Extraction Patterns |
Select the date and/or time pattern combinations that you expect your reports to have, and which you want Monarch Classic to extract and convert:
Note: Between the time and date there may appear any non-alphanumeric characters. For example 0800-April 15,1957 is accepted as a date/time, whereas 0800 on April 15,1957 is not accepted. Monarch Classic doesn’t accept alphanumeric characters between a time and a date because of the possible ambiguity with month names. |
Numbers |
|
Decimal Character |
Use this setting to specify the character, either a period or a comma, that separates the integer component of a number from its decimal component. While a period is the default decimal character, some countries use a comma as the decimal character. |
Text |
|
Trim leading and trailing spaces from Character and Memo fields |
Enable Trim leading and trailing spaces from Character and Memo fields to have Monarch Classic automatically trim leading and trailing spaces from character and memo fields. |
Redaction |
|
Enable redaction of report fields |
Select to turn on the redaction feature. This feature allows you to replace, or mask out field values, so that only a representation of the field value is displayed, and not the actual value. Refer to Redacting Field Values for details. |
Text Files
Field |
Description |
Formatting |
|
Encoding |
Use this setting to specify the default report file format. The following encodings are supported by Monarch Classic:
These options may also be accessed in open files by right-clicking on the report in Report view. Choosing the Best Encoding for Use with Monarch Classic With encodings other than ASCII or ANSI, Monarch Classic has to perform a transformation process when it opens the file. If you have control over the system that is generating files for Monarch Classic, consider choosing the encoding that is output by the system in order to optimize Monarch Classic performance. When doing so, keep in mind that UTF-16 files will be much larger in size than ASCII, ANSI and UTF-8. Here is a list of the encodings that Monarch Classic supports in their preferred order, due to file size and transformation overhead:
|
Code page |
Select the appropriate code page to use with the chosen input file encoding format. This option is only applicable to the ASCII (14 codepages available), ANSI (10 codepages available), and EBCDIC (16 codepages available) encoding systems. These options may also be accessed in open files by right-clicking on the report in Report view. |
When using EBCDIC files as inputs, the following file formats can be further selected:
|
|
ANSI Locale |
Select the appropriate locale for ANSI Encoding. This drop-down is only active if your encoding is ANSI. You can select to use:
|
Ignore Print Control Characters |
Select this setting to have Monarch Classic ignore all print control characters below ASCII 32 except for:
|
Hide n Leading characters on each line |
When you download print files from a network, a mini-computer, or a mainframe, one or more extra characters may appear at the beginning of each line. The exact number and type of characters depends on the operating system. These introductory characters are typically used for form feed, carriage return, or line feed printer commands. They are usually not needed in a PC file and may affect the way the file is displayed by Monarch Classic. A few communications programs are smart enough to either discard unnecessary characters or translate useful characters into the corresponding PC character codes. However, a form feed command is typically the only useful character you may get, and most communications programs are unable to translate it. Use this setting to specify the number of leading characters to strip from each line of the report. Typical values are 0, 1, and 2. The value can be in the range 0 - 99. For example, if you download from an IBM 3090 mainframe computer using an IRMA communications card, each line in the report will be preceded by two non-productive characters. You can strip those characters from the data by entering 2 in the Hide leading characters box. |
Page Break |
|
Ignore the Form Feed Character |
Selecting this setting causes Monarch Classic to ignore all form feed (page break) characters in a report. Use this setting to turn off the hard-coded page breaks in a report file and replace them with page breaks based upon a Page Header trap or based upon the ForcePageBreakAfter n Lines setting (see below). |
Page break on hidden leading text: n |
For some mainframe and midrange system generated reports, especially from AS/400 systems, a page break could be indicated by a leading control character in the report file. This option allows you to hide the control character and to force a page break when a specified character is encountered. Note: This option is not accessible unless you specify a Hide n Leading Characters setting. |
Force page break after n lines |
Use this setting to add page breaks to a file at regular intervals by specifying the number of lines you want on each page. Monarch Classic scans the report for existing page breaks and inserts a virtual page break whenever a real page break has not been encountered before the number of lines specified. The action of this setting is modified by the ForcePageBreakLookAhead setting. |
Excel Files
Field |
Description |
Data Types - Default sample size when detecting column data types |
Instructs Monarch Classic to scan n number of rows when opening Excel workbooks to determine an appropriate data type for each column to be loaded. n may take on the following values:
|
Default engine to use for importing files from Excel |
Instructs Monarch Classic to use the selected engine when importing tables from Excel files:
Tick the Always substitute the Modern engine when loading a project or model which uses the legacy engine checkbox if you wish Monarch Classic to use the Modern engine exclusively when importing an Excel file that it detects to be using the legacy engine. The option to convert currently open models or projects (regardless of engine used) to the Modern engine and then reload is also provided. |
Trapping
Field |
Description |
Trap Characters |
Allows you to specify whether you want to use Monarch Classic's standard trap characters or the alternate ones. The Alternate trap characters have been chosen to be compatible with different languages, so that characters that are commonly used in a language are not chosen as wildcard trap characters. For example, in the standard trap character set, the Alpha Trap uses a character which is common in Portuguese, the Numeric Trap uses a character which is common in Spanish, the Blank trap uses a character which is common in German, and the non-blank trap uses a character that is common in Scandinavian languages.
Note: The characters used in the Alternate trap set are all low ANSI, i.e., lower than character code 128, so they will be consistent across all code pages. Refer to Trap_Characters on the Template Editor Action Bar to view the trap characters used. |
Non-Regex are case-sensitive |
Specifies whether or not non-Regex traps created are case-sensitive. If this box is checked, entering CUSTOMER in the Trap line to create a trap from a line with the word Customer will not highlight any report lines. |
Language
Field |
Description |
Default Japanese Font |
Specifies the font to use when the input file contains Japanese characters. Note: The recommended fonts for this setting are MS Gothic and MS Mincho. |
Default Simplified Chinese Font |
Specifies the font to use when the input file contains Simplified Chinese characters. Note: The recommended font for this setting is NSimSun. |
Default Traditional Chinese Font |
Specifies the font to use when the input file contains Simplified Chinese characters. Note: The recommended font for this setting is Chinese MingLiu. |
Fullwidth Character Mode |
When this options is set to On, it instructs Monarch Classic to detect fullwidth characters for file inputs using fullwidth characters,such as Japanese. Turning this option on also enables the following:
By default, this mode is set to Off. |
Autodefine
Field |
Description |
Accuracy |
Specifies the number of sample lines to display to check for accuracy when the AutoDefine functionality is applied. |
General
Field |
Description |
Makes these default settings |
Saves the current settings in the Registry as the defaults for future Monarch Classic sessions. Note: When closing the current model you will be prompted to save the model changes. You must select Yes to save the tab settings as the defaults. If you choose not to save the model changes, the tab settings will not be saved as the defaults. |
Restore from default settings |
Restores the settings to the most recently saved defaults in the Registry. |