Search found 162 matches

by laknar
Mon Jul 12, 2010 10:25 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reading null & fixed width integers
Replies: 4
Views: 2880

Set this Property on Format Tab of the Sequential File Stage.

Code: Select all

Null field value=''
by laknar
Mon Jul 12, 2010 10:21 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Varying nature of job run
Replies: 7
Views: 5266

Change the directory name with Double Quotes

"C:/Documents and Settings/User1/Desktop/DSX/A_custinteraction"
by laknar
Mon Jul 12, 2010 10:18 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: find average salary
Replies: 8
Views: 4423

Below is the Query you are looking for.

Code: Select all

SELECT EMPNO,SALARY FROM TABLENAME WHERE SALARY>(SELECT AVG(SALARY) FROM TABLENAME) 
by laknar
Mon Jul 12, 2010 10:02 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: List all jobs by Invocation Id
Replies: 1
Views: 2382

Yes you can. Execute the following command. for i in `dsjob -ljobs ProjectName`;do `dsjob -linvocations ProjectName $i`;done | grep "1" Or for i in `dsjob -ljobs ProjectName`;do `dsjob -linvocations ProjectName $i | grep "1"`;done I haven't tested. modify as per your requirement.
by laknar
Mon Jul 12, 2010 9:46 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Handling Data in Sequentail file
Replies: 3
Views: 2589

Read entire row as single column.
Have a transformer between Sequential File and Database Stage.
Check the number of fields in Transformer Stage Variable. If it is less then what you are expecting then reject by using constraint.
by laknar
Thu Jul 08, 2010 1:47 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Maximum Number of Column in all Stages
Replies: 4
Views: 2543

Does Ray mean. We can have unlimited columns in all stages.
But the limitation is only on OS and Database Side.
by laknar
Thu Jul 08, 2010 12:04 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Maximum Number of Column in all Stages
Replies: 4
Views: 2543

Maximum Number of Column in all Stages

Anyone have the document on Column limitations in Datastge.
We have a requirement where we need to load thousands of columns.
by laknar
Wed Jul 07, 2010 11:27 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to convert Char(20) to Bigint
Replies: 3
Views: 4642

Code: Select all

AsInteger(TrimLeadingTrailing(InPutColumn))
Or

Code: Select all

StringToDecimal(TrimLeadingTrailing(InPutColumn))
by laknar
Wed Jul 07, 2010 11:01 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: ORA-01400: cannot insert NULL
Replies: 17
Views: 20700

Double check the mapping.
Do you have any Unique Indexes or Triggers on Table.
by laknar
Thu Jul 01, 2010 1:11 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Column Naming Conventions
Replies: 4
Views: 2753

Thanks Ray, I have renamed the Columns in Table and recreated.
by laknar
Thu Jul 01, 2010 10:38 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Column Naming Conventions
Replies: 4
Views: 2753

Ok, when we go for Schema File with RCP we cannot use derivations.
Just wanted to know is there any other method to load using Column names as numbers. Handling $ and # characters we can do.
by laknar
Thu Jul 01, 2010 10:06 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Column Naming Conventions
Replies: 4
Views: 2753

Column Naming Conventions

one of the target database has column names as number.
will the datastage support the Column names as number.
i have checked already but need to load the data from file to Database using schema file.
by laknar
Wed Jun 30, 2010 10:22 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to reset the job if any job fails in project ?
Replies: 10
Views: 5432

First list the jobs using dsjob -ljobs projectname and write into file.

And then pass the jobnames using for loop

dsjob -jobstatus projectname jobname

Grep the status which ever you are looking for and reset it by using

dsjob -run -mode reset projectname jobname.
by laknar
Wed Jun 30, 2010 10:02 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: parallel row splitter
Replies: 8
Views: 4458

If the Output is single row.Use Pivot Stage to split single Row into Multiple rows
by laknar
Tue Jun 29, 2010 10:42 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: parallel row splitter
Replies: 8
Views: 4458

Yes it is.

Use Switch Stage or Filter Stage or Transformer Stage