The CCPOS function returns the output record's current character or cursor position on a specified channel. Example CHNL0% = CCPOS(0%)
1 – Syntax
int-var = CCPOS(chnl-exp)