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...

I have file with empid,empname and I want to load these two
fields along with sal in my target
1)salary must be same for all the records
2)I want pass the salary at run time

Answer Posted / shilpasagar

Declare one job parameter SAL_PARAM

Within the job seq -> Transformer -> Target

In Transformer, declare one new column by the name SALARY
and give its value as job parameter (select SAL_PARAM from
the list)

Compile the job and run it. While running it will prompt
you to pass value for SAL_PARAM.

If you pass SAL_PARAM as 45000, then all the emp data will
be populated with emp_id,empname,empsal (45000)

Note: Enable RCP too

Is This Answer Correct ?    12 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you explain kafka connector?

1303


What are orabulk and bcp stages?

1119


What are the components of datastage?

1119


Why we use surrogate key?

1224


What is the method of removing duplicates, without the remove duplicate stage?

1017


Is the value of staging variable stored temporarily or permanently?

992


How do you schedule or monitoring the job?

1204


How to read multiple files using a single datastage job if files have the same metadata?

1241


What are some different alternative commands associated with "dsjob"?

1162


What is data partitioning?

1195


how to sort two columns in single job in datastage.

2894


What are the different options associated with dsjob command?

1427


how to implement scd2 in datastage 7.5 with lookup stage

5601


Notification Activity

1398


Explain entity, attribute and relationship in datastage?

1091