1,126
edits
m (Added .ind extension in example error) |
(Re-worked the page on ars4305E to add more information and clarify some of the solutions to this CMOD error message.) |
||
| Line 15: | Line 15: | ||
== Related Errors == | == Related Errors == | ||
There may be other warnings about | There may be other warnings or informational messages about the failed load. Be sure to read them and use the information they provide to help determine the cause of the failure, and how to resolve it. | ||
== What were you doing? == | == What were you doing? == | ||
You were | You were trying to load documents into Content Manager OnDemand, but the load failed. There could be many reasons. | ||
You may have been trying to load a file that was created on a different server, filesystem, or subdirectory from the one you're loading in. The Generic Index file may have been produced on an upstream system, or by the [[arsdoc get]] command on an IBM CMOD Server. | |||
== What happened? == | == What happened? == | ||
You may have specified a bad file name or a type of file that doesn't match the type of file in the CMOD Application configuration. | |||
Second, during the production of the file, a partial or complete path to the file name was included in the file. The generic index file might include a path to the file like this one: | |||
GROUP_FILENAME:/arstmp/STMT002/2018-01/STM002.0.STMT.STMT | GROUP_FILENAME:/arstmp/STMT002/2018-01/STM002.0.STMT.STMT | ||
| Line 28: | Line 32: | ||
== Troubleshooting == | == Troubleshooting == | ||
First, there is an error in the example provided above. Specifying the ".ind" in the file name is incorrect -- specify the 'base name' of the file (i.e. without the extension), and try to run [[arsload]] again. If the generic index file you want to load is <code> AFP_Statements STM002.0.STMT.STMT.ind</code>, specify <code> AFP_Statements STM002.0.STMT.STMT</code> (again, without the .ind filename extension) on the command line. | |||
Otherwise, verify the contents of the Generic Index file (.ind) to ensure that it doesn't have a prefixed path or subdirectory, as described above. IBM CMOD's [[arsload]] utility will look for the files in the directory specified in the Generic Index file, NOT the local directory. To resolve the issue, either update the path to the file to be loaded, or remove it so that the OnDemand [[arsload]] utility will check the directory from which the command is started. | |||
Finally, ensure that the type of document you're trying to load matches the configuration inside the Content Manager OnDemand Application configuration. If the Application is configured to use ACIF as an indexer, you must add the <code> -X G </code> parameters to the [[arsload]] command line, so that CMOD will read the Generic Index file. | |||
== Articles Related to this message == | == Articles Related to this message == | ||