the EZTPDBCS setting for Easytrieve Plus DBCS option.
search cancel

the EZTPDBCS setting for Easytrieve Plus DBCS option.

book

Article ID: 186576

calendar_today

Updated On:

Products

Easytrieve Report Generator

Issue/Introduction

In the TITLE statement of the Easytrieve Plus program, some Kanji Characters were specified. The report result was displayed as follows.
----+----1 ----+----2 ----+----3 ----+----4 ----+----5 ----+----6 ----+----7 ----+----8  
 20年01月30日   企業コード     1000000001         店    2002         *****   東   
          
顧客番号 FROM         
3000000003       4000      

Because the date in the title was preferred to be displayed in English by the customer, the MESSAGE parameter value in the EZTPDBCS setting was customized to "ENGLISH" from "DBCS". But the date wasn't displayed in English even though the MESSAGE parameter was customized with "ENGLISH".  
[A part of the EZTPDBCS setting]
  DEFAULTS   PROCESS  ( IBM  )    SOURCE ( IBM )             -
            MESSAGES ( ENGLISH ) DATE   ( X4560X4561X4562 )

How the date in the title can be displayed in English in a DBCS report?   

Environment

Easytrieve Plus Report Generator, Release 6.4 0311

Resolution

First, the MESSAGE parameter in the EZTPDBCS definition can change the language type for a error or warning message.  So, if the MESSAGES ( ENGLISH ) is specified, a error or warning message will be displayed in English. If the MESSAGES ( DBCS ) is specified, a error or warning message will be displayed in DBCS(Japanese). 

If the customized EZTPDBCS module is referred, the DBCS function is enabled and the date and page in a title of a Easytrieve Plus report (DBCS option enabled) are usually displayed in DBCS characters. 
If the date or page is hoped to be displayed in English in a (DBCS) report result, the NOKDATE or NOKPAGE parameter should be specified in a REPORT statement in a target program.

Example;
REPORT  [ report name ]   NOKDATE  NOKAPAGE   ....