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.  Creating Flat File Schema without Record Identifiers

    Posted Tue October 12, 2004 01:53 AM

    We are using WM 6.1.

    He have a CSV in the following format:

    dateTime,fileType,sender,receiver
    lineNo,name,description
    lineNo,name,description
    lineNo,name,description

    As you can see, the first line is a header, and the rest are detail lines. We dont have record identifiers. I cannot seem to model this in a flat file schema. Does anyone know how to do this?

    Cheers,


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


  • 2.  RE: Creating Flat File Schema without Record Identifiers

    Posted Tue October 12, 2004 01:01 PM

    Paul,

    Create your record in the dictionary.
    Then in the schema set it as the default record.
    See Marks’ response in this post [url=“wmusers.com”]wmusers.com


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


  • 3.  RE: Creating Flat File Schema without Record Identifiers

    Posted Wed October 13, 2004 12:08 AM

    Our schema is a little different Chris. We have a header record followed by detail records. by assigning a default record, the schema assumes every record is of the type defined in the default record.

    At the moment we have worked around it by assigning the detail line in the data dictionary as the default record. he then add the header record to the schema. The problem with this method is that the header line must have a record identifier.

    This isn’t a bad solution, but we want to try and have it so the first record is assumed to be a header, and the rest as detail lines.

    I hope this makes sense


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


  • 4.  RE: Creating Flat File Schema without Record Identifiers

    Posted Wed October 13, 2004 02:28 PM

    Paul,

    You are correct in that a recordWithNoId types assume that all the records are of the same structure.
    interesting problem.
    Hmm??


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


  • 5.  RE: Creating Flat File Schema without Record Identifiers

    Posted Wed October 13, 2004 02:42 PM

    Paul,

    As chris mentioned to use dictionary and default record option (recordWithNoID)make this unlimited and as you said first line will always be header record then take recordWithNoID first iteration and map the header values and for lines it should not be any problem.right?

    HTH,
    RMG.


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