Using this Routine

  1. Specify the comment type to retrieve.
    • To retrieve a range of comments for a specified user-defined comment type, move a single character into D<Prefix>@C@TYPE.

      Note: The character you use for user-defined types is case sensitive.

      - or -

    • To retrieve a range of all types of comments, move spaces to D<Prefix>@C@TYPE.

  2. Locate the beginning range of the comment. Use the CFNDBEG routine.
  3. Check to see if comments were found.
  4. To copy the comments, use the CCPYRNG routine.
    Note: To copy a specific comment type, set the D<Prefix>@C@TYPE variable to that type.