ASCII I/O Module Tutorial
Chapter 4
415
Table 3.H
Extraction of Fill Character
POSITION
FILE DATA
ASCII Equivalent
001
002
003
004
005
006
007
008
009
010
E011
0000
2020
2020
2020
2020
2041
5332
3341
5334
status word one
status word two
A
S 2
3 A
S 4
This feature does not allow your program to add data characters in place
of fill characters removed from the string. This feature changes the
position of data.
When the module removes header and trailing characters from a data
string, it counts only the balance of characters as data in the string. The
module does not remove trailing characters until the data string exceeds
the set string length. The module counts the first characters of the string
as header characters, and removes them regardless of the number of
characters in the string.
1.
Set the number of header characters (three) and trailing characters
(four) to be removed by setting IW4(00-03) and IW4(04-07) to three
and four, respectively. Use the procedure in section titled “Setting
Bits in Initialization Words”, P. 3-4.
Display The file-to-file move instruction displays your setting as follows:
FILE DATA
POSITION
Hex Binary
004
2F43 000010111 01000011
2.
Enter: 1234567890123456789012
Removing Header and Trailing
Characters
StockCheck.com