The open statement is a simple one. The only problem is that the last parameter defining the length of a record is optional. This can only be handled using a separate function
peNODE ex_IsCommandOPEN(peXobject pEx,
pLineSyntax p,
int *piFailure
){
'open' expression 'for' absolute_symbol 'as' expression 'len' '=' expression nl