Is there a way to identify the specific EBCDIC type used by IDMS based the country in which it is being used?
Release: All supported releases.
In the CAGJSRC configuration library there are the following members:
CP1140F - All codepages for IBM US EBCDIC - full internationalCP1141F - All codepages for IBM DE EBCDIC: full internationalCP1141R - All codepages for IBM DE EBCDIC: national-onlyCP1142F - All codepages for IBM DK/NO EBCDIC: full internationalCP1142R - All codepages for IBM DK/NO EBCDIC: national-onlyCP1143F - All codepages for IBM FI/SW EBCDIC: full internationalCP1143R - All codepages for IBM FI/SW EBCDIC: national-onlyCP1145F - All codepages for IBM SP EBCDIC - full internationalCP1145R - All codepages for IBM SP EBCDIC - national-onlyCP1147F - All codepages for IBM FR EBCDIC - full internationalCP1147R - All codepages for IBM FR EBCDIC: national-onlyCP1148F - All codepages for IBM BE/CH EBCDIC: full internationalCP1148R - All codepages for IBM BE/CH EBCDIC: national-only
RHDCCODE is created by assembling and linking one of the CPnnnnn source codes depending on the country.
Sample JCL to create RHDCCODE :
//ASMSTEP EXEC PGM=ASMA90,REGION=0M//SYSLIB DD DSN=<hlq>.DISTMAC,DISP=SHR// DD DSN=<hlq>.INDSRC,DISP=SHR// DD DSN=SYS1.MACLIB,DISP=SHR//SYSUT1 DD DSN=&&SYSUT1,UNIT=SYSDA,SPACE=(CYL,(15,10))//SYSUT2 DD DSN=&&SYSUT2,UNIT=SYSDA,SPACE=(CYL,(15,10))//SYSUT3 DD DSN=&&SYSUT3,UNIT=SYSDA,SPACE=(CYL,(15,10))//SYSPRINT DD SYSOUT=*//SYSIN DD DSN=SOURCE.CP1140F,DISP=SHR//SYSLIN DD DSN=&&OBJECT,DISP=(NEW,PASS),UNIT=SYSDA,// SPACE=(CYL,(15,10))//STEP003 EXEC PGM=IEWL,// PARM='LET,MAP,LIST,NCAL,SIZE=(524288,65536),RENT,REUS,REFR'//SYSPRINT DD SYSOUT=*//SYSLMOD DD DSN=<hlq>.LOADLIB,DISP=SHR//RHDCOBJ DD DSN=&&OBJECT,DISP=SHR//DISTLOAD DD DSN=<hlq>.DISTLOAD,DISP=SHR//SYSLIN DD *INCLUDE RHDCOBJINCLUDE DISTLOAD(RHDCCODT)ENTRY CODEEP1NAME RHDCCODE(R)/*
RHDCCODE represents the specific type of EBCDIC that IDMS is using. Being a mainframe product, it will only use EBCDIC. Each of the CPnnnnn source members is customizable beyond what is required for a specific country. For communication between IDMS and the PC, a web application or an application on UNIX the character set can be converted from EBCDIC to unicode or ascii before the data is sent via TCPIP.