Effects of Formatting

Any of the following can identify the format of a member:
capan146
Any of the following can identify the format of a member:
ANSCOBOL
FORTRAN
USER180
AUTOCODER
JCL
USER780
BAL or ALC
OBJECT
USER3
COBOL
OTHER
USER4
COBOL-72
PL/I or PL/1
 
DATA
RPG
 
Specifying the format determines:
  • The number of positions of each member to be stored in the library.
  • The positions of the input records to be optionally sequence checked.
  • The positions in which sequence numbers and identification generated by PAN#1 appear.
  • The method of providing information about the member for reference when required for identification or update of a member.
  • Whether level stamps are stored with change statements during updates, and whether they are formatted into positions 78 through 80 upon PAN#1,
    Panvalet
    Subsystem, and
    Panvalet
    /ISPF retrieval.
The fields required for updating a member are the member name, modification level, and sequence numbers. These data fields are provided, along with the date of last maintenance, to the member in a different manner for each library format.
PAN#1 Special Comment Record
Some of the formats output a special comment record as the first statement of any retrieval. The comment record was carefully designed to avoid a conflict with your member structures and processing requirements. The special comment record does not exist in the member and cannot be updated.
Data provided in the special comment record is the name of the member, its modification level, and its date of last maintenance. The form of the comment record and its position in the output member are as follows:
  • BAL or ALC
    The special comment record is always added to a formatted Assembler member. An * in position one of the output record indicates the special comment record.
    The
    Panvalet
    special comment record is inserted as the second statement when retrieved to an output file (other than to print) whenever the first statement is an assembler ICTL statement. It is inserted as the first statement in all other cases.
  • FORTRAN, USER3
    The special comment record is always added as the first statement to be retrieved for a standard FORTRAN member. A C in position one of the output record indicates the special comment record.
    If PROCESS compiler control statements are present as the first statements in the member, the
    Panvalet
    special comment record is inserted as the next statement following the process statements when the member is retrieved to an output file (other than print). The special comment is inserted as the first statement in all other cases.
  • PL/I or PL/1
    The special comment record is always added to a formatted PL/I member. A /* in positions 9 and 10 and */ in positions 63 and 64 of the output record indicate the special comment record. The */ in positions 63 and 64 is not displayed on a ++WRITE PRINT.
    If a PROCESS compiler control statement is present as the first statement in the member, the
    Panvalet
    special comment record is inserted as the second statement when the member is retrieved to an output file (other than to print). The special comment record is inserted as the first statement in all other cases.
  • OBJECT, JCL, DATA, OTHER, UNSPECIFIED, USER780, USER180, USER4
    When these formats are retrieved to the output print file, a special comment record is added as the first record printed. When output to a work or punch output file, no special comment record is inserted into the file.
  • COBOL, ANSCOBOL, COBOL-72, RPG, AUTOCODER
    A special comment record is never inserted into these formats due to possible creation of inconsistencies to the language compiler. Instead, the information required for updating is supplied as described in the definition of the ADD command for each of these formats.
    The following table reflects how the various specified language formats cause a member to be stored and processed in a
    Panvalet
    library.
MemberLanguageFormat
ActualPositionsStored in Library
Positions Sequence Checked by SEQ Option
LevelStamped
SpecialCommentRecord
AUTOCODER
6-75
1-5
No
No
BAL or ALC
1-72
73-80
Yes
Yes*
COBOL, ANSCOBOL
7-72
1-6
Yes
No
COBOL-72
1-72
1-6
No
No
FORTRAN
1-72
73-80
Yes
Yes*
PL/I or PL/1
1-72
73-80
Yes
Yes*
RPG
6-74
1-5
Yes
No
OBJECT
1-72
73-80
No
To Print Only
JCL
1-72
73-80
Yes
To Print Only
DATA
1-80
73-80
No
To Print Only
OTHER
1-80
73-80
No
To Print Only
UNSPECIFIED
1-80
73-80
No
To Print Only
USER780
7-80
1-6
No
To Print Only
USER180
1-80
73-80
No
To Print Only
USER3
1-72
73-80
Yes
Yes
USER4
1-72
73-80
No
To Print Only
* When a NOFORMAT member is written to a WORK or PUNCH file, no Special Comment Record is inserted, regardless of the Language Type. See the NOFORMAT parameter of the ADD Comment for more information.