This topic describes the fields in the parameter area for the bidi
service:
- CUNBBPRM_Version - set by caller - Required
- Specifies the version of the parameter area for bidi.
- CUNBBPRM_Length - set by caller - Required
- Specifies the length of the parameter area.
- CUNBBPRM_Src_Buf_Ptr - set by caller, updated by service
- Required
- Specifies the beginning address of a string of text characters,
with a length specified in the CUNBBPRM_Src_Buf_Len parameter.
- CUNBBPRM_Src_Buf_ALET - set by caller
- Specifies the ALET to be used to access the source buffer addressed
by CUNBBPRM_Src_Buf_Ptr.
- CUNBBPRM_Src_Buf_Len - set by caller
- Specifies the length in bytes of the string in the source buffer,
addressed by CUNBBPRM_Src_Buf_Ptr, to be transformed.
- CUNBBPRM_Targ_Buf_Ptr - set by caller
- Specifies the beginning address of an area of storage to be
used to store the final string layout.
- CUNBBPRM_Targ_Buf_ALET - set by caller
- Specifies the ALET to be used to access the target buffer addressed
by CUNBBPRM_Targ_Buf_Ptr.
- CUNBBPRM_Targ_Buf_Len - set by caller
- Specifies the length in bytes of the target buffer addressed
by CUNBBPRM_Targ_Buf_Ptr. It should be at least the same size of the
CUNBBPRM_Src_Buf_Len.
- CUNBBPRM_Wrk_Buf_Ptr - set by caller, used by service
for conversion purposes.
- Specifies the beginning address of an area of storage that the
conversion services can use to store intermediate results.
- CUNBBPRM_Wrk_Buf_ALET - set by caller
- Specifies the ALET to be used to access the work buffer addressed
by CUNBBPRM_Wrk_Buf_Ptr.
- CUNBBPRM_Wrk_Buf_Len - set by caller
- Specifies the length in bytes of the work buffer addressed by
CUNBBPRM_Wrk_Buf_Ptr. It should be at least the same size of the CUNBBPRM_Src_Buf_Len.
- CUNBBPRM_CCSID_Src - set by caller
- Specifies the CCSID of the source.
- CUNBBPRM_CCSID_Trg - set by caller
- Specifies the CCSID of the target.
- CUNBBPRM_Flag1 - set by caller
Bit position |
Name |
---|
1xxx xxxx
|
CUNBBPRM_Bidi_context |
x1xx xxxx
|
CUNBBPRM_Bidi_impalg |
- CUNBBPRM_Bidi_context
- Specifies the context of the text to be transformed.
- 0: Indicates the context is Left to Right
(LTR).
- 1: Indicates the context is Right to Left
(RTL).
- CUNBBPRM_Bidi_impalg
- Specifies the algorithm to be used.
- 0: Indicates the basic algorithm will be
used.
- 1: Indicates the implicit algorithm will
be used.
- CUNBBPRM_Return_Code - set by service
- Specifies the return code.
- CUNBBPRM_Reason_Code - set by service
- Specifies the reason code.