IC74914: 4GL WEB SERVICES SOAP ANSWER FOR DATE DATATYPE CONTAINS THE LITERAL "Y4MD-" INSTEAD OF THE REAL VALUE.

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • You have a SOA service returning a standalone output parameter
    of type DATE such as in:
    
    (4cf section defining the function interface)
    
       [FUNCTION]
           NAME = get_date
    
           [OUTPUT]
               [VARIABLE] NAME = p1  TYPE = DATE [END-VARIABLE]
           [END-OUTPUT]
    
       [END-FUNCTION]
       [DIRECTORY]
           NAME = ./
           FILE = get_date.4gl
       [END-DIRECTORY]
    
    and get_date.4gl contains:
    
    function get_date()
       define p1  date
    
       let p1 = TODAY
       return p1
    end function
    
    The SOAP Answer will be:
    
             <tns:p1>y4md-</tns:p1>
    
    instead of the actual date value like for example
    
             <tns:p1>2011-03-05</tns:p1>
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All Users                                                    *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Incorrect date format is being used so the data being        *
    * returned to the end-user was not proper.                     *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Please upgrade to 4GL 7.50.xC6 for the fix.                  *
    ****************************************************************
    

Problem conclusion

  • The fix is incorporated in 4GL 7.50.xC6. The date format now is
    changed to YYYY-MM-DD instead of Y4MD- (As gSOAP users used to
    get data as 20110321- which confirms to Y4MD-. While this value
    should have been 2011-03-21)
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC74914

  • Reported component name

    IBM INFORMIX 4G

  • Reported component ID

    5724C6680

  • Reported release

    750

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-03-08

  • Closed date

    2012-10-31

  • Last modified date

    2012-11-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

    IBM INFORMIX 4G

  • Fixed component ID

    5724C6680

Applicable component levels

  • R750 PSN

       UP

  • R750 PSY

       UP



Document information


More support for:

Informix Tools
Informix 4GL

Software version:

750

Reference #:

IC74914

Modified date:

2012-11-01

Translate my page

Content navigation