B: ret = set.rc( [unit, ] report );
C: #equate set_rc set.rc int set_rc( [FILE *unit,] int report);
set.rc( 1, 072 ); /* write to report code 072 */
SET.RC is used to change the report code on the file described by "unit", until the file is closed or until another SET.RC or SET.MC is executed for the file.
SET.RC should only be called when you have finished outputting a complete record (e.g. after outputting an '*n', '*r' or '*f' character). If you call SET.RC to change report codes while in the middle of a record, the result is undefined.
Copyright © 1996, Thinkage Ltd.