Why we use parameters instead of hard code in datastage.
Answers were Sorted based on User's Feedback
Answer / hanug
We use parameters to reuse the job multiple times by
passing different values to the job parameters.
| Is This Answer Correct ? | 8 Yes | 0 No |
Answer / nish
hard coding is a very bad practice.
You will face troubles once you deploy to production environment and need to make changes.
Instead if you parameteris and just make the change in original it will automatically update.
This is similar to your ATM card and pin. even if you change/update your pin the card will work.
If pin is hardcoded to the card and you need to change pin, then you need to get a new card everytime you want to change pin.
Does that make sense?
| Is This Answer Correct ? | 2 Yes | 0 No |
What is the difference between hashfile and sequential file?
How do you run datastage job from the command line?
Can you explain kafka connector?
what is the main difference between sorragate key n primary key in one word
Is it possible to query a hash file?
I am having the 2 source files A and B and I want to get the output as, the data which is in file A and which doesn't in file B to a target 1 and which is in file B and which doesn't in file A to a target 2?
Tell me the syntax of Configuration file?
how will u design file watch jobs?
What are the different type of jobs in datastage?
What are the repository tables in datastage?
How can we move a DATASTAGE JOB from Development to Testing environment with the help of a datastage job using unix commands.
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?