A fix is available
APAR status
Closed as program error.
Error description
When an invalid source or target DDL dataset (for example, with LRECL=133) is used in a CM Batch compare, the following error may occur: IBM0121S ONCODE=21 The RECORD condition was raised because the length of the record variable was less than the record length (FILE= DDLNI). From entry point ADBCDTS at statement 2418 at compile unit offset >offset< at entry offset >offset< at address >address<. Note: Statement numbers are approximate, and may vary somewhat, depending on maintenance applied. With this APAR applied, CM Batch will also issue an informational error message, as Compare currently does when an invalid dataset is specified using the panels. KEYWORD: ONCODE21
Local fix
n/a
Problem summary
**************************************************************** * USERS AFFECTED: Users of Db2 Administration Tool for * * z/OS who use Change Management (CM) batch * **************************************************************** * PROBLEM DESCRIPTION: When a CM batch job specifies a data * * set with a logical record length * * (LRECL) greater than the supported * * length, ONCODE=21 is returned without * * an explanation of the issue. * **************************************************************** When a CM batch job specifies a data set with LRECL greater than the supported limit, ONCODE=21 is returned with no further explanation. When the same process is done by using panels, the panel displays a message to explain that an invalid data set was specified. The CM batch job log should also contain a similar message along with ONCODE=21. That message should explain that the specified data set has an LRECL value that is greater than the supported length and provide the supported length values to the user.
Problem conclusion
The problem has been resolved. Search Keywords: ONCODE21 LRECL80
Temporary fix
Comments
APAR Information
APAR number
PH38785
Reported component name
DB2 ADMIN TOOL
Reported component ID
568851500
Reported release
C10
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2021-07-08
Closed date
2021-09-17
Last modified date
2021-10-01
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UI77206
Modules/Macros
ADBCDTS
Fix information
Fixed component name
DB2 ADMIN TOOL
Fixed component ID
568851500
Applicable component levels
RC10 PSY UI77206
UP21/10/01 P F109
Fix is available
Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.
[{"Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSZJXP","label":"DB2 Tools for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"12.1.0"}]
Document Information
Modified date:
02 October 2021