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

hi iam new to this tooliam cmpltied to know abt datastage so now iam in project tell me whole step by step what iam doing iwnt to go with exp so plz hlp me pals

1922


Why do we use exception activity in Datastage?

1371


Nls stands for what in datastage?

1236


What are routines in datastage? Enlist various types of routines.

1154


A signal has a wavelength of 1 micro min in air.how far can the front of the wave travel during 1000periods?

2547


To see hidden files in LINIX?

1589


How many types of sorting methods are available in datastage?

1115


Define Job control?

1226


What is the project in datastage?

1165


Describe the architecture of datastage?

1061


whom do you report?

1984


what should be ensure to run the sequence job so that if its get aborted in 10th job before 9job should get succeeded?

1461


What are data elements?

1235


Difference between sequential file and data set?

1261


Is it possible to implement parallelism in Mainframe Jobs ? If Yes how ? If no why ?

2323