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 iSeries Information Center at this Web site -http://www.ibm.com/eserver/iseries/infocenter.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.