CFNDNXT

CFNDNXT finds the next comment for a record.

The order of the comments (by name, date, or time) is specified by the value of the D<Prefix>@C@ORDER variable.

Programming Example

The following example finds the next comment attachment, then displays the comment.

      CALLP     U@@ATTACHIO('CFNDNXT': DCOM@@HANDLE:  
                %ADDR(DCOM@U@@PATH): %ADDR(DCOM@RECORD):  
                %ADDR(DCOM@U@))