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
Expand all | Collapse all

Nth Field record identifiers, Starts at position record identifiers

  • 1.  Nth Field record identifiers, Starts at position record identifiers

    Posted Mon April 09, 2012 12:28 PM

    Hi Users,

    Can any user tell me please difference between “Nth Field record identifiers, Starts at position record identifiers”

    please can anybody help me to explane this…


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


  • 2.  RE: Nth Field record identifiers, Starts at position record identifiers

    Posted Wed April 11, 2012 01:06 PM

    Hi ,
    We normally use 2 schemas.

    Fixed Length Schema (where we specify the length of the entire record and the fields have limited charatcters length).

    Delimited schema (where we use a delimiter to identify a records and fields).

    Record identifier(Start at postion) is normally set when when we want to know from which character position the record reading should start .Here we make use of fixed length extractor while defining the flat file structure.

    Record identifier(Nth Field ) is normally set when we want to know from which field(1st,2nd,3rd…Nth) the record reading should start.Here we make use of Nth field extractor while defining the flat file structure.

    Please go through documentation for more details , hope this helps…!

    Thanks,
    Amol.


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


  • 3.  RE: Nth Field record identifiers, Starts at position record identifiers

    Posted Thu April 12, 2012 09:00 AM

    Thanks Amol But still have some doubt…

    I have flat file →

    Address+Delhi+India
    Address+Pune+India

    In Flat file Definition I have set

    Delimiter–
    Record = newLine
    Field= +

    Record Identifier:

    Nth Field=0

    and in Flat file Structure:

    Address
    City Extractor 1

    its working fine when ever I have set the Record Identifier:

    Nth Field=0 or Start at position=0

    its working only these two are 0.
    but when ever i am going to change it its not working saying Record not found…

    Thats y i asked what is the use of these Identifier…

    for getting the character position the record reading should start we have Extactor :Fixed Position…so what is the user of Start at position :confused:

    I dont know what is the need of these can any one please let me know abhout this…I have read the document not still not clear…please can any one explane by example…


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