Guardian Programming Reference Summary for pTAL and TAL
Procedure Calls Summary (G-N)
Guardian Programming Reference Summary for pTAL and TAL—522631-001
6-33
MBCS_SHIFTSTRING_ 
Upshifts or downshifts all alphabetic characters in a multibyte character set (MBCS) 
string.
MBCS_TANDEM_TO_EXTERNAL_ 
Translates a text string from Tandem internal format to a specified external text format.
CALL MBCS_SHIFTSTRING_ ( bytestring
 ,bytecount
 ,casebit
 ,[ charset ]
 ,[ charinfo ] );
bytestring, STRING .EXT:ref:* input
bytecount, INT:value input
casebit, INT:value input
charset, INT:value input
charinfo, INT .EXT:ref:1 output
error-code := MBCS_TANDEM_TO_EXTERNAL_ ( 
 [ source-string ]
 ,[ destination-string ]
 ,source-length
 ,maximum-length
 ,[ intermediate ]
 ,external-form
 ,[ finished-length ]
 ,[ shift-to-DBCS ]
 ,[ shift-to-one-byte ] );
error-code, INT:value returned value
0 Successful completion of the translation
-1 Translation truncated due to lack of destination buffer space
-2 Unknown translation requested
-3 Invalid source string length
-4 Invalid character in Kanji-only source string










