in datastage interview qustion

source target
------- -------
12345 1
2
3
4
5

Answer Posted / np

Use Pivot stage

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain Quality stage?

659


Have you used Unstructured data?

824


What are datastage sequences?

661


What is the difference between Datastage 7.5 and 7.0?

665


Can you filter data in hashed file?

3335






Could anyone give brief explanation bout datastage admin

1961


which r the connectors used in san?

1783


How do you generate sequence number in datastage?

617


What are constraints and derivations?

641


Which commands are used to import and export the datastage jobs?

974


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

2017


1.what is repartionoing technique? 2.what deliverables transferred to client using datastage? 3.how to write loop statements using nested loop sequence?

1799


Why do you need stage variables?

652


Field,NVL,INDEX,REPLACE,TRANSLATE,COLESC

953


create a job that splits the data in the Jobs.txt file into four output files. You will direct the data to the different output files using constraints. • Job name: JobLevels • Source file: Jobs.txt • Target file 1: LowLevelJobs.txt − min_lvl between 0 and 25 inclusive. − Same column types and headings as Jobs.txt. − Include column names in the first line of the output file. − Job description column should be preceded by the string “Job Title:” and embedded within square brackets. For example, if the job description is “Designer”, the derived value is: “Job Title: [Designer]”. • Target file 2: MidLevelJobs.txt − min_lvl between 26 and 100 inclusive. − Same format and derivations as Target file 1. • Target file 3: HighLevelJobs.txt − min_lvl between 101 and 500 inclusive. − Same format and derivations as Target file 1. • Rejects file: JobRejects.txt − min_lvl is out of range, i.e., below 0 or above 500. − This file has only two columns: job_id and reject_desc. − reject_desc is a variable-length text field, maximum length 100. It should contain a string of the form: “Level out of range: ”, where is the value in the min_lvl field. My Question is how do you write the stage variable for reject rows.

2183