Specifications
544
■
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 com-
puter.
ABC
Send data
ABC
Receive data
ABC
Filling with space characters
ABC
Search data to be specified
( denotes a space character.)
ABC* *
**
**
Send data
ABC
Receive data
ABC
Data to be searched
ABC
Search data to be specified
( denotes a space character.)