Hi Giri,
The problem occurs at here, ASSIGN (<fs1>) TO <fs2>. <fs2> is still not assigned.
If you want use this grammar, assign ('(program1)fieldName') to <fs>, you must make sure the current program and program1 is under same 'call stack'. You can check 'call stack' in debugging view.
regards,
Archer.