Why do hex characters sometimes appear in a DMLO record display, and when that occurs how can the printable values be seen?

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


Why do hex characters sometimes appear in a DMLO record display, and when that occurs how can the printable values be seen?


If a field contains characters which DMLO considers unprintable, DMLO will display that field in hex. The determination of whether a field is considered printable or not is made by using DMLO's own 'displayable character' table, USD@DSPC. This much is documented in appendix titled 'Tools Run-Time Options' of the Installation and Maintenance manual for each operating system, in the section named "CA IDMS DML Online Parameters".

If there are characters in an element that cause it to be displayed in hex, you can alter table USD@DSPC to incorporate those characters; this should result in the proper character being displayed in the element. The table is stored as a member by the same name in the PPOPTION library; it can be customized there before running the APPLY job. Or, after completion of the initial tool installation process, this module resides in the distribution macro library. The beginning of the module contains complete instructions for customization. This table can be modified to include any desired characters, which will result in the field being displayed in native mode. After modifying this source, load module USDTPARM must be assembled and link-edited; this is where the table values, along with the other DMLO run-time variables, are accessed at run-time. This is done automatically if the changes are made in the PPOPTION library prior to the installation. If the changes are made to the macro library after the install, the module must be manually re-assembled and linked.

To ensure that all displayable characters display properly in DMLO, you should also ensure that lowercase processing in DMLO is enabled, by setting the parm LOWER CASE to 'Y'. This parm can be set when you are signing on to DMLO, on the signon screen where the subschema, schema, DBName, etc. are also specified. It can also be set on the Options screen, which is displayed after signon if the OPTIONS command is entered in DMLO. This value, along with the others on the signon screen, can be saved in a profile for use in future sessions by using the DMLO PROFILE command after signing on.

Additional Information:

General information about using DML/O, along with more details on how top set the run-time parameters such as lower case support, can be found in the CA IDMS DML Online User Guide.