Search found 15603 matches

by ArndW
Wed Mar 12, 2008 4:29 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: percent_rank() function in Datastage
Replies: 11
Views: 6382

No need for 2 passes.

1. Read the data, split the stream into two links, A and B
2. Link A does a aggregation on a dummy column to produce one row with the sum.
3. Link B does an inner join to the aggregator output of A
by ArndW
Wed Mar 12, 2008 4:13 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: difference between dataset and fileset
Replies: 1
Views: 976

Hello rajreddy. This type of question will usually not get answered on DSXchange as it shows a disrespect to the forum. If you aren't willing to read the documentation why should someone else go to the effort of writing lots of details? In addition, searching on "dataset fileset difference" will res...
by ArndW
Wed Mar 12, 2008 3:56 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem with converting EBCDIC to ASCII
Replies: 10
Views: 9897

I would suggest keeping the problem simple. How are you converting the EBCDIC to ASCII in your jobs? What version of EBCDIC do you have (there are several)?
by ArndW
Wed Mar 12, 2008 3:40 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: CHAR(255) in a hashed file
Replies: 12
Views: 4696

Remember that an EBCDIC "FF" converts to a different ASCII value.
by ArndW
Wed Mar 12, 2008 3:38 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DateTime using RowGenerator gives incorrect output
Replies: 15
Views: 4098

I recall having had difficulties with implicit date conversions before. Is your parameter of type "date"? Can you make the data column a string and then in a downstream modify or transform change perform an explicit conversion?
by ArndW
Wed Mar 12, 2008 3:34 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How2 specify column in sequencer-nested condition-Expressin?
Replies: 1
Views: 631

Niloy,

Job sequencers don't deal with data and columns, so I am not sure what your first question means. Jobs are run using the "Job Activity" stage, and there is no direct stage to abort other jobs that are running - but you can issue a "dsjob -stop" command from the shell to stop a job.
by ArndW
Wed Mar 12, 2008 3:31 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: CHAR(255) in a hashed file
Replies: 12
Views: 4696

the derivation "COUNT(CONVERT(CHAR(255),'?',In.Column),CHAR(255))" should always be 0, if you have a nonzero value you will have discovered a serious bug in DataStage string handling.
by ArndW
Wed Mar 12, 2008 3:28 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: types of errors
Replies: 3
Views: 1241

sridhar.b - few things bother the regulars here at DSXchange more than this type of post! Either post your exact question, or read up on "errors" in the documentation and then post remaining questions.
by ArndW
Wed Mar 12, 2008 3:09 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: CHAR(255) in a hashed file
Replies: 12
Views: 4696

The MCP option changes all non-displayable characters into a "." (period). You might just use a CONVERT(CHAR(255),"?",In.StringColumn), if that didn't work then you don't have a char(255), try outputting a SEQ(In.ColumnName) to see which character you really have.
by ArndW
Wed Mar 12, 2008 3:06 am
Forum: General
Topic: sqloInit.log - in /tmp - any ideas why DS writes this file ?
Replies: 7
Views: 2682

If you don't like the restricting of texts for a just a handful of posters, what is your recommendation for making this site pay for itself instead of costing someone (else's) money? Remember that some of these posters are paid over $100 per hour of work and are doing this DSXchange work without any...
by ArndW
Tue Mar 11, 2008 12:31 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to extract data from VSAM file using CFF stage
Replies: 9
Views: 3070

In your complex flat file stage set the NLS map to IBM01141
by ArndW
Tue Mar 11, 2008 12:06 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to extract data from VSAM file using CFF stage
Replies: 9
Views: 3070

With NLS enabled you would set the NLS character set to the appropriate IBM EBCDIC and not the project default ASCII
by ArndW
Tue Mar 11, 2008 12:04 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Command line orchadmin ll <dataset> core dumps
Replies: 5
Views: 2142

if you have dbx you could check the stack from the core file - but you might be better off submitting this to your support provider. Have you done any upgrades or changes recently?
by ArndW
Tue Mar 11, 2008 11:40 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to extract data from VSAM file using CFF stage
Replies: 9
Views: 3070

Your data is still EBCDIC and you need to tell the CFF stage that the source is EBCDIC - I would start with the NLS settings. I don't have the stage in front of me, so you will have to look through the options yourself to find where you declare this.
by ArndW
Tue Mar 11, 2008 11:37 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Appending of double quota at both ends of row
Replies: 0
Views: 526

I would add a filter stage to the job with the command

Code: Select all

sed 's/^/"/;s/$/"/' 


(I'm sure there is a better way to do it, but I'm not certain of the syntax)