Skip to Content
avatar image
Former Member

Ignoring last 2 lines while reading the file

Hi All,

I have a file structure as mentioned below :

ab

ab

ab

ab

=======

=

While reading a file , i need to ignore the last 2 lines . How to achieve this using FCC parameters.

Regards

Vinay P.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Apr 04, 2011 at 01:47 PM

    You could try to specify your recordset structure as only ab,*

    Then it would ignore the last lines as they don't match any structures.

    Give it a shot.

    -Kenneth

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 30, 2011 at 10:24 AM

    Hi,

    I am not aware of any parameters in FCC to ignore last lines but work around can be :

    You may create one structure to read last 2 lines if depending on file structure and ignore it in mapping (map all records except this structure).

    Regards,

    Beena.

    Add comment
    10|10000 characters needed characters exceeded