IBM 5110 User Manual page 119

Apl
Table of Contents

Advertisement

114
Nontranslated Format
The nontranslated format is used primarily for reading diskettes from a
non-5110 system and the diskette does not have standard 5110 file
types. Therefore, unless you need to read diskettes that do not have
standard 5110 file types, you might want to skip this topic.
The nontranslated format is the only format that is not specified when
the data file is initially created. The nontranslated format can be
specified only when the system is reading from or writing to any
diskette data file that already exists. When data is written to a direct
access data file using the general exchange or unblocked unspanned
format, the APL internal code is translated to EBCDIC code before the
data is written on the diskette. This EBCDIC code is then translated
back into the APL internal code when the data is read back into the
active workspace.
- - = - - - _ - - - - - 1
1
' "
APL Internal Code
V
_ _ ",0
~I
.=------"
EBCDIC Code
v.'
AP L I nterna I Code
Active Workspace
Translation
Tables
Diskette Storage
However, when the nontranslate format is specified, all attributes of
the file are ignored and any existing diskette file can be read from or
written to. In this case, as the data is being read from or written to
the file, the data is not translated from the EBCDIC or APL internal
code to the other code.
Instead, as data is being read in the nontranslate format from an
EBCDIC diskette file, the EBCDIC representation of the data is placed
in the active workspace. Or when data is being written in the
nontranslate format to the diskette file, the APL internal representation
of the data is written to the diskette file.

Advertisement

Table of Contents
loading

Table of Contents