DCL-1330-00-E NEXT or IMSREC invalid when specifying more than one record per call

You cannot specify the keywords NEXT, NEXTREC, or IMSREC in a multi-level call.
Restriction: This topic applies only when the AppMaster Builder AddPack has been installed, and applies only to Windows platforms.

Resolution:

Correct the call by specifying only one record level when using the keyword NEXT or IMSREC.