hi All,
i have one scenario like if
source--->transformer-->2 target sequential files
the 1 st target sequential file is loads the data from
source
and 2nd target sequntial file contain the 1st target total
record count,and file name of 1 st target seq file and
timestamp seperated by delimeter
for example if source have 10 record the 1st target seq
file hav 10 records
and
2nd target seq file example
10|xyz.txt|20101110 00:00:00
could you please help me out how can i implement in
datastage job.
Answer Posted / bharath
Hi,
in derivation for seq2 give as follows,
for file name give job parameter as file name and datatype is char..
for timestamp give Current CurrentTimestamp()
for count rows it is not not possible by using transformer
it can be achieved by adding another stage
that is aggregation stage..
| Is This Answer Correct ? | 8 Yes | 2 No |
Post New Answer View All Answers
In work load management there are three options of Low priority, Medium priority and High Priority Jobs which can be used for resource management. why this feature is developed when there is already jobs prescheduled by scheduler or autosys. what will be the use of workload management then?
What are the benefits of datastage?
what is use of SDR function?
Define meta stage?
Define Job control?
In a batch if a job fails in between and you want to restart the batch from that particular job and not from the scratch then what will you do?
project Steps,hits, Project level HArd things,Solved methods?
What can we do with datastage director?
Explain how a source file is populated?
How to find value from a column in a dataset?
how can we validate the flat files using the date in the header and number of records in the flat file? Using both conditions at a time.
To see hidden files in LINIX?
What is the difference between operational data stage (ods) and data warehouse?
i have a job with 3 possibiliies finish with ststus ok abbort warning how do you handle these 3 in job sequence? explain the situation where you have appiled scd in your project? chandu
Can you explain kafka connector?