Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

how can we generate row values like
1
1
1
2
2
2
3
3
3
using col generator
plz let me know

Answer Posted / peeyush sehgal

Take input file like 0 1 2 3 4 5 6 7 8 9
seq -> trans -> seq

in transformer, clear its partitioning and sort the data.
then in stage variable
initialize sv=1

if inputlink%3=0 then sv+1 else sv

populate sv in output column.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

There are two file are there .1st file contains 5 records and 2nd file contain 10 records in target they want 50 records.how can achieve this

2196


How do you generate sequence number in datastage?

1025


Notification Activity

1348


what is ds administrator used for?

1112


Define Merge?

1259


WAT TYPE OF PL/SQL QUERRYS USED IN DATASTAGE

3607


how can we create rank using datastage?what is the meaning of rank?

8705


What is developer responsibilities in UAT (user acceptance testing and Post implementation phase?

2041


Distinguish between informatica & datastage. Which one would you choose and why?

952


How you can fix the truncated data error in datastage?

1674


What are the components of datastage?

1063


What are some prerequisites for datastage?

1041


What is the use of datastage designer?

1087


Differentiate between datastage and informatica?

1140


Explain entity, attribute and relationship in datastage?

1043