The subroutine SETFBLANK can be used to set one value to BLANK; subroutine SETFNBLANK sets a whole array to BLANK.
For the sake of speed it is advisable to compare data values directly with the system defined BLANK instead of using the slower function FBLANK. This is done in the following way: declare a REAL in the task and set it to BLANK by calling SETFBLANK. Then this variable can be used to compare with.
Also certain arithmetic operations are illegal like taking the square root of a negative value or dividing by zero. The task should also check on this prior to the execution of the operation. If the operation is illegal, then the result should be set to BLANK.