how to find no.of records in sequntial file itself?
Answer Posted / varma
Option1: You can use wc –l <<filename>> | awk '{print $1}'
in “Execute command” stage to get the row count.
Option2:-Read the sequential file and after the stage
finishes successfully, you can get the link count using
DSGetLinkInfo(DSJ.ME,
DSJ.ME, “Yourlinkname”,DSJ.LINKROWCOUNT)
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
Define Merge?
How can we improve the performance in datastage?
whom do you report?
Define data aggregation?
What are the different layers in the information server architecture?
What is a merge?
how can we create rank using datastage?what is the meaning of rank?
Enlist various types of routines in datastage.
Differentiate between data file and descriptor file?
disign the complex job in u r project?(they are aksing only complex job design and then data flow...)
How and where you used hash file?
What are stage variables, derivations and constants?
what is 'reconsideration error' and how can i respond to this error and how to debug this
What are the different options associated with dsjob command?
How many Key we can define in remove duplicate stage?