cancel
Showing results for 
Search instead for 
Did you mean: 

reading records from file

Former Member
0 Kudos

hi all,

my auery is I have a file in that 1000 records are there. in that i want to read first 100 records only for this where i need to specify the logic or hw can i do.

waiting for reply

Thx in advance.

Regards,

Chandu.

Accepted Solutions (1)

Accepted Solutions (1)

GabrielSagaya
Active Contributor
0 Kudos

Recordset Structure=Record,1

RecordSetperMessage=100

Former Member
0 Kudos

hi,

you meant say in flat file we have mention

Recordset Structure=Record,1

RecordSetperMessage=100 this thing am i right.

GabrielSagaya
Active Contributor
0 Kudos

Yes You are right.

For FCC, You are going to give the fieldnames of Record and its fieldSeparator & endseparator.

Any doubt???

Answers (2)

Answers (2)

Former Member
0 Kudos

hi

you have 1000 of record and out of that select only 100

record in that process choose the BPM

in the BPm you select the Business process and give the condition loop in that . that is seletct only 100 record out of these 1000 record

i hope your prob will solved'

thanks

Regards

vijay

Former Member
0 Kudos

Hi,

Here you can make use of BPM.

Create an integration process, in it insert a loop,in that loop insert a receive step, arter that insert a container operation in the loop.

every time the loop itterates increase a counter container element by 1 in the container operation,

now in the condition of the loop specify conuter not equal to 100.

so when the counter will reach 100 the loop will end and will not accept any more records.

**Reward points if helpful.

--Sankar Choudhury

Former Member
0 Kudos

Hi,

Do u want that ur only 100 records will be mapped to target only if condition satisfied.

if this is ur requirement then it will be achieved in Graphical mapping.

Write an UDF and mapped it to target root node.

Input to UDF will be the source element for which u want to generate the target strucutre write the login and generate the target node based on the condition.

Chirag