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
hi.... am facing typical problem in every interview " I need some critical scenarios faced in real time" plz help me guys
What are the functionalities of link collector?
How do you generate sequence number in datastage?
What is quality stage?
How to create a file using vi editor? 2)how to delete a file in vi editor? 3)How to connect the server datastage to unix? what r the command lines we r using? 4)30 jobs r runnig in unix i want to find out my job. how to do this? give me command?
What are the stages in datastage?
What is the difference between account and directory options ?
EXPLAIN SCD
What is the difference between hashfile and sequential file?
Explain the datastage parallel extender (px) or enterprise edition (ee)?
Describe the main features of datastage?
What is the difference between Datastage 7.5 and 7.0?
What are stage variables and constants?
What is merge stage?
Can you explain players in datastage?