One possible cause is when an attempt has been made to access the record area, but it has not yet been allocated because a file is not yet in the OPEN state; see the HOSTFD directive for more details.
Resolution:
Recode your program to ensure that it contains all of the necessary parameters, or check that it is a valid caller.