The CCPOS function returns the output record's current character or cursor position on a specified channel. Example CHNL0% = CCPOS(0%)