BEFORE DISPLAY clause specifies the statements that are to be executed before any information is displayed to the screen array. A DISPLAY ARRAY statement can contain only one BEFORE DISPLAY clause. The following example of the BEFORE DISPLAY clause is used to display a specified row of the program array at a specified line of the screen array with the help of a built-in function:
BEFORE DISPLAY
CALL fgl_dialog_setcurrline(5,current_row)
Here the current_row is a variable of integer data type.