# SET'RECNO > [HTML Version](set-recno_random.htm) _Added June 2020_ **SET'RECNO #channel, expr** SET'RECNO sets the record number of a file. This would be equivalent to setting the _recnovar_ variable, associated with channel in the OPEN statement, to the value of _expr_. **History ** 2020 June, A-Shell 6.5.1684: Function added to A-Shell