Setting the edit profile


The edit session is controlled by a set of options which are called the edit profile. The current value of all profile options applicable to Edit can be displayed with the PROFILE primary command. The resulting PROF information display can be deleted from the screen with either the D (delete) line command or the RESET primary command.

An example of an edit option is CAPS. To have File-AID translate lowercase characters input at the keyboard as uppercase characters, set the CAPS option to ON by entering the CAPS ON primary command. The CAPS OFF command sets the CAPS option to OFF. The CAPS option is shared between the edit modes and its setting may be changed in any mode.

Each option is controlled by a primary command of the same name. For more information, see the syntax of Primary-commands.

Character and vertical formatted mode profile options

Profile options that can be set in character and vertical formatted mode are:

AUTOSAVE

Controls whether a modified data set is saved upon exit.

BOUNDS

Sets the left and right bounds.

CAPS

Controls translation of keyboard input to uppercase.

HEX

Controls display of data in hexadecimal format.

MESSAGE

Controls the display of the message line at the bottom of the Browse and Edit screens.

PAD

Defines the character to be used for padding records.

SETUNDO

Activates or deactivates the UNDO command.

STATS

Controls the generation of PDS statistics.

PROF display lines in character and vertical formatted mode

=PROF> ....CAPS OFF....HEX OFF....MESSAGE OFF....AUTOSAVE ON....STATS OFF......
=PROF> ....BOUNDS 1 198....PAD X’00’....UNDO IS ACTIVE.........................

Formatted mode profile options

Formatted mode is also controlled by a set of options called the display profile. In formatted mode, the PROFILE primary command displays the current settings of these options and File-AID allows you to modify the profile option settings with the appropriate primary command.

Profile options that pertain to the formatted mode are listed below. Each option is controlled by a primary command of the same name. Refer to Primary-commands for the syntax of these primary commands.

For COBOL, the following profile options are also provided; GROUP, OCCURS, PICTURE, and SYNC are not applicable for vertical formatted mode:

CAPS

Controls translation of keyboard input to uppercase.

FILLER

Controls display of FILLER fields.

GROUP

Controls display of group-level items.

MESSAGE

Controls display of the message line available in all display modes at the bottom of the browse and edit screens.

OCCURS

Controls display of array declaration lines.

OFFSET

Sets format for display of field offset information.

PICTURE

Controls display of PICTURE or DISPLAY line for numeric data fields.

PROTECT

Controls whether the key field can be overtyped.

REDEFINES

Controls display of data item redefinitions.

SHOW

Displays LEVEL, NUMBER, FORMAT, OFFSET or PICTURE information.

SYNC

Controls display of SYNC term for fields of a COBOL layout.

ZERO

Controls display of leading zeros in numeric data fields.

For PL/I, the following profile options are also provided:

ALIGN

Controls display of ALIGN/UNALIGNED term for PL/I data items.

ARRAY

Controls display of ARRAY information for PL/I data items.

COMPLEX

Controls display of COMPLEX term for PL/I data items.

REFLNG

Controls display of field length reference lines for PL/I BIT/CHAR VARYING data items.

COBOL PROF Display Lines in Formatted Mode shows sample PROF lines displayed from formatted mode for the COBOL language. The OCCURS, REDEF, and SYNC options are unique to the COBOL language.

PL/I PROF Display Lines in Formatted Mode shows sample PROF lines displayed from formatted mode for the PL/I language. The ALIGN, ARRAY, CMPLX, and REFLNG options are unique to the PL/I language.

COBOL PROF display lines in formatted mode

=PROF> ..CAPS OFF....FILLER ON....GROUP ON....OCCURS ON....OFFSET COLUMNS......
=PROF> ..PICT ON....PROT OFF....REDEF ON....SHOW LEVEL....SYNC ON....ZERO OFF..
=PROF> ..MESSAGE ON............................................................

PL/I PROF display lines in formatted mode

=PROF> ..ALIGN ON....ARRAY ON....CAPS OFF....CMPLX ON....FILLER ON.............
=PROF> ..GROUP ON....OFFSET COLUMNS....PICT ON....PROT OFF....REFLNG ON........
=PROF> ..SHOW LEVEL....ZERO OFF....MESSAGE ON..................................

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*