RAA must only be used within a Programmable Event Loop (PEL). A typical PEL is as follows:-
define event_loop call INP if_eof goto ANALYSE_FILE call UPK call CAL call RAA($raa_user_3,$raa_user_1) quit_event ANALYSE_FILE: call RAA call FTT call ANL call OUT) end_defSee section 8.1 for an explanation of this PEL.