
  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 record length expected
     for files of this type.

     This value limits the amount of text that can be entered on a
     single line. It also limits the size of incoming records from
     pre-existing files. The setting of field "LongRecordOption"
     determines how oversize records are handled.

     The ISPF model for FIND/CHANGE/EXCLUDE assumes that all data
     positions after the last non-blank to the "MaxRecordLength"
     contain blanks. To match this behavior, SPF/SE internally pads
     short records with blanks to "MaxRecordLength". To operate most
     efficiently and preseve RAM it is important to set
     "MaxRecordLength" to the smallest value practical. That is, the
     length of the longest ACTUAL record expected for the majority of
     files of this file type that you deal with.

     For example, for type TXT, for 99% of "*.TXT" files that you deal
     with, the longest expected record might be 300. If you have one
     exceptional file that contains a record of 9000 characters, DO
     NOT set "MaxRecordLength" to 9000 for that one file. Instead,
     create a special File Profile ("V9000") to handle the exceptional
     case. To override the File Profile for a particular edit session,
     specify the alternate File Profile name ("V9000) in field
     "Profile" of the File List Open Dialog.

     Also see "LongRecordOption" and "TrailingBlanksOption" below.

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

  LongRecordOption

     RECFM=VARIABLE only. Specifies how to handle incoming records
     that exceed the maximum record length specified in field
     "MaxRecordLength".

     "AutoIncrease" - The "MaxRecordLength" field is automatically
     increased to the length of the long record. If the right bound
     (see "Bounds") was initially equal to the original
     "MaxRecordLength", the right bound is also increased to the
     length of the long record. The File Profile is written so that
     the new values will persist beyond the current session.

     "Fold" - Specifies that the long record is to be folded at the
     length equal to "MaxRecordLength". Overflow bytes are to be
     treated as a new input line. This process is repeated until all
     overflow bytes are processed into lines. NOTE: Folding is
     arbitrary. The folded line will end exactly at "MaxRecordLength"
     regardless if that falls in the middle of a word.

     "Notify" - Specifies that SPF is to stop reading input records,
     enter Browse mode, and notify the user of the long record
     condition. After acknowledging the message, you will be in Browse
     on the file in question with the last line loaded being the long
     record. At this point you can exit Browse and manually change
     "MaxRecordLength" and/or "LongRecordOption" to accomodate a longer
     record length.

     "Truncate" - Specifies that incoming records which exceed the
     length specified in "MaxRecordLength" are to be truncated (data
     beyond the maximum record length is discarded).

     In all cases, an information message is issued which identifies
     the long record condition and the action taken.

     Default = "Notify"

  TrailingBlanksOption

     RECFM=VARIABLE only. Specifies how to handle trailing blanks when
     a file is written. (blanks that follow the last non-blank in a
     record).

     PadBlanksOnWrite - Specifies that when a modified file is
     written, each record is padded with blanks to "MaxRecordLength".
     This option is used to simulate the effect of RECFM=F while
     preserving the record delimiters (LF, CR+LF) present in standard
     DOS/Windows/Unix text files.

     StripBlanksOnWrite - Specifies that when a modified file is
     written, all blanks after the last non-blank are stripped off.
     This is the normal configuration for standard variable length
     DOS/Windows/Unix text files.

     Default = "StripBlanksOnWrite"

  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 "MaxRecordLength" or
     if specified, by the 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
     original code points for each line are preserved internally, when
     the line is displayed, the data is automatically converted from
     EBCDIC to ASCII for display. EBCDIC codes that do not translate
     to a displayable character are displayed using the non-display
     character (see OPTIONS, item EDITOR, field "NonDisplayChar").

     When a new text character is entered in ASCII (e.g. "A" = x'41')
     it is directly translated and entered into the original EBCDIC
     record ("A" = x'C1').

     Non-text characters can not be entered directly (e.g. EBCDIC x00
     to x3F). Use primary command HEX ON to view or directly modify
     the underlying EBCDIC character codes.

  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. Use Edit font "Terminal" to display the IBMPC character
     set.

     If desired, use menu UTILITY, item CONVERT, for converting files
     from IBMPC character set to ISO8859.

  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
     NumberStepdownIncrement = 0 (AUTO)
     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
     NumberStepdownIncrement = 0 (AUTO)
     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/NumberColumnEnd)
     Bounds            (auto set based on NumberColumnStart/NumberColumnEnd)
     NumberStart       (default=100)
     NumberIncrement   (default=100)
     NumberStepdownIncrement (default=0 (AUTO))
     NumberColumnStart (no default, must be set)
     NumberColumnEnd   (no default, must be set)
     RecordLength      (if NumberColumnStart > 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 based on field "NumberStepdownIncrement".

     If "NumberStepdownIncrement" is set to 1 or greater, the
     specified value is used.

     If "NumberStepdownIncrement" is set to 0, SPF/SE automatically
     selects the next lowest possible incremental number. 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 line 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.

  NumberStepdownIncrement

     Specify the line number increment for automatic line numbering of
     new lines inserted between existing numbered lines. If set to 0
     (AUTO), SPF/SE automatically selects the next lower line number
     increment possible. If set to 1 or greater, that specified value
     is used. This value must be less than the value specified in field
     "NumberIncrement". Also see discussion of field "NumberAuto=INCR"
     above.

  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.

  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 "MaxRecordLength". 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 "MaxRecordLength" are padded on the right with blanks
     to length "MaxRecordLength".

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

  ReadEORStrict

     If set to TRUE, when a RECFM=V file is loaded into Edit or
     Browse, the first record is scanned for CR, or LF, or CR+LF pair.
     When one of these is detected, it is assigned as the exclusive
     EOR sequence. In subsequent reads, only that EOR sequence
     determines where a record ends.

     If set to FALSE, when a RECFM=V file is loaded into Edit or
     Browse, any instance of CR, or LF, or CR+LF pair is treated as
     "end of record".

  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.

  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.

