Issue:
When running a report using CA Datacom/DB Reporting Facility (called Data Reporter here), the job fails with:
IEF450I jobname procstep stepname - ABEND=S000 U0070 REASON=00000000
And with this error message in the step output:
filelabel FAILURE DURING ..GETIT.. RETURN CODE IS ..37.. CALL NUMBER 00000000
Cause:
In CA Datacom/DB, a Return Code 37 generally refers to a bad address, and in the case of a Data Reporter program, the only internal return code that applies is 028. Here is the description of that internal code:
Explanation: The Element List address or work area address passed to CA Datacom/DB is invalid.
User Response: Correct the program and rerun.
Resolution:
This problem is most often caused by an error in defining the Datacom file to be processed by the Data Reporter program. Below is an example of steps to follow to resolve this error.
//SYSIN DD *
REPORT AREA=CXX,DBID=123
/*
In this example, you can see that the length of the element is 154 bytes, and adding 300 bytes results in an expected length of 454. Since the program says RECORD=466, this is the cause of the error. In this case, simply changing the RECORD= value to 454 will correct the problem and let the program open the table without a problem.
Additional Information:
For more information about the use of the FILE definition statement for CA Datacom/DB tables in the Data Reporter program, please refer to the following Guides:
CA Datacom/DB Version 14.02 Reporting Facility User Guide, in the section “Reporting Facility Commands › FILE Command › CA Datacom/DB Table Definition”
CA Datacom/DB Version 15.0 Reporting Facility User Guide, in the section “Reporting Facility Commands › FILE Command › CA Datacom/DB Table Definition”
As always, please contact CA Technologies support for CA Datacom if you have further questions.
***