Skip to main content

Problem:

How to modify the default behaviour for LINE SEQUENTIAL files.

Resolution:

Various aspects of the File Handler's behaviour are configurable.  You can alter the behaviour by setting various options in the File Handler configuration file (EXTFH).  

By Default the File Handler truncates trailing spaces from Line Sequential and Line Advancing Files. The behavior of truncating spaces can be altered by using the following File Handler option.

STRIPSPACE

When performing WRITE or REWRITE operations on line sequential or line advancing files, the STRIPSPACE option determines whether to remove trailing space characters.

STRIPSPACE={ON|OFF}

Default:    ON

Old KB# 7243

#COBOL
#RMCOBOL
#AcuCobol
#ServerExpress
#netexpress