Skip to main content
Dominique Sacre
Rocketeer
May 10, 2011 3:34 PM UTC

MFSORT from server express 5.0 (Anyone using?)

[Migrated content. Thread originally posted on 10 May 2011]

Hi everyone,

Was wondering if anyone is using mfsort in their environment?
My side was thinking of using mfsort as their sorting tool for their development.
The performance is not bad as it seem to be able to keep up with syncsort's performance.

Just that it is truncating trailing blanks from my line sequential data files and I still haven't figured out how to stop it from doing that. :(

Any help would be appreciated. :)
Thank you.

    2 replies

    Dominique Sacre
    Rocketeer
    May 10, 2011 3:44 PM UTC

    [Migrated content. Thread originally posted on 10 May 2011]

    Hi everyone,

    Was wondering if anyone is using mfsort in their environment?
    My side was thinking of using mfsort as their sorting tool for their development.
    The performance is not bad as it seem to be able to keep up with syncsort's performance.

    Just that it is truncating trailing blanks from my line sequential data files and I still haven't figured out how to stop it from doing that. :(

    Any help would be appreciated. :)
    Thank you.
    Hi again everyone,

    Though it might be weird to be answering my own question but I feel that I should share the answer here in case someone else hits the same problem as I did. :)

    There seems to be a support document relating to this:
    www.microfocus.com/.../NEMFSORT_tcm21-11601.pdf

    Referring to the documentation here:
    supportline.microfocus.com/.../sx50indx.htm
    Read under "File Handling - 6 File Handler Configuration"
    you will find the way to set the default setting of STRIPSPACE to OFF (Default is ON).
    According to the documentation that parameter actually does this: When performing WRITE or REWRITE operations on line sequential or line advancing files, determines whether to remove trailing space characters.

    Therefore, I probably just need to set EXTFH=/home/myconfig.cfg in my environment setting file.
    Then, set the following in the config:
    [XFH-DEFAULT]
    STRIPSPACE=OFF

    Think that should do the trick. :)
    Chris Glazier
    Moderator
    May 10, 2011 6:31 PM UTC

    [Migrated content. Thread originally posted on 10 May 2011]

    Hi everyone,

    Was wondering if anyone is using mfsort in their environment?
    My side was thinking of using mfsort as their sorting tool for their development.
    The performance is not bad as it seem to be able to keep up with syncsort's performance.

    Just that it is truncating trailing blanks from my line sequential data files and I still haven't figured out how to stop it from doing that. :(

    Any help would be appreciated. :)
    Thank you.
    Yes setting the STRIPSPACE option to OFF should solve this issue for you.