
  File Profile options are presented in a property sheet format. Each
  field can be independently edited.

  Select a list entry to edit a File Profile or click on "New" to
  create a new one.

  When you click on button "New" to create a new file profile, a
  dialog is presented which allows you to specify the name and
  record format. A description of each record format choice is
  provided in the dialog.  Specify the name and record format, then
  click on CREATE.

  The values in file profile DEFAULT are used to initialize the new
  file profile. This allows you to establish your own defaults for
  new file profiles.

  Once a new file profile is created, it is presented for editing as
  described below.

  For existing file profiles a property sheet is presented which
  lets you modify the file profile.

  A file profile which is in use by Edit or Browse can not be
  modified.

  To modify a property simply double-click on the individual
  property sheet entry. Note that some properties are not
  modifiable.

  FileType

     Non-modifiable, the file type (e.g. "CBL")

  RecordFormat

     Non-modifiable, the record format, FIXED or VARIABLE

  RecordLength

     RECFM=FIXED only, specify the uniform length for records in
     files of this type.

     The lower limit for record length is 8.
     The upper limit for record length is 64000.

  MaxRecordLength

     RECFM=VARIABLE only, specify the maximum logical record length
     expected for files of this type.

     The lower limit for maximum record length is 8.
     The upper limit for maximum record length is 64000.

  NewFileRecordTerminator

     RECFM=VARIABLE only, specify the record terminator to be used
     when a new file of this type is created.

     CR+LF  -  standard DOS or Windows text files.
     LF     -  standard UNIX or LINUX text files.

  Bounds

     Non-modifiable, set automatically based on line number type
     (see "NumberType")

  CharsetFile

     Specify the character set used in encoding disk based files of
     this type:

     "ASCII-ISO8859" - The disk file is recorded using ASCII character
     set ISO8859. This is the default character set. Also known as
     "Latin 1" or "ANSI". Specify this character set for files that
     contain common ASCII character codes 20 to 127 and ANSI standard
     extensions in character codes 160-255.

     "ASCII-IBMPC" - The disk file is recorded using ASCII character
     set IBMPC. This is the original IBM PC extended ASCII character
     set. Specify this character set for files that contain common
     ASCII character codes 20 to 127 and IBM-PC extensions in
     character codes 00-31 and 128-255. If desired, use menu UTILITY,
     item CONVERT, for converting files from IBMPC character set to
     ISO8859.

     "EBCDIC" - The disk file is recorded using IBM character set
     EBCDIC. EBCDIC is the IBM System-370 and ES-9000 mainframe family
     character set. When SPF/SE loads a file with this encoding, the
     data is automatically converted internally from EBCDIC codes to
     the ASCII codes (ISO8859 or IBMPC). In Edit, you can use HEX ON
     to see the underlying EBCDIC character code. The character
     displayed for non-translatable character codes is maintained in
     system variable ZXLATESUBCHAR. To change the value of
     ZXLATESUBCHAR invoke OPTIONS, item GENERAL.

  CharsetDisplay

     Specify the character set to use for display of this file type:

     "ASCII-ISO8859" - Use ASCII character set ISO8859 for display.
     This is the default display character set. Also known as "Latin
     1" or "ANSI". Specify this character set for files that contain
     common ASCII character codes 20 to 127 and ANSI standard
     extensions in character codes 160-255. Use any Edit font except
     "Terminal" to display the ISO8859 character set.

     "ASCII-IBMPC" - Use ASCII character set IBMPC for display. This
     is the original IBM PC extended ASCII character set. Specify this
     character set for files that contain common ASCII character codes
     20 to 127 and IBM-PC extensions in character codes 00-31 and
     128-255. If desired, use menu UTILITY, item CONVERT, for
     converting files from IBMPC character set to ISO8859. Use Edit
     font "Terminal" to display the IBMPC character set.

  Caps

     Specify whether input characters should be capitalized.

     If ON is specified, input characters are automatically
     converted to uppercase.

     If OFF is specified, input characters are processed "as is".

     If AUTO is specified, on file load SPF/SE checks the case of
     all alphabetic characters in the file being loaded. If all the
     characters are uppercase, CAPS is set ON, otherwise CAPS is set
     OFF.

  ColorType

     Specifies the colorization type to be used with this file type
     (e.g.  "CBL"). Normally the colorization type corresponds to
     the file type.

     The only time the colorization type would differ from the file
     type is when a colorization type is used by more than one file
     type.  For example, colorization type CBL is used by file type
     CBL and file type CPY.

     If you do not want program source colorization, clear the
     colorization type field.

     To edit program source colorization types, click on menu
     OPTIONS, item COLORIZATION.

     See chapter "Colorization of Program Source" for details on the
     content of colorization control files.

  LanguageTemplate

     Specifies the language template to be used with this file type
     (e.g.  "CBL"). Normally the template corresponds to the file
     type.

     The only time the language template would differ from the file
     type is when a language template is used by more than one file
     type. For example, language template CBL might be used by file
     type CBL and file type COB.

     If you do not want language specific templates, clear the
     language template field.

     For details on how to create, modify, and use language specific
     templates, review Edit primary command TEMPLATE.

  Imacro

     Specify the name of a macro to be executed immediately AFTER
     the file is loaded.

  Xmacro

     Specify the name of a macro to be executed immediately BEFORE
     the file written as a result of SAVE or END primary command.

  NumberType

     Specify line numbering type, one of:

     COBOL - line numbers are in columns 1 to 6.  Setting
     "NumberType" to COBOL automatically sets:

     Offset            = 6
     Bounds            = 7,80
     NumberStart       = 100
     NumberIncrement   = 100
     NumberColumnStart = 1
     NumberColumnEnd   = 6

     STANDARD - line numbers are in columns 73 to 80.  Setting
     "NumberType" to STANDARD automatically sets:

     Offset            = 0,
     Bounds            = 1,72
     NumberStart       = 100
     NumberIncrement   = 100
     NumberColumnStart = 73
     NumberColumnEnd   = 80
     RecordLength      = 80

     COB+STD - line numbering is identical to COBOL. Additionally
     columns 73 to 80 are protected from interaction with the body
     of the line and can be used for manual annotation.

     OTHER - line numbers are based on the settings of fields:

     Offset            (auto set based on NumberColumnStart and NumberColumnEnd values)
     Bounds            (auto set based on NumberColumnStart and NumberColumnEnd values)
     NumberStart       (default=100)
     NumberIncrement   (default=100)
     NumberColumnStart (no default, must be set)
     NumberColumnEnd   (no default, must be set)
     RecordLength      (if NumberColumnStart greater than 1, auto set to NumberColumnEnd)

     Number field width minimum is 4; maximum is 8. If
     "NumberColumnStart" is 1, use menu OPTIONS, item EDITOR, to set
     "Line command field width" equal to number field width + 1.

     NONE - automatic line numbering is not performed. Setting
     "NumberType" to NONE automatically resets all line number
     related fields.

  NumberAuto

     This field controls whether line numbers are checked for
     validity when a file is loaded and how automatic line numbering
     is applied to the line number field of each line.  Choose one
     of:

     FULL - Check line numbers for validity when a file is loaded.
     When lines are inserted, deleted, copied, or moved, do a full
     renumber starting with "NumberStart" and incrementing by
     "NumberIncrement". Setting FULL may not be efficient on very
     large source files. If efficiency proves to be a problem, use
     setting INCR or NONE.

     INCR - Check line numbers for validity when a file is loaded.
     Incrementally renumber lines which have been inserted, copied
     or moved. When incremental renumbering occurs, line numbers are
     assigned between the range of predecessor and successor line
     numbers.  For example, if the gap between predecessor and
     successor is 100, inserted lines would be numbered
     incrementally by 10. Thus if you insert a line between line
     004200 and 004300, it will get line number 004210. The next
     line inserted at that point will get line number 004220 and so
     on. In the case where there is no gap in the line numbers, the
     successor is automatically renumbered as well.

     NONE - Do not check line numbers for validity when a file is
     loaded.  Do not do automatic line numbering on old or new
     lines.  This mode is used when you want the pre-existing
     contents of the line number field protected but you do not want
     any new line numbers to be generated.

     When "NumberAuto" is set to NONE, the line command field
     displays ordinal line numbers regardless of line content.

     When "NumberAuto" is not set to NONE, and the line number field
     begins in column 1 (COBOL, COB+STD, and optionally OTHER), the
     line command field displays the line number data from each
     line.

     When "NumberAuto" is not set to NONE, and the line number field
     does not begin in column 1 (STANDARD and optionally OTHER), the
     line command field displays ordinal line numbers regardless of
     line content.

     Also see menu OPTIONS, item EDIT, field "Show line numbers" for
     enable/disable of line number display independent of
     "NumberType" and "NumberAuto".

  NumberStart

     Specify the initial line number for automatic line numbering.
     If number start is not set, it defaults to "NumberIncrement".

  NumberIncrement

     Specify the line number increment for automatic line numbering.
     If number increment is not set, it defaults to 100.

  NumberColumnStart

     "NumberType" = OTHER only.  Specify the starting column number
     for the line number field.

  NumberColumnEnd

     "NumberType" = OTHER only.  Specify the ending column number
     for the line number field.

  PromptAfterKeystrokes

     Specifies the number of keystrokes to be processed before a
     prompt is issued to remind the end user that a SAVE of the
     current edit file might be in order.

  TabsExpandOnRead

     RECFM=VARIABLE only. Specify the uniform tab stop value for
     expanding tabs on input. For example, many editing systems put
     tabs in the file in place of blanks. Default = 2.

  TabsInsertOnWrite

     RECFM=VARIABLE only. Specify the uniform tab stop value for
     inserting tabs on output (series of multiple blanks are
     replaced by TAB characters. Default = 0 (no tabs are put into
     the output file).

  TabKeyStopsAt

     Specify the tab stops to be used in conjunction with the TAB
     key when entering data into a line. This is analogous to a
     typewriter TAB rack.  Using the TAB key simply positions the
     cursor. It does not put TAB characters into the file.

     If color bands are specified for this file type, and "Tabs" is
     set to 0, the [TAB] key will advance the cursor to the next
     field (color band). See topic "Program Source Colorization,
     COLOR_BAND" for details.

  Backup

     Specify whether a backup file should be created when the file
     is saved, TRUE or FALSE.

     If TRUE is specified, when a modified file is written, the
     original file is backed up in one of three ways:

     1. The original file is renamed in place to "file-name.ext.BAK"
     (e.g. file PAYROLL.COB is reanmed to PAYROLL.COB.BAK)

     2. The original file is copied to the path specified in
     "BackupAlternatePath"

     3. The original file is copied to the path specified in
     OPTIONS, item "Backup Paths"

     If FALSE is specified, when a modified file is written, it
     replaces the original file contents.

  BackupAlternatePath

     Specifies an alternate backup path for this file type. If
     specified, modified files of this type are copied to this path
     keeping their original name.

  Lock

     Specify whether the current file profile settings are preserved
     across an edit, TRUE or FALSE.

     The file profile is changed by edit primary commands BOUNDS,
     CAPS, COLORMAP, and NUMBER. It is also changed by edit line
     commands MASK and TABS. The "MaxRecordLength" value can be
     changed by file load.

     If TRUE is specified, changes to the file profile made during
     edit are only in effect for the duration of the SPF/SE session.
     They are not recorded on disk.

     If FALSE is specified, any changes made to the file profile
     during edit are recorded on disk and become available in future
     SPF/SE sessions.

  AutoIncreaseRecLen

     RECFM=VARIABLE only. Specify whether to automatically increase
     the "MaxRecordLength" value when a file is loaded having a
     record longer than "MaxRecordLength", TRUE or FALSE.

     If a record's length exceeds the current setting for
     "MaxRecordLength" and the record length is less than the
     current read buffer size, the "MaxRecordLength" value is set
     equal to the length of the record.

     If a record's length exceeds the current setting for
     "MaxRecordLength" and the record length is equal or greater
     than the current read buffer size, the read buffer size is
     increased by one page (4096 bytes) and the "MaxRecordLength"
     value is set equal to the new read buffer size.

     If TRUE is specified, the "MaxRecordLength" value is
     automatically increased by file load.  (Also see "Lock"
     option.)

     If FALSE is specified, the "MaxRecordLength" value is not
     altered by file load.  (Also see "TruncateLongLines" option.)

  AutoIncreaseNotify

     RECFM=VARIABLE only. Specify whether an information message
     should be issued when file load automatically increases
     "MaxRecordLength", TRUE or FALSE.

     If TRUE is specified, the information message is issued.

     If FALSE is specified, no message is issued.

  EndOfFileCharRead

     RECFM=VARIABLE only. Specify whether your file is terminated by
     the "End of File" character, TRUE or FALSE.

     If TRUE is specified, the EOF character EOF (0x1A) indicates
     end of file.

     If FALSE is specified, end of file is reached when no more
     bytes can be read (physical end of file).

  EndOfFileCharWrite

     RECFM=VARIABLE only. Specify whether an "End of File" character
     should be written when the file is saved, TRUE or FALSE.

     If TRUE is specified, when a modified file is written, the EOF
     (0x1A) character is written as the last character in the file.

     If FALSE is specified, when a modified file is written, the
     last data character in the last line is the last character in
     the file.

  PadShortRecsWithBlank

     RECFM=VARIABLE only. Specify whether short records should be
     automatically padded with blanks to "RecordLength". This has
     the effect of giving all records a uniform length even though
     they have record terminator characters.

     If TRUE is specified, incoming and outgoing records which are
     shorter than "RecordLength" are padded on the right with blanks
     to length "RecordLength".

     If FALSE is specified, incoming and outgoing records are kept
     "as is".

  StripTrailingBlanks

     RECFM=VARIABLE only. Specify whether trailing blanks should be
     stripped when a file is read and written, TRUE or FALSE.

     If TRUE is specified, blanks at the end of each record are
     removed on read and write.

     If FALSE is specified, records are read and written "as is".

     The default setting for "StripTrailingBlanks" is FALSE. This
     avoids unintended alteration of files that may attach meaning
     to trailing blanks. Program source files generally do not
     attach meaning to trailing blanks.  For program source we
     recommend setting "StripTrailingBlanks" to TRUE.

  TruncateLongLines

     RECFM=VARIABLE only. Specify whether lines that exceed the
     maximum record length should be truncated, TRUE or FALSE.

     If TRUE is specified, incoming records which exceed the maximum
     record length are truncated (data beyond the maximum record
     length is discarded).

     If FALSE is specified, incoming records which exceed the
     maximum record length are folded (data beyond the maximum
     record length is preserved in a new record following the
     current record).

     In either case when a long line is encountered, an information
     message is issued.

  Note:  You are not allowed to create a file profile for type PRN.
  For files with extension ".PRN", create an alternate file profile
  like XPRN then use OPTIONS, ALIAS, PROFILES to alias PRN to XPRN.

  The reason for this is that when SPF/SE tries to open external
  control file PRN.FP to read or write the file profile contents,

  the run-time support for file open misinterprets the open to be
  for "PRN" the system printer. We have no control over this
  problem, it has been around since the days of CPM/80 and will not
  likely be fixed anytime soon.

