Search found 124 matches

by fmou
Fri Jun 17, 2011 12:56 pm
Forum: General
Topic: Identifying the erroneous column
Replies: 7
Views: 1877

Thanks for the practical suggestions, Mike. The reason that I asked the question was actually that, I saw at another place a tip for identifying the column causing problem during sequential file read, is to play with the Record Options tab, eg. something like enabling the "print field" opt...
by fmou
Tue Jun 14, 2011 8:04 am
Forum: General
Topic: Identifying the erroneous column
Replies: 7
Views: 1877

Identifying the erroneous column

Hi,

How can I know which column is causing error during sequential file read?

thanks
by fmou
Tue Jun 14, 2011 8:00 am
Forum: General
Topic: Stages, field names and job parameters
Replies: 5
Views: 2962

Stages, field names and job parameters

Hi,

Which stages allow field names to be specified using job parameters?
Or maybe rather, which can't?

thanks
by fmou
Thu Jun 09, 2011 2:58 pm
Forum: General
Topic: Can't open active stages
Replies: 3
Views: 1586

Is that happens only to a particular job or to all of the jobs? Did you try creating a new job? Is that the same? Everything, starting with new job and revert to old ones. FYI, having found the following Datastage FAQ entry, I gave up trying and restore my last-good os backup. Datastage Designer ha...
by fmou
Wed Jun 08, 2011 1:55 pm
Forum: General
Topic: ftp mode
Replies: 3
Views: 1208

many thanks for the explanation of why those mode are chosen.

Are COBOL copybooks normally of EBCDIC characters?

thanks
by fmou
Wed Jun 08, 2011 1:52 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Need suggestions on a specific task
Replies: 1
Views: 1915

Need suggestions on a specific task

I need to convert the following PLSQL code into DS stages: I have a bunch of following insert statements appending to the same table: INSERT INTO summary ( f1 , f2 ) SELECT f_fixed , f_var FROM tbl1 a , tbl2 b WHERE a.pk1 = b.pk1 AND a.pk2 = b.pk2 GROUP BY f_fixed , f_var; whereas each insert statem...
by fmou
Tue Jun 07, 2011 5:55 pm
Forum: General
Topic: ftp mode
Replies: 3
Views: 1208

ftp mode

Hi, I heard the saying that - source data from mainframe dataset should be ftped using the binary mode, whereas - COBOL copybook files should be ftped using th text mode I'm wondering if the above absolutely necessary? what'd happen otherwise. what's the general guild-line choosing the ftp mode. tha...
by fmou
Tue Jun 07, 2011 4:16 pm
Forum: General
Topic: The .dsx file
Replies: 3
Views: 1630

The .dsx file

Hi, DataStage Jobs are generally exported and imported using the DataStage Manager GUI tool. However, I'm more interested in doing export/import at the Command line. DSEXPORT/DSIMPORT command will work only for individual jobs. DSCMNDEXPORT command provide options to export whole project in DSX form...
by fmou
Tue Jun 07, 2011 3:56 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Surrogate Key Generator, prefixing Surrogate Key
Replies: 12
Views: 5207

Could you elaborate a bit more, Ray, please?

I guess the principle to define columns, data types, and other format options in the *parallel* Column Import stage, not the Sequential stage still hold, just the practice how to add the surrogate key has changed, right?

thanks
by fmou
Tue Jun 07, 2011 8:27 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Surrogate Key Generator, prefixing Surrogate Key
Replies: 12
Views: 5207

. . . if your intent is to just parse it back out with Column Import, don't even bother with the concatenation. Just let the surrogate key column pass through to the output of Column Import.... Thanks for the reply, Actually that's the first method that I tried, however, due to my limited knowledge...
by fmou
Tue Jun 07, 2011 7:16 am
Forum: General
Topic: job log export
Replies: 2
Views: 1268

ray.wurlod wrote: The easiest way is to choose Print from the Project menu in Director. Within the Print dialog you will find ...
That's the only thing I can see, but I'll mark it as solved anyway.
by fmou
Tue Jun 07, 2011 7:13 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Surrogate Key Generator, prefixing Surrogate Key
Replies: 12
Views: 5207

Re: Surrogate Key Generator, prefixing Surrogate Key

I want to define columns, data types, and other format options in the *parallel* Column Import stage, not the Sequential stage, which can improve performance because it separates parsing process from sequential read process. However, I need to assign a row number in parallel using the Surrogate Key...
by fmou
Tue Jun 07, 2011 7:06 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: iif
Replies: 4
Views: 1796

chulett wrote:

Code: Select all

part1 : (if condition then exp1 else exp2) : part3 
...
That's the exact answer that I was expecting for.

Thanks a lot chulett
by fmou
Mon Jun 06, 2011 10:27 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: iif
Replies: 4
Views: 1796

iif

Hi, Does DS has the iif or the ? : operator in C? E.g., I want to build up an output string part1 : part2 : part3 where part1 & part3 are substring of the input string, and part2 need to be conditionally build according to some specific key char in the input string. The "part2" express...
by fmou
Mon Jun 06, 2011 10:17 pm
Forum: General
Topic: Boolean expression
Replies: 1
Views: 870

Boolean expression

Hi, Another noob question, In trasnformer, I have such derived variable defined, IF IsNotNull(the_field) THEN 'Y' ELSE 'N' -- IsFound Then the variable IsFound is used as an output constrain, e.g, if IsFound = 'Y' Coming from C/C++ background, I'm wondering if I can just use IsNotNull's Return as-is...