CA Easytrieve

Expand all | Collapse all

How to get Easytrieve to process DBCS?

Jump to Best Answer
  • 1.  How to get Easytrieve to process DBCS?

    Posted 03-22-2018 04:59 PM

    What is needed to allow Easytrieve to work with double byte data (type k)? 



  • 2.  Re: How to get Easytrieve to process DBCS?
    Best Answer

    Posted 03-23-2018 03:10 PM

    I believe I found the answer in the installation guide. Now I to get systems programming to build the dbcs code table option



  • 3.  Re: How to get Easytrieve to process DBCS?

    Posted 03-23-2018 03:30 PM

    Ken;

    Easytrieve supports DBCS.

     

    This is from the reference manual.

     

    Character Sets

    CA Easytrieve supports both single-byte character sets (SBCS) and double byte character sets (DBCS). MIXED format is data that contains both SBCS and DBCS formatted data. SBCS data is limited to either EBCDIC or ASCII depending on the platform. DBCS data is currently supported only in z/OS.

     

    A shift-in (SI) character switches to DBCS mode. Characters are processed in that mode until a shift-out (SO) character is encountered. The SI and SO characters can be two bytes.

     

    This is from the user’s guide:

     

    DBCS Support Options Module

    The 6.x and r11 DBCS options modules have the following differences:

    Note: CA Easytrieve does not support DBCS under UNIX, Linux for zSeries, and Windows.

    Prior:

    The EZTPX04 utility created the DBCS options module.

    r11:

    The PSIDBCLP utility creates the DBCS options module. The command syntax is different. Carefully review the syntax conventions. Some differences are highlighted in the following paragraphs.

     

    Prior:

    The CODE statement SHIFTCODES parameter used only characters (0E, 0F).

    r11:

    SHIFTCODES are represented as hex characters (X'0E', X'0F').

     

     

    The shift codes are defined in the following:

      RETSYS.R116.MSPS.PRD.CBAAJCL(JOB13DBO)

     

    CODE SYSTEM ( IBM )  SHIFTCODES ( X'0E'   X'0F' ) SORT ('KJSORT');

    CODE SYSTEM ( JEF4040 ) SHIFTCODES ( X'28'   X'29'   );

    CODE SYSTEM ( JEF    )  SHIFTCODES ( X'28'   X'29'   );

    CODE SYSTEM ( KEIS   )  SHIFTCODES ( X'0A42' X'0A41' );

    CODE SYSTEM ( JIS    )  SHIFTCODES ( X'0E'   X'0F'   );

    CODE SYSTEM ( SHOWA  )  SHIFTCODES ( X'FC'   X'FA'   );

    CODE SYSTEM ( JIPSE  )  SHIFTCODES ( X'3F75' X'3F76' );