answered 2022-12-08 02:41:10 -0600
Since line id is a character the value is stored in array CHRICN.
Try:
CALL BRNINT(ICON(M),ICON(M+1),CHRICN(M+2),'STATUS', STATUS, IERR)