IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  ADABAS - Date Field - JSP

    Posted Tue January 27, 2004 07:48 PM

    Hi,

    I am trying to access ADABAS File (in mainframe) mapped in Tamino.

    There in one Date Format field which is mapped as Format - Packed Decimal in the Tamino Schema.

    When I retrieve data I get the value for that field as 730406.

    Can any one tell me please how I can get the output in normal YYYY-MM-DD format?

    Any help is appreciated.

    Thanks
    Roy


    #webMethods
    #Tamino
    #API-Management


  • 2.  RE: ADABAS - Date Field - JSP

    Posted Wed January 28, 2004 02:20 PM

    Roy,
    unfortunately, this is not possible. You can not specify that this value is a ADA/NAT Timestamp. X-Node does not have the algorhythms to de-/encode it.

    regards,

    Timm


    #webMethods
    #API-Management
    #Tamino


  • 3.  RE: ADABAS - Date Field - JSP

    Posted Wed January 28, 2004 02:30 PM

    Hello Roy,

    You could have an additional alphanumeric field on the Adabas file that has a formatted representation of the date field in a form that is useful from the Tamino side. The of course would require application changes on the m/f to populate the field.

    HTH,

    Stuart Fyffe-Collins
    Software AG (UK) Ltd.


    #Tamino
    #webMethods
    #API-Management


  • 4.  RE: ADABAS - Date Field - JSP

    Posted Wed January 28, 2004 09:10 PM

    Timm and Stuart, thanks for the information. Since I am going to use JSP for the application, I wrote the code for Decoding and Encoding the value.

    Thanks for your help.

    Roy


    #Tamino
    #webMethods
    #API-Management