Sunteți pe pagina 1din 5

Datastage FAQ 1. What is the architecture of data stage? Basically architecture of DS is client/server architecture.

Client components & server components

Client components : 1. Data stage designer 2. Data stage administrator 3. Data stage director 4. Data stage manager

Data stage designer is user for to design the jobs Data stage manager is used for to import & export the project to view & edit the contents of the repository. Data stage administrator is used for creating the project, deleting the project & setting the environment variables. Data stage director is use for to run the jobs, validate the jobs, scheduling the jobs.

Server components: DS server: runs executable server jobs, under the control of the DS director, that extract,transform, and load data into a DWH. DS Package installer: A user interface used to install packaged DS jobs and plug-in; Repository or project: a central store that contains all the information required to build DWH or data mart.

2. What r the stages u worked on?

3. I have some jobs every month automatically delete the log details what r the steps We have to set the option autopurge in DS Adminstrator.

4. I want to run the multiple jobs in the single job. How can u handle. In job properties set the option ALLOW MULTIPLE INSTANCES.

5. What is version controlling in DS? In DS, version controlling is used for back up the project or jobs. This option is available in DS 7.1 version onwards. Version controls r of 2 types. 1. VSS- visual source safe 2. CVSS- concurrent visual source safe. VSS is designed by Microsoft but the disadvantage is only one user can access at a time,other user can wait until the first user complete the operation. CVSS, by using this many users can access concurrently. When compared to VSS, CVSS cost is high. 6. What is the difference between clear log file and clear status file? Clear log--- we can clear the log details by using the DS Director. Under job menu clear log option is available. By using this option we can clear the log details of particular job. Clear status file---- lets the user remove the status of the record associated with all stages of selected jobs.(in DS Director)

7. I developed 1 job with 50 stages, at the run time one stage is missed how can u identify which stage is missing?

By using usage analysis tool, which is available in DS manager, we can find out the what r the items r used in job.

8. My job takes 30 minutes time to run, I want to run the job less than 30 minutes? What r the steps we have to take? By using performance tuning aspects which are available in DS, we can reduce time. Tuning aspect In DS administrator : in-process and inter process In between passive stages : inter process stage OCI stage : Array size and transaction size And also use link partitioner & link collector stage in between passive stages

9. How to do road transposition in DS? Pivot stage is used to transposition purpose. Pivot is an active stage that maps sets of columns in an input table to a single column in an output table.

10. If a job locked by some user, how can you unlock the particular job in DS? We can unlock the job by using clean up resources option which is available in DS Director. Other wise we can find PID (process id) and kill the process in UNIX server.

11. What is a container? How many types containers are available? Is it possible to use container as look up? A container is a group of stages and links. Containers enable you to simplify and modularize your server job designs by replacing complex areas of the diagram with a single container stage. DataStage provides two types of container:

Local containers. These are created within a job and are only accessible by that job only. Shared containers. These are created separately and are stored in the Repository in the same way that jobs are. Shared containers can use any job in the project. Yes we can use container as look up.

12. How to deconstruct the shared container? To deconstruct the shared container, first u have to convert the shared container to local container. And then deconstruct the container.

13. I am getting input value like X = Iconv(31 DEC 1967,D)? What is the X value? X value is Zero. Iconv Function converts a string to an internal storage format. It takes 31 dec 1967 as zero and counts days from that date(31-dec-1967).

14. What is the Unit testing, integration testing and system testing? Unit testing: As for Ds unit test will check the data type mismatching, Size of the particular data type, column mismatching. Integration testing: According to dependency we will put all jobs are integrated in to one sequence. That is called control sequence. System testing: System testing is nothing but the performance tuning aspects in Ds.

15. What are the command line functions that import and export the DS jobs?
Dsimport.exe ---- To import the DataStage components Dsexport.exe ---- To export the DataStage components

16. How many hashing algorithms are available for static hash file and dynamic hash file? Sixteen hashing algorithms for static hash file. Two hashing algorithms for dynamic hash file( GENERAL or SEQ.NUM)

17. What happens when you have a job that links two passive stages together? Obviously there is some process going on. Under covers Ds inserts a cut-down transformer stage between the passive stages, which just passes data straight from one stage to the other.

18. What is the use use of Nested condition activity? Nested Condition. Allows you to further branch the execution of a sequence depending on a condition.

19. I have three jobs A,B,C . Which are dependent on each other? I want to run A & C jobs daily and B job runs only on Sunday. How can u do it? First you have to schedule A & C jobs Monday to Saturday in one sequence. Next take three jobs according to dependency in one more sequence and schedule that job only Sunday.

S-ar putea să vă placă și