VSM-2260-00-E Cannot OBTAIN-PREV in MVS program

An error occurred in VS-OBTAIN-PREV. READ PREVIOUS is not allowed for batch programs.
Restriction: This topic applies only when the AppMaster Builder AddPack has been installed, and applies only to Windows platforms.