LAE

Welcome to the LAE community!  Please feel free to start a discussion in the discussion tab or join in a conversation.

Discussions

Members

Resources

Events

 View Only
  • 1.  How to read file in format of record blocks

    Employee
    Posted 02-02-2012 01:04

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: priyank.acharya

    Hi,

    I've a file which has format as mentioned below. There are numerous records of which I've just described two.

    Record Type 1
    Field 1 Value 1
    Field 2 Value 2
    .
    .
    .
    Field N Value N

    Record Type 2
    Field 1 Value 1
    Field 2 Value 2
    .
    .
    .
    Field M Value M

    Here N is not equal to M, saying that each record may have different number of fields.

    Please help parse this format.

    Thanks!


  • 2.  RE: How to read file in format of record blocks

    Employee
    Posted 02-02-2012 02:49

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: Tim Meagher

    Hi,

    I'm going to assume you want to parse this using the LDR - is that correct?

    Assuming so, have you tried working through the LDR Tutorials?

    Session 6 of the tutorials covers exactly this scenario - with some header & trailing wrapping added. If you don't understand all of the concepts there, you might have to work through session 1-5 as well.

    Tim.


  • 3.  RE: How to read file in format of record blocks

    Employee
    Posted 06-13-2012 07:00

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: RogierW

    Hi,
    this seems to be the problem I am facing as well. However, where can I find the tutorial thatis mentioned? I can't find it on this site or in the application.


  • 4.  RE: How to read file in format of record blocks

    Employee
    Posted 06-14-2012 11:52

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: sallor

    RogierW - you may not have the rights to the LDR software referenced above so I would first suggest you reach out to our local Services team you are working with to discuss your need further to ensure you get the proper help here.