632
SP.FWRITE
(c) When the designated file does not exist, a new file is created and the data is saved from the beginning of the file.
The attributes of this new file are set using the archive attributes.
(d) An error occurs when the saving space becomes full while data is added and saved.
In such a case, the data that is successfully added/saved remains in the medium.
The error completion is indicated after as much data as possible is added/saved.
(e) When the designated number of columns is "0", the data is stored as single-row data in CSV format file.
When data is written after CSV format conversion and the designated No. of columns is "0":
Example
H
0100
D10
SP
.F
WR
ITE
D10
K
2
U
0
D20 D99 M0
*
Des
i
gnat
i
on
i
n
w
ord
un
i
ts
D11
D12
D13
D1
4
D15
D16
D17
D20
D21
D22
D099
D100
D101
D102
D103
D10
4
D105
D106
-
K
0
K
0
K
0
K
0
K
0
H4
2
4
1
H444
3
H
00
4
5
K
7
K
0
K
10
K
20
K
30
K4
0
K-
50
K
100
E
xecut
i
on
/
comp
l
et
i
on
type
N
ot
used
Wr
i
t
i
ng
resu
l
t
(
N
o
.
of
w
r
i
tten
data)
(
I
n
norma
l
comp
l
et
i
on,
i
t
i
s
the
same
number
as
the
number
of
data
to
be
w
r
i
tten
.
)
N
o
.
of
co
l
umns
des
i
gnat
i
on
Data
type
spec
i
f
i
cat
i
on
Fil
e
name
(
I
f
a
f
il
e
name
cons
i
sts
of
8
or
l
ess
characters,
"
00
"
s
are
stored
i
n
the
rema
i
n
i
ng
area
.
)
"
ABCD
E"
N
o
.
of
request
w
r
i
te
data
Wr
i
te
data
0 , 10
20
4
0
30
,
,
-
50
100
,
,
,
CR
LF
Data
to
be
read
out
to
E
XC
EL
f
il
e
Data
to
be
w
r
i
tten
to
the
f
il
e
N
ot
used
-
Fil
e
pos
i
t
i
on