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.  FlatFileSchema - Field Justification

    Posted Thu June 08, 2006 02:33 PM

    Hi,

    can u plz explain me how to give Field Justification(like Right,Left) while creating the flatfile Schema.

    thanks,
    Sree


    #Flow-and-Java-services
    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: FlatFileSchema - Field Justification

    Posted Thu June 08, 2006 05:53 PM

    Hi Sree,
    What version of the IS are you using? If you are at version 6.1 SP1, webMethods has IS 6.1 SP1 Fix 62 where they introduced a config parameter - spacePadJustifies=false - this can be added to the file /packages/WmFlatFile/config/ff.cnf This fix modifies the service convertToString so that when the spacePad input value is “left”, the fixed length fields are left justified and when the spacePad value is “right”, the fields are right justified.

    This will affect all the fields i.e. you cannot have field1 as Left justified and field2 ar Right justified.
    HTH,
    Bhawesh.


    #Integration-Server-and-ESB
    #webMethods
    #Flow-and-Java-services


  • 3.  RE: FlatFileSchema - Field Justification

    Posted Thu June 08, 2006 06:07 PM

    Hi Sree,
    Adding to my earlier reply:
    In any document structure, to make a particular field left or right justified, use the services leftPad/rightPad in the WmPublic or pad service in WmEDI package.

    HTH,
    Bhawesh.


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services