cancel
Showing results for 
Search instead for 
Did you mean: 

reading consecutive records

Former Member
0 Kudos

hi,

i want to records consecutively from the file where 200 records are there in that file.

ex: i want 1,5,10,15,20 like this consecutive files i want read from the file.

Regards,

Chandu.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

hi

you want 1,5,10,15,20 like this consecutive files i want read from the file

use BPM and give the condition.and select only those record that u want

thanks

Regards

vijay

GabrielSagaya
Active Contributor
0 Kudos

then prefer Advanced UDF to generate sequence no.

Based on the sequence no 1,5,10,15,20,25,30...

pass the corresponding values to the Resultlist. that is stored in Target structure

Former Member
0 Kudos

this we could try. t thx for reply. but i want to know whether is it exact answer r not pls reply.

Regards,

chandu

GabrielSagaya
Active Contributor
0 Kudos

There are multiple ways are to get the answer

Record

|__ Row->SplitbyUDF>CollapseContext>RemoveContext>Row

in SplitBy UDF

write a Java program to have a counter

if counter==5 then append one Contextchange

result.addContextChange()

Collapsecontext will capture the First record of every contextchange--->target

GabrielSagaya
Active Contributor
0 Kudos

Recordset Structure=Record,1,Record,5,Record,10,Record,15, Record,20

RecordSetperMessage=1

Pls try this this

Former Member
0 Kudos

hi,

If i have 1000 records in my file i can not specify 200 times in record stucture am i right

just think of it and if I am wrong please let me know.

Regards,

chandu.