
534
To handle space characters as data
To handle trailing spaces in a data field as data (not as padding characters), you must take
special considerations in programming.
If you want to search for a field data containing spaces in its tail by using a SEARCH function,
for instance, use any of the following methods:
Example 1
After downloading a data file, fill the unused spaces in each field with
spaces
and then search for the target field data.
Example 2 Before downloading a data file, substitute any of the characters which will
not be
used as effective data, e.g., an asterisk (*), for the spaces in the host
computer.
Filling with space characters
Send data
]
]
A
B C
A
B C
]
]
A
B C
]
]
A
B C
Receive data
Search data to be specified
( denotes a space character.)
]
A
B C
A
B C
A
B C
A
B C
Send data
Receive data
**
**
**
]
]
Data to be searched
Search data to be specified
( denotes a space character.)
]
Comentarios a estos manuales