Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
_AnonymousUser
Specialist III
Specialist III

how to just get the first row from the positional file

hello,,can someone help me?
My problem is....
there are many records in the file and one column of these record hava same value,i want this value.
So i just want to get the first record from the file.
What should i do?
Example:
id name department
1 jack tech
1 mary tech
1 larry tech
i want to get the department's value.
Labels (2)
4 Replies
janhess
Creator II
Creator II

In the basic settings of tFileInputPositional set Limit to 1
_AnonymousUser
Specialist III
Specialist III
Author

In the basic settings of tFileInputPositional set Limit to 1

it works.
thank you very much for your quick reponse
Anonymous
Not applicable

There are n number of records in a file. I would like to retrieve first record...please help me ASAP
Anonymous
Not applicable

Hi talendetl123,
Are you using positional file? Have you tried to set Limit to 1 in the basic settings of tFileInputPositional?
Best regards
Sabrina