TCS0413E: ES VSAM bulk load error: ...
An error occurred while bulk loading data into a Rocket Enterprise Server VSAM file. The data is written either through the COBOL file handler (EXTFH) or through the Remote File Access service (RFA) of the Enterprise Server region. Loading the data was not successful.
The following list contains the possible error texts and what to do:
neither the COBOL run time (EXTFH) nor an RFA file service is available for this output target
The agent found no COBOL run time to load the file directly and the output target defines no RFA file service.
Either make the EXTFH run time available to the agent (the bin64 directory of Enterprise Developer or Enterprise Server in PATH, COBDIR set) or define host and port of the RFA file service in the ES VSAM output target.
the COBOL run time could not be initialised for the loader thread (cobinit)
The COBOL run time was found, but could not be started.
Check the Enterprise Server installation and license and that the run time has the same bitness as the agent.
The file '...' is not in the catalog of region ...
The file of the output table is not defined in the catalog of the region.
Create the file from the Dashboard (output table, Create file) or correct the file name of the output table.
Region ... is not started, the catalog entry of '...' cannot be read
The region of the output target is stopped; its catalog cannot be read.
Start the region and run the process again.
ESCWA did not deliver the catalog entry of '...' (http ...) / The catalog entry of '...' in region ... has no physical file
The administration server could not deliver the physical file name of the file.
Check the catalog entry of the file in ESCWA.
EXTFH could not open ... for loading (file status ...)
The file could not be opened for output. Typical reasons are a file that is opened by the region or by another program, a missing directory or missing access rights.
Close the file in the region (e.g. close or disable the FCT entry), check directory and access rights. The COBOL file status names the reason.
EXTFH WRITE to ... failed with a duplicate key at record n (file status 22)
The input contains a second record with the same primary key.
Remove the duplicate keys from the input or check the key definition of the file and the mapping of the key fields.
EXTFH WRITE to ... failed with the duplicate relative record number n at record n (file status 22)
Two input records deliver the same relative record number for an RRDS.
Correct the values of the RRN field.
EXTFH WRITE to ... failed at record n (file status ...) / EXTFH could not close ... (file status ...)
The COBOL file handler reported an error while writing or closing the file.
Look up the COBOL file status in the Enterprise Server documentation. A record that does not fit the record size of the file is a common reason.
The file ... does not exist, create it from the Dashboard first
The RFA file service can only load files that exist.
Create the file from the Dashboard (output table, Create file).
The file service did not open ... exclusively (http ...)
The load needs the file for itself, but it is opened by the region or by another program.
Close the file in the region (e.g. close or disable the FCT entry) and run the process again.
The file service could not empty ... before the load, empty the file or make the EXTFH run time available: ...
A load replaces the content of the file. The RFA file service could not delete the existing records.
Empty the file yourself or make the EXTFH run time available to the agent, which recreates the file.
The relative record number n of record n for ... is not the next one (n): ...
Through the RFA file service an RRDS can only be loaded with consecutive relative record numbers starting at 1.
Make the EXTFH run time available to load an RRDS with gaps, or deliver consecutive relative record numbers.
The update of ... failed: ... (file status ...)
The RFA file service rejected a record, e.g. 'Failure writing to file (duplicate key) (file status 22)'.
Correct the input according to the reason given. For a duplicate key see above.
The file service rejected the update of ... / did not report the update status of ... / The update of ... completed with http ... / did not complete within n minutes
The RFA file service did not process a batch of records as expected.
Check the console log of the region and that the RFA listener has enough shared memory pages.
The file service did not read / renew the handle of / release the handle of ... (http ...) / returned no handle for ...
The RFA file service failed to handle the file.
Check the console log of the region and that the RFA listener is started.
the RRN field of output table ... is no SMALLINT, INTEGER or BIGINT
The field that holds the relative record number of an RRDS must be numeric.
Correct the field type of the RRN field in the output table.
invalid relative record number n for output table ..., the RRN field needs a value from 1 to 4294967295
An input record delivers a relative record number outside the valid range.
Correct the mapping or the input data of the RRN field.
Not enough storage ...
The agent ran out of storage.
Make more storage available to the process.