SNAX/APC Application Programming Manual

Application Prototype Simulator
SNAX/APC Application Programming Manual138786
4-77
Translate to ASCII (SF14)
The following example shows the appearance of the SEND-DATA verb screen when
using the hexadecimal editor.
Translate to ASCII (SF14)
The translate-to-ASCII function (SF14) translates from EBCDIC to ASCII the contents
of the User Data field in SEND-DATA, RECEIVE-AND-WAIT, and RECEIVE-
IMMEDIATE (or mapped equivalent) verbs. Use this function if your TP receives
EBCDIC data from its partner TP, and you want to display the data in ASCII. For basic
verbs, note that this function does not translate the first two bytes of the User Data field
because the first two bytes are normally the logical record length (LL) field.
Translate to EBCDIC (SF15)
The translate-to-EBCDIC function (SF15) translates from ASCII to EBCDIC the
contents of the User Data field in SEND-DATA, RECEIVE-AND-WAIT, and
RECEIVE-IMMEDIATE (or mapped equivalent) verbs. Use this function if your TP
F14 Rtn Returns to the verb screen from which you invoked the hexadecimal
editor.
F15 Rcov Displays the current screen again.
F16 Rtn Returns to the verb screen from which you invoked the hexadecimal
editor.
SNAX/APC Application Prototype Simulator (APS) System (T9096D30 15FEB95 21c)
Request: Send_Data Resource ID: 0 2 0 0A583
ADDR 1 5 9 HEX 13 17 |....|....|TEXT|....|
001 005012FF 20202020 20202020 20202020 20202020 * ~P~~
*
021 20202020 20202020 20202020 20202020 20202020 *
*
041 20202020 20202020 20202020 20202020 20202020 *
*
061 20202020 20202020 20202020 20202020 20202020 *
*
Reply:
Enter input, press RTN to return when done
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 F13 F14 F15
F16
Prev Next Hex Text Prnt Rtn Rcov
Rtn
Table 4-3. Hexadecimal Editor Function Keys (page 2 of 2)
Key Label Function