Displaying the user profile options
Use the PROFILE primary command to display the current profile settings. The profile options that are displayed vary by display mode and record layout language. The following table lists all of the profile options, the type of information each option controls, the mode under which it is displayed and language dependencies (COBOL or PL/I).
Browse - Formatted Mode (PROFILE Command)
Steps:
- Type PROF in the COMMAND field.
- Press Enter. File-AID displays three profile lines at the top of the data area as shown in the following figure.
Browse - Formatted Mode - After PROFILE Command
COMMAND ===> SCROLL ===> PAGE
RECORD: 1 EMPLOYEE-MASTER-FILE LENGTH: 198
---- FIELD LEVEL/NAME ------- -FORMAT- ----+----1----+----2----+----3----+----4
=PROF> ..CAPS OFF....FILLER ON....GROUP ON....OCCURS ON....OFFSET COLUMNS......
=PROF> ..PICT OFF....PROT OFF....REDEF OFF....SHOW LEVEL....SYNC ON............
=PROF> ..ZERO OFF....MESSAGE ON......PRESERVE ON...............................
5 EMP-NUMBER 1 00090
5 EMP-LAST-NAME 6 MARTIN
5 EMP-FIRST-NAME 21 EDWARD
5 EMP-MID-INIT 31 M
5 FILLER 32
5 EMP-TITLE 34 AIRPLANE MANUFACTURER
5 EMP-PERSONAL-INFO SYNC 64
10 EMP-NATL-ID-NUMBER 64 427890125
10 FILLER 73
10 EMP-DATE-OF-BIRTH 74 101954
10 EMP-HIRE-DATE 80 920101
10 EMP-MARITAL-STATUS 86 M
5 EMP-WITHOLD-INFO 87
10 EMP-LIFE-INS-WITHOLD-AMT 87 -3000.00
10 EMP-NATL-TAX-WITHOLD-PCT 93 -74.00
10 EMP-REGION-TAX-WITHOLD-PCT
Enter CHAR (character mode), VFMT (vertical format), UNFMT (unformatted)
More about profile settings
Each option has a corresponding primary command to let you change the setting (for example, GROUP ON or GROUP OFF). A summary of profile options is shown in the following table.
User Profile Options
Option | Mode | Language | Controls display of ... |
---|---|---|---|
ALIGN | FMT | PL/I | ALIGNED/UNALIGNED term |
ARRAY | FMT | PL/I | ARRAY information |
AUTOSAVE | All modes | any | ON or OFF issue SAVE on END |
BOUNDS | CHAR,VFMT | any | current bounds settings |
CAPS | All modes | any | ON or OFF uppercase entered text |
COMPLEX | FMT | PL/I | COMPLEX term |
FILLER | FMT, VFMT | COBOL, PL/I | FILLER fields |
GROUP | FMT | COBOL, PL/I | occurrences of group-level items |
HEX | CHAR, UNFMT, VFMT | any | hexadecimal display of data |
MESSAGE | all modes | any | mode command prompt line |
OCCURS | FMT | COBOL | array declaration lines |
OFFSET | FMT, VFMT | COBOL, PL/I | format for display of field offset information |
PAD | CHAR | any | PAD character for shift |
PICTURE | FMT | COBOL, PL/I | PICTURE or DISPLAY line for numeric data fields |
PROTECT | FMT | COBOL, PL/I | ON or OFF key data protection |
REDEFINES | FMT, VFMT | COBOL | data item redefinitions |
REFLNG | FMT | PL/I | field length reference lines for BIT and CHAR |
SETUNDO | All modes | any | ON or OFF toggle UNDO support |
SHOW | FMT, VFMT | COBOL, PL/I | LEVEL, NUMBER, FORMAT, OFFSET, or PICTURE information |
STATS | CHAR,VFMT | any | ISPF statistics update |
SYNC | FMT | COBOL | SYNC term for layout fields |
ZERO | FMT, VFMT | COBOL, PL/I | leading zeros in numeric data fields. |
Removing the profile settings information
Use the RESET (RES) command to hide the profile information lines (indicated with =PROF>).
Browse - Formatted Mode (RESET Command)
Steps:
- Type RES in the COMMAND field.
- Press Enter. File-AID redisplays the screen without the profile information lines. shown in the following figure.
Browse - RESET Result - =PROF> Lines Gone
COMMAND ===> SCROLL ===> PAGE
RECORD: 1 EMPLOYEE-MASTER-FILE LENGTH: 198
---- FIELD LEVEL/NAME ------- COLUMNS- ----+----1----+----2----+----3----+----4
5 EMP-NUMBER 1 00090
5 EMP-LAST-NAME 6 MARTIN
5 EMP-FIRST-NAME 21 EDWARD
5 EMP-MID-INIT 31 M
5 FILLER 32
5 EMP-TITLE 34 AIRPLANE MANUFACTURER
5 EMP-PERSONAL-INFO SYNC 64
10 EMP-NATL-ID-NUMBER 64 427890125
10 FILLER 73
10 EMP-DATE-OF-BIRTH 74 101954
10 EMP-HIRE-DATE 80 920101
10 EMP-MARITAL-STATUS 86 M
5 EMP-WITHOLD-INFO 87
10 EMP-LIFE-INS-WITHOLD-AMT 87 -3000.00
10 EMP-NATL-TAX-WITHOLD-PCT 93 -74.00
10 EMP-REGION-TAX-WITHOLD-PCT
96 25.00
10 EMP-LOCAL-TAX-WITHOLD-PCT
99 5.00
Enter CHAR (character mode), VFMT (vertical format), UNFMT (unformatted)