z/OS Unicode Services User's Guide and Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Mapping of parameters for AMODE (31)

z/OS Unicode Services User's Guide and Reference
SA38-0680-00

The mapping of the parameter areas is supplied by the interface definition file CUNBIIDF. This file is included in the SYS1.MACLIB data set, and contains the length of each parameter and any boundary alignment that might be necessary.

Table 1. Mapping of parameters in HLASM for conversion information service AMODE (31)
Offset Dec Offset Hex Type Length in Bytes Boundary Name Short Description - See full description following table for details
0 (0) STRUCTURE 360 DWORD CUNBIPRM Parameter area
0 (0) UNSIGNED 4   CUNBIPRM_Version Structure version number
4 (4) UNSIGNED 4   CUNBIPRM_Length Length of structure
8 (8) UNSIGNED 4   CUNBIPRM_CCSID1 Specify CCSID1
12 (C) CHARACTER 32 WORD CUNBIPRM_CCSID1_ES CCSID1 encoding scheme (ES) information
12 (C) CHARACTER 2   * Reserved
14 (E) UNSIGNED 2   CUNBIPRM_CCSID1_ES

_ID

Encoding scheme ID for CCSID1
16 (10) CHARACTER 28   CUNBIPRM_CCSID1_ES

_Name

Encoding scheme name for CCSID1
44 (2C) CHARACTER 2   CUNBIPRM_CCSID1_ES

_Size

Encoding scheme size for CCSID1
44 (2C) UNSIGNED 1   CUNBIPRM_CCSID1_ES

_Size_Min

Minimum encoding scheme size for CCSID1
45 (2D) UNSIGNED 1   CUNBIPRM_CCSID1_ES

_Size_Max

Maximum encoding scheme size for CCSID1
46 (2E) CHARACTER 2   * Reserved
48 (30) CHARACTER 64   CUNBIPRM_CCSID1

_Description

CCSID1 description
112 (70) CHARACTER 8   CUNBIPRM_CCSID1

_Num_Subs

Number of substitution characters to every code set for CCSID1
112 (70) UNSIGNED 1   CUNBIPRM_CCSID1

_Num_Subs_SBCS

Number of substitution characters for SBCS
113 (71) UNSIGNED 1   CUNBIPRM_CCSID1

_Num_Subs_DBCS

Number of substitution characters for DBCS
114 (72) UNSIGNED 1   CUNBIPRM_CCSID1

_Num_Subs_TBCS

Number of substitution characters for TBCS
115 (73) UNSIGNED 1   CUNBIPRM_CCSID1

_Num_Subs_QBCS

Number of substitution characters for QBCS
116 (74) CHARACTER 4 * Reserved
120 (78) CHARACTER 24 WORD CUNBIPRM_CCSID1

_Sub_Char

Substitution characters to be used for CCSID1
120 (78) CHARACTER 2   CUNBIPRM_CCSID1

_Sub_Char_SBCS

SBCS substitution characters for CCSID1
120 (78) CHARACTER 1 CUNBIPRM_CCSID1

_Sub_Char_SBCS_1

The second substitution character for the SBCS
121 (79) CHARACTER 1   CUNBIPRM_CCSID1

_Sub_Char_SBCS_2

The first substitution character for the SBCS
122 (7A) CHARACTER 4   CUNBIPRM_CCSID1

_Sub_Char_DBCS

DBCS substitution characters for CCSID1
122 (7A) CHARACTER 2   CUNBIPRM_CCSID1

_Sub_Char_DBCS_1

The second substitution character for the DBCS
124 (7C) CHARACTER 2   CUNBIPRM_CCSID1

_Sub_Char_DBCS_2

The first substitution character for the DBCS
126 (7E) CHARACTER 6   CUNBIPRM_CCSID1

_Sub_Char_TBCS

TBCS substitution characters for CCSID1
126 (7E) CHARACTER 3   CUNBIPRM_CCSID1

_Sub_Char_TBCS_1

The second substitution character for the TBCS
129 (81) CHARACTER 3   CUNBIPRM_CCSID1

_Sub_Char_TBCS_2

The first substitution character for the TBCS
132 (84) CHARACTER 8   CUNBIPRM_CCSID1

_Sub_Char_QBCS

QBCS substitution characters for CCSID1
132 (84) CHARACTER 4   CUNBIPRM_CCSID1

_Sub_Char_QBCS_1

The second substitution character for the QBCS
136 (88) CHARACTER 4   CUNBIPRM_CCSID1

_Sub_Char_QBCS_2

The first substitution character for the QBCS
140 (8C) CHARACTER 4   * Reserved
144 (90) CHARACTER 4   * Reserved
148 (94) ADDRESS 4   CUNBIPRM_CCSID1

_subCCSIDs_Info_Ptr

Optional pointer to CUNBIPRM_CCSID1_

subCCSIDs_Info

152 (98) UNSIGNED 4   CUNBIPRM_CCSID1

_subCCSIDs_Info_ALET

ALET for CUNBIPRM_CCSID1_

subCCSIDs_Info_Ptr

156 (9C) UNSIGNED 1   CUNBIPRM_CCSID1

_subCCSIDs_Info_Num

Number of subCCSIDs for CCSID1
157 (9D) CHARACTER 3   * Reserved
160 (A0) UNSIGNED 4   CUNBIPRM_CCSID2 Specify CCSID2
164 (A4) CHARACTER 32 WORD CUNBIPRM_CCSID2_ES CCSID2 encoding scheme (ES) information
164 (A4) CHARACTER 2   * Reserved
166 (A6) UNSIGNED 2   CUNBIPRM_CCSID2_ES

_ID

Encoding scheme ID for CCSID2
168 (A8) CHARACTER 28   CUNBIPRM_CCSID2_ES

_Name

Encoding scheme name for CCSID2
196 (C4) CHARACTER 2   CUNBIPRM_CCSID2_ES

_Size

Encoding scheme size for CCSID2
196 (C4) UNSIGNED 1   CUNBIPRM_CCSID2_ES

_Size_Min

Minimum encoding scheme size for CCSID2
197 (C5) UNSIGNED 1   CUNBIPRM_CCSID2_ES

_Size_Max

Maximum encoding scheme size for CCSID1
198 (C6) CHARACTER 2   *  
200 (C8) CHARACTER 64   CUNBIPRM_CCSID2

_Description

 
264 (108) CHARACTER 8   CUNBIPRM_CCSID2

_Num_Subs

Number of substitution characters to every code set for CCSID1
264 (108) UNSIGNED 1   CUNBIPRM_CCSID2_

Num_Subs_SBCS

Number of substitution characters for SBCS
265 (109) UNSIGNED 1   CUNBIPRM_CCSID2

_Num_Subs_DBCS

Number of substitution characters for DBCS
266 (10A) UNSIGNED 1   CUNBIPRM_CCSID2

_Num_Subs_TBCS

Number of substitution characters for TBCS
267 (10B) UNSIGNED 1   CUNBIPRM_CCSID2

_Num_Subs_QBCS

Number of substitution characters for QBCS
268 (10C) CHARACTER 4 * Reserved
272 (110) CHARACTER 24 WORD CUNBIPRM_CCSID2

_Sub_Char

Substitution characters to be used for CCSID2
272 (110) CHARACTER 2   CUNBIPRM_CCSID2

_Sub_Char_SBCS

SBCS substitution characters for CCSID2
272 (110) CHARACTER 1 CUNBIPRM_CCSID2

_Sub_Char_SBCS_1

The second substitution character for the SBCS
273 (111) CHARACTER 1   CUNBIPRM_CCSID2

_Sub_Char_SBCS_2

The first substitution character for the SBCS
274 (112) CHARACTER 4   CUNBIPRM_CCSID2

_Sub_Char_DBCS

DBCS substitution characters for CCSID2
274 (112) CHARACTER 2   CUNBIPRM_CCSID2

_Sub_Char_DBCS_1

The second substitution character for the DBCS
276 (114) CHARACTER 2   CUNBIPRM_CCSID2

_Sub_Char_DBCS_2

The first substitution character for the DBCS
278 (116) CHARACTER 6   CUNBIPRM_CCSID2

_Sub_Char_TBCS

TBCS substitution characters for CCSID2
278 (116) CHARACTER 3   CUNBIPRM_CCSID2

_Sub_Char_TBCS_1

The second substitution character for the TBCS
281 (119) CHARACTER 3   CUNBIPRM_CCSID2

_Sub_Char_TBCS_2

The first substitution character for the TBCS
284 (11C) CHARACTER 8   CUNBIPRM_CCSID2

_Sub_Char_QBCS

QBCS substitution characters for CCSID2
284 (11C) CHARACTER 4   CUNBIPRM_CCSID2

_Sub_Char_QBCS_1

The second substitution character for the QBCS
288 (120) CHARACTER 4   CUNBIPRM_CCSID2

_Sub_Char_QBCS_2

The first substitution character for the QBCS
292 (124) CHARACTER 4   * Reserved
296 (128) CHARACTER 4   * Reserved
300 (12C) ADDRESS 4   CUNBIPRM_CCSID2_

subCCSIDs_Info_Ptr

Optional pointer to CUNBIPRM_CCSID2_

subCCSIDs_Info

304 (130) UNSIGNED 4   CUNBIPRM_CCSID2_

subCCSIDs_Info_ALET

ALET for CUNBIPRM_CCSID1_

subCCSIDs_Info_Ptr

308 (134) UNSIGNED 1   CUNBIPRM_CCSID2_

subCCSIDs_Info_Num

Number of subCCSIDs for CCSID1
309 (135) CHARACTER 3   * Reserved
312 (138) BITSTRING 1   CUNBIPRM_Gen_Flags

_Out

Out-FLAG Byte 1 (Set by the service)
312 (138)
1... ....
1   CUNBIPRM_CCSID1

_Supported

CCSID1 supported:
0=CCSID1 is not
 supported.
1=CCSID1 is supported 
Meaningful if only CCSID1 is provided.
312 (138)
.1.. ....
1   CUNBIPRM_CCSID2

_Supported

CCSID2 supported:
0=CCSID2 is not
 supported.
1=CCSID2 is supported. 
Meaningful if only CCSID2 is provided.
312 (138)
..1. ....
1   CUNBIPRM_Conversion

_Supported

Conversion from CCSID1 to CCSID2 is supported:
0=No
1=Yes
Meaningful if both CCSID1 and CCSId2 are provided.
313 (139) BITSTRING 1   CUNBIPRM_Gen_Flags

_In

In-FLAG Byte 2 (Set by caller)
   
1... ....
..
  CUNBIPRM_Get_Tech_

Support_fCCSID2_tCCSID1

Get techniques supported from CCSID2 to CCSID1:
0=Do not obtain
 techniques.
1=Obtain techniques.
314 (13A) CHARACTER 6   * Reserved.
320 (140) CHARACTER 8   CUNBIPRM_Conv_Tech_

fCCSID1_tCCSID2

Conversion techniques is supported from CCSID1 to CCSID2.

Meaningful when Conversion_Supported is turned on.

328 (148) CHARACTER 8   CUNBIPRM_Conv_Tech_

fCCSID2_tCCSID1

Conversion techniques is supported from CCSID2 to CCSID1. It is meaningful when Conversion_Supported is turned on.
336 (150) CHARACTER 4   * Reserved
340 (154) ADDRESS 4 DWORD CUNBIPRM_DDA_Buf

_Ptr

Dynamic data area pointer
344 (158) UNSIGNED 4   CUNBIPRM_DDA_Buf

_ALET

Dynamic data area ALET
348 (15C) UNSIGNED 4   CUNBIPRM_DDA_Buf

_Len

Dynamic data area length
352 (160) CHARACTER 8 WORD CUNBIPRM_RC_RS Return/reason code
352 (160) UNSIGNED 4   CUNBIPRM_Return_Code Return code
356 (164) UNSIGNED 4   CUNBIPRM_Reason_Code Reason code
360 (168) CHARACTER 2   CUNBIPRM_CCSID1_SUFFIX Suffix for CCSID1
362 (16A) CHARACTER 2   CUNBIPRM_CCSID2_SUFFIX Suffix for CCSID2
364 (16C) UNSIGNED 1   CUNBIPRM_Conversion_Type Type of conversion for CCSID1 to CCSID2
1 = direct conversion
2 = indirect conversion
365 (16D) CHARACTER 3   * Reserved
368 (170) ADDRESS 4   CUNBIPRM_CCSID1 _CTLDEF_Ptr Optional pointer to CCSID1 CUNBIPRM_CTLF
372 (174) UNSIGNED 4   CUNBIPRM_CCSID1 _CTLDEF_Alet ALET for CUNBIPRM_CCSID1_ CTLDEF_Ptr
376 (178) UNSIGNED 1   CUNBIPRM_CCSID1 _CTLDEF_Num Number of entries
377 (179) CHARACTER 3   * Reserved
380 (17C) ADDRESS 4   CUNBIPRM_CCSID2 _CTLDEF_Ptr Optional pointer to CCSID2 CUNBIPRM_CTLF
384 (180) UNSIGNED 4   CUNBIPRM_CCSID2 _CTLDEF_Alet ALET for CUNBIPRM_CCSID2_ CTLDEF_Ptr
388 (184) UNSIGNED 1   CUNBIPRM_CCSID2 _CTLDEF_Num Number of entries
389 (185) CHARACTER 11   * Reserved
400 (190) CHARACTER 0   CUNBIPRM_End End of CUNBIPRM

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014