FORMAT Command

The FORMAT command changes the internal format/type of an existing member with a logical record length of 80 bytes.
capan146
The FORMAT command changes the internal format/type of an existing member with a logical record length of 80 bytes.
Syntax
               {,AUTOCODER     }                {,BAL or ALC    }                {,COBOL         }                {,ANSCOBOL      }                {,COBOL-72      }                {,FORTRAN       } col 72  ++FORMAT name {,PL/I or PL/1  }  [N]                {,RPG           }  [F]                {,OBJECT        }                {,JCL           }                {,DATA          }                {,OTHER         }                {,USER780       }                {,USER180       }
Parameters
  • name
    This required parameter is the name of the member whose format you want to change. This cannot be the name of a superset.
  • {language}
    These languages are the allowable formats (see the ADD Command section earlier in this section). This parameter changes the internal format/type. All rules associated with an UPDATE apply. All statement change level stamps are cleared. The member must be in TEST, ENABLE status for this function to complete successfully.
    Changing the format of a member to its present format clears the level stamps.
    You cannot change the TSO format characteristic of a member using this command. Once you ADD a member using TSO parameters, you cannot reformat it to non-TSO format. You can, however, create a new format member and COPY the TSO format member into it.
  • Column 72 Option
    The FORMAT command can add or override options for the command execution. You must place the character code for the option desired in column 72 of the command statement to be executed.
    The FORMAT command options are as follows:
    • N
      Applies the NOFORMAT characteristic to the member being formatted.
    • F
      Eliminates the NOFORMAT characteristic from the member being formatted, even if the member was previously NOFORMAT.
    If column 72 is blank, the NOFORMAT characteristic is unchanged (if the member was previously NOFORMAT, it remains so).
    If you place a comment on an
    CA Panvalet
    statement, and the comment extends into column 72, you can force an option into effect.