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
What are the functionalities of link partitioner and link collector?
Define project in datastage?
Differentiate between datastage and informatica?
A signal has a wavelength of 1 micro min in air.how far can the front of the wave travel during 1000periods?
Describe link sort?
root tree will find which is server job and which is parallel job?
Can you explain repository tables in datastage?
What are stage variables and constants?
what should be ensure to run the sequence job so that if its get aborted in 10th job before 9job should get succeeded?
How to perform incremental load in datastage?
What is merge stage?
what is 'reconsideration error' and how can i respond to this error and how to debug this
How can we improve the performance in datastage?
what are the devoleper roles in real time? plz tell i am new to datastage....
How will you move hashed file from one location to another location?