ICO0006E   javax.resource.ResourceException:
ICO0006E:methodname error.
The value for DataStoreName is null or an empty string.

Explanation

The method indicated in methodname was invoked using an empty DataStoreName parameter. This error message is displayed in the trace log when a connection factory with an empty DataStoreName parameter is started. This message is followed by a Java™ EE Connector warning:
J2CA0007W: An exception occurred while invoking method setDataStoreName on 
com.ibm.connector2.ims.ico.IMSManagedConnectionFactory used by resource 
Connection_Factory_JNDI_name.
Processing will then continue leading to other error messages after IMS™ Connect sends a response indicating that a data store with a null name cannot be found. The underlying message which triggers the other messages is:
javax.resource.spi.EISSystemException: ICO0001E: 
com.ibm.connector2.ims.ico.IMSTCPIPManagedConnection@.processOutputOTMAMsg(byte[],
InteractionSpec, Record) error. IMS Connect returned error: RETCODE=[4], 
REASONCODE=[NFNDDST ]. Datastore not found.
When this error occurs, a corresponding HWSS0742W warning message is displayed on the z/OS® console of the host system where IMS Connect is running. This HWSS0742W message includes a field showing the data store name that it attempted to find, in this case all blanks:
DESTID=        ;

User response

Provide a valid name for the DataStoreName parameter. In a managed environment, the DataStoreName is specified when you configure a connection factory to be used by WebSphere® Application Server. In a non-managed environment, the DataStoreName is specified in your Java application.