A file and its SAVEDS data structure are not defined in the same procedure.
30
Cause . . . . . : If a SAVEDS data structure is defined for a file, the data structure and file must both be defined in the same procedure, or must both be defined in the global definitions of the module.
Recovery . . . : Change the definition of the file or the data structure so they are both defined in the same procedure.