IBM Support

PI70947: NEWLINES ARE CONSUMED WHEN AN MVSDS DATASET'S CONTENT TYPE IS NOT SET TO TEXT/* OR APPLICATION/X-JAVASCRIPT

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • IHS is configured to send out a .csv file using:
    MVSDS ON
      MVSDSIndexes ON
      ForceType application/vnd.ms-excel
      CharsetOptions TranslateAllMimeTypes
    
    With this, all the data is in Row 1 and the first data of the
    second record in the file is in the same cell of the last data
    of first record.
    
    This is because IHS opens any files with a Content-Type other
    than 'text/*' or 'application/javascript-x' as binary files.
    Opening the files as binary looks to consume any 0xA bytes when
    sending it to the client.  IHS needs to add a way to force
    files to be opened in text mode for this case.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  Users of IBM HTTP Server (powered by        *
    *                  Apache) on z/OS.                            *
    ****************************************************************
    * PROBLEM DESCRIPTION: Newlines are lost from an MVSDS         *
    *                      dataset served with mod_mvsds with a    *
    *                      non                                     *
    *                      text/* Content-Type                     *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Newlines are lost from a MVSDS dataset served with mod_mvsds
    when the Content-Type is not text/* or
    application/x-javascript. When the Content-Type is not text/*
    or application/x-javascript, mod_mvsds will open the file as a
    binary file causing newlines to be lost.
    

Problem conclusion

  • mod_mvsds can be forced to open files as text even when the
    Content-Type is not text/* or application/x-javascript by
    setting the environment variable 'mvsds-force-fread-text'. The
    environment variable can be set with the SetEnv or SetEnvIf
    directives.
    
    This fix is targeted for IBM HTTP Server fix packs:
     - 7.0.0.43
     - 8.0.0.14
     - 8.5.5.12
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI70947

  • Reported component name

    WAS IHS ZOS

  • Reported component ID

    5655I3510

  • Reported release

    85P

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-10-19

  • Closed date

    2016-12-19

  • Last modified date

    2017-05-01

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    WAS IHS ZOS

  • Fixed component ID

    5655I3510

Applicable component levels

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS7K4U","label":"WebSphere Application Server for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"85P","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
27 April 2022