z/OS ISPF Reference Summary
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


TRANS—translate data from one Coded Character Set Identifier (CCSID) to another

z/OS ISPF Reference Summary
SC19-3624-00

Command invocation format

Read syntax diagramSkip visual syntax diagram
>>-ISPEXEC--TRANS--FRMCCSID(from-ccsid-number)------------------>

>--TOCCSID(to-ccsid-number)--FROMVAR(from-variable-name)-------->

>--+-------------------------+--+---------------------+--------><
   '-TOVAR(to-variable-name)-'  '-LENGTH(data-length)-'   

Call invocation format

Read syntax diagramSkip visual syntax diagram
>>-CALL--ISPEXEC--(buf-len,--buffer)---------------------------><

OR

Read syntax diagramSkip visual syntax diagram
>>-CALL--ISPLINK------------------------------------------------>

>--('TRANSbbb',from-ccsid-number,to-ccsid-number,--------------->

>--from-variable-name--,-+------------------+------------------->
                         '-to-variable-name-'   

>--,-+-------------+-);----------------------------------------><
     '-data-length-'      

Return codes

 0
Normal completion.
 4
Translation tables do not support the requested ‘to/from’ combination.
 8
From variable not found.
16
Variable services indicated a translation error or truncation occurred storing the translated data.
20
Severe error.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014