Esempi
I seguenti esempi dovrebbero chiarire l'uso delle transazioni 'set data type'.
USER SERVER
---- ------
Set data type '02' (Network ASCII)
------------------------------------->
Store File X
------------------------------------->
File X (in Network ASCII)
------------------------------------->
End of File
------------------------------------->
Acknowledge
<-------------------------------------
Retrieve File X
------------------------------------->
File X in Network ASCII
<-------------------------------------
End of File
<-------------------------------------
USER SERVER
---- ------
Set data type'03' (EBCDIC)
------------------------------------->
Retrieve File Y
------------------------------------->
Set data type '00' ("bit-stream")
<-------------------------------------
File Y as stored (no conversion)
<-------------------------------------
End of File
<-------------------------------------
Set data type '02' (Network ASCII)
------------------------------------->
Retrieve File Z
------------------------------------->
File Z in Network ASCII
<-------------------------------------
End of File
<-------------------------------------