ADSOBCOM compile of dialog failed with DC497042 Dialog is checked out to ADSC and cannot be compiled.

Document ID : KB000057011
Last Modified Date : 14/02/2018
Show Technical Document Details

Description: 

ADSOBCOM compile of dialog failed with DC497042 Dialog is checked out to ADSC and cannot be compiled. ADSC and ADSL verify that the dialog is not checked out. If the dialog is then checked out with ADSC and released it can then be successfully compiled with ADSOBCOM.
 

Solution:

This problem was reported back in 15.0 and fixed with QO35202:


PROBLEM DESCRIPTION: ADSOBCOM fails with an erroneous DC497042 Dialog is checked out to ADSC and cannot be compiled in batch on a compile request for some dialogs that are not checked out.

This fix is not retroactive, it just prevents the problem from occurring for dialogs being compiled by ADSC in the future after QO35202 has been applied.

The problem comes down to this, ADSC was leaving a flag selected that indicated to ADSOBCOM that the dialog was checked out. This flag is in the PROG-051 record. Here is an example:
PROG-FLAG4-051...........................B 00001000
the x'10' here means it is checked out.

By going into ADSC and checking out these dialogs and then releasing them ADSC is changing the x'10' to x'00' which allows ADSOBCOM to compile these dialogs successfully. Following this procedure of checking out the dialogs and releasing them with ADSC will correct flag in the PROG-051 record and this will not re-occur for these dialogs.