cancel
Showing results for 
Search instead for 
Did you mean: 

Ignoring last 2 lines while reading the file

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

KennethEriksen
Participant
0 Kudos

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

Answers (1)

Answers (1)

Former Member
0 Kudos

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.