You must define the properties of a text file that you wish to use as input to Centrus Desktop. When you select a *.txt file from the Select File to Process dialog box, Centrus Desktop launches a series of dialog boxes that provide the options for defining your file.
To define the properties of your input text file:
- Select a text file for input from the Select File to process dialog box. The Step 1 of 3 dialog box appears.
- Choose a file type:
- Delimited — you must select a delimiter character on the Step 2 of 3 dialog box.
- Fixed width — Centrus Desktop examines the file for the longest field width and uses that value.
- Choose a method for dealing with the first line:
- First line has field names — indicates that the first line contains header information for the fields.
- Ignore first line — Centrus Desktop ignores the first line in processing.
- Set the record length using the up and down arrows.
- Click Next.
If you selected Fixed Width on the first dialog box, the Step 2 of 3 dialog box for the fixed-width option appears. Follow the directions on the dialog box to create, move, or delete a line break.
If you selected Delimited on the first dialog box, the Step 2 of 3 dialog box for the delimited option appears. Select a Delimiter Type from the following options: Comma, Semicolon, Tab, Slash, or you may enter the character of your choice in the Other field.
-
Click Next. The Step 3 of 3 dialog box appears.
Note: If you selected Fixed width on the Step 1 of 3 dialog box, the Width field is grayed out. - Enter a name for this field in the Name field.
- Choose a type from the Type: list box. There is no additional definition needed for
the Character option.
- If you select Number, then you must select the number of decimal places you want to use to represent that number. Use the up and down arrows in the Decimals field.
- If you select Date. then you must enter the date format in the Date Picture field.
- Click Finish when you are done.