Input Spooling
Input spooling is valid only for inline data files in batch jobs. If the input data read by ILE COBOL comes from a spooled file, ILE COBOL is not aware of which device the data was spooled in from.
The data is read from a spooled inline file:

For more information on inline data files, refer to the Database and File Systems category in the IBM® i Information Center at this Web site -http://www.ibm.com/systems/i/infocenter/.