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


Mapping of parameters for AMODE (64)

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

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

Table 1. Mapping of parameters in HLASM for character conversion AMODE (64)
Offset Dec Offset Hex Type Length in bytes Boundary Name Short Description - See full description following table for details
0 (0) STRUCTURE 216 DWORD CUN4BCPR Parameter area
0 (0) UNSIGNED 4   CUN4BCPR_Version Parameter area VERSION
4 (4) UNSIGNED 4   CUN4BCPR_Length Parameter area Length
8 (8) ADDRESS 8   CUN4BCPR_Src_Buf_Ptr Source buffer pointer
16 (10) UNSIGNED 4   CUN4BCPR_Src_Buf_ALET Source buffer ALET
20 (14) UNSIGNED 4   * Reserved
24 (18) UNSIGNED 8   CUN4BCPR_Src_Buf_Len Source buffer length
32 (20) ADDRESS 8   CUN4BCPR_Targ_Buf_Ptr Target buffer pointer
40 (28) UNSIGNED 4   CUN4BCPR_Targ_Buf_ALET Target buffer ALET
44 (2C) UNSIGNED 4   * Reserved
48 (30) UNSIGNED 8   CUN4BCPR_Targ_Buf_Len Target buffer length
56 (38) CHARACTER 64 DWORD CUN4BCPR_Conv_Handle Conversion handle
120 (78) CHARACTER 16 WORD CUN4BCPR_Conv_Key Conversion Key
120 (78) UNSIGNED 4   CUN4BCPR_Src_CCSID Source CCSID (codepage)
120 (78) UNSIGNED 4   CUN4BCPR_Targ_CCSID Target CCSID (codepage)
120 (78) CHARACTER 8   CUN4BCPR_Technique The CONVERSION TECHNIQUE is specified as input to the image generator
136 (88) ADDRESS 8   CUN4BCPR_Wrk_Buf_Ptr Work buffer pointer
144 (90) UNSIGNED 4   CUN4BCPR_Wrk_Buf_ALET Work buffer ALET
148 (94) UNSIGNED 4   * Reserved for 64 bit
152 (98) UNSIGNED 8   CUN4BCPR_Wrk_Buf_Len Work buffer length
160 (A0) ADDRESS 8 DWORD CUN4BCPR_DDA_Buf_Ptr Dynamic data area pointer
168 (A8) UNSIGNED 4   CUN4BCPR_DDA_Buf_ALET Dynamic data area ALET
172 (AC) UNSIGNED 4   CUN4BCPR_DDA_Buf_Len Dynamic data area length as defined by constant CUN4BCPR_DDA_Req
176 (B0) BITSTRING 1   CUN4BCPR_Flag1 FLAG Byte 1 set by caller
176 (B0)
1... ....
1   CUN4BCPR_Sub_Action Sub action:
0=TERMINATE WITH
ERROR.
1=Substitute AND
CONT. 
176 (B0)
.1.. ....
1   CUN4BCPR_Inv_Handle Invalid handle at start:
0=TERMINATE WITH
ERROR
1=GET NEW HANDLE
AND CONT.
176 (B0)
..1. ....
1   CUN4BCPR_No_Opt_ Buf_Fill Target buffer filled:
0=TARGET BUFFER
FILLED OPTIMALLY.
1=TARGET BUFFER NOT
FILLED OPTIMALLY.
176 (B0)
...1 ....
1   CUN4BCPR_Mal_Action Mal Action: (Default 0):
0=SUBSTITUTE AND CONT.
1=TERMINATE WITH
ERROR
176 (B0)
.... 1...
1   CUN4BCPR_RL_Sub_Action R or L technique action
176 (B0)
.... .1..
1   CUN4BCPR_SrcSub_Chk Substitution Chars Check in source:
0=Does nothing.
1=Override SUB_ACTION.
176 (B0)
.... ..1.
1   CUN4BCPR_Bidi_Context Bidi Context:
0=Context LTR
1=Context RTL
176 (B0)
.... ...1
1   CUN4BCPR_Bidi_ImpAlg Bidi Implicit Alg:
0=Algor Basic
1=Algor Implicit
177 (B1) UNSIGNED 1   CUN4BCPR_Subcodepage Number of subcodepage(s)
177 (B1) BITSTRING
1111 ....
1   CUN4BCPR_Source_SCP_ State Source subcodepage status
177 (B1) BITSTRING
.... 1111
1   CUN4BCPR_Target_SCP_ State Target subcodepage status
178 (B2) BITSTRING 1   CUN4BCPR_Flag2 FLAG Byte 2 set by service
178 (B2)
1... ....
1   CUN4BCPR_Substitution Substitution:
0=NO CHARACTER
SUBSTITUTED.
1=CHARACTER(S)
SUBSTITUTED.
178 (B2)
.1.. ....
1   CUN4BCPR_Mal_Found Malformed string found:
0=NO MALFORMED
STRING FOUND
1=MALFORMED STRING
FOUND.
178 (B2)
..1. ....
1   CUN4BCPR_Page_Fix Page fixing:
0=System storage
1=Page Fixing
178 (B2)
...1 ...
1   CUN4BCPR_ETF3E_Behavior

Status

ETF3 hardware enhancement for conversions from 1200 to 1208 and vice versa. When CUN4BCPR_ETF3E_ Behavior is on:
0=ETF3 hardware
  enhancement
  is enabled.
1=ETF3 hardware
  enhancement
  is not installed.
179 (B3) UNSIGNED 1   CUN4BCPR_Designator Reserved for ISO2022
180 (B4) CHARACTER 8 WORD CUN4BCPR_RC_RS Return/reason code
180 (B4) UNSIGNED 4   CUN4BCPR_Return_Code Return code
184 (B8) UNSIGNED 4   CUN4BCPR_Reason_Code Reason code
188 (BC) UNSIGNED 4   * Reserved
192 (C0) CHARACTER 8   CUN4BCPR_Subs_Counter Reserved
200 (C8) BITSTRING 2   CUN4BCPR_Flag3 Flag 3
200 (C8)
1... ....
2   CUN4BCPR_ETF3E_Behavior ETF3 hardware enhancement implementation for conversions from 1200 to 1208 and vice versa:
0=Do not exploit ETF3
hardware enhancement.
1=Exploit ETF3 hardware
enhancement.
202 (CA) UNSIGNED 6   * Reserved
208 (D0) ADDRESS 8   CUN4BCPR_Extended_Bidi_ Parm_Area_Ptr Points to the bidi parm area
216 (D8)   0   CUN4BCPR_End End of CUN4BCPR

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014