VMS Help  —  COBOL  DATA_DIVISION, rg_report-group-description-entry
  The Report Group Description entry specifies the characteristics of a
  report group and of the individual items within a report group.

1  –  1format_01

  The Report Group Description entry specifies the characteristics of a
  report group and of the individual items within a report group.

  Format 1 -

   01 [ group-data-name ]

      [ LINE NUMBER IS { line-num [ ON NEXT PAGE ] } ]
      [                { PLUS line-num-plus        } ]

      [               { next-group-line-num           } ]
      [ NEXT GROUP IS { PLUS next-group-line-num-plus } ]
      [               { NEXT PAGE                     } ]

      [         { REPORT HEADING }                        } ]
      [         { RH             }                        } ]
      [         { PAGE HEADING }                          } ]
      [         { PH           }                          } ]
      [         { CONTROL HEADING } { control-head-name } } ]
      [         { CH              } { FINAL             } } ]
      [ TYPE IS { DETAIL }                                } ]
      [         { DE     }                                } ]
      [         { CONTROL FOOTING } { control-foot-name } } ]
      [         { CF              } { FINAL             } } ]
      [         { PAGE FOOTING }                          } ]
      [         { PF           }                          } ]
      [         { REPORT FOOTING }                        } ]
      [         { RF             }                        } ]

      [ [ USAGE IS ] DISPLAY ] .

2  –  2format

  The Report Group Description entry specifies the characteristics of a
  report group and of the individual items within a report group.

  Format 2 -

   level-number [ group-data-name ]

      [ LINE NUMBER IS { line-num [ ON NEXT PAGE ] } ]
      [                { PLUS line-num-plus        } ]

      [ [ USAGE IS ] DISPLAY ] .

3  –  3format PIC

  The Report Group Description entry specifies the characteristics of a
  report group and of the individual items within a report group.

  Format 3 -

   level-number [ group-data-name ]

      [ BLANK WHEN ZERO ]

      [ COLUMN NUMBER IS column-num ]

      [ GROUP INDICATE ]

      [ { JUSTIFIED } RIGHT ]
      [ { JUST      }       ]

      [ LINE NUMBER IS { line-num [ ON NEXT PAGE ] } ]
      [                { PLUS line-num-plus        } ]

       { PICTURE } IS character-string
       { PIC     }

      [ [ SIGN IS ] { LEADING  } SEPARATE CHARACTER ]
      [             { TRAILING }                    ]

      { SOURCE IS source-name                                           }
      { VALUE IS lit                                                    }
      { {SUM {sum-name} ... [UPON {detail-report-group-name} ... ]} ... }
      {     [ RESET ON { control-foot-name } ]                          }
      {     [          { FINAL             } ]                          }

      [ [ USAGE IS ] DISPLAY ] .
Close Help