Search found 45 matches

by hexa
Tue Jun 28, 2005 11:54 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to Total no.of jobs in a Project
Replies: 6
Views: 2001

Hi ray,

COUNT DS_JOBS WITH NAME LIKE "1A0X"

"1A0X" --> What does it mean?


could you Explain!
by hexa
Wed Jun 01, 2005 11:14 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: job is locked while creating the copy
Replies: 3
Views: 1212

Re: job is locked while creating the copy

Try this command from Administrator

UPDATE DS_JOBOBJECTS SET READONLY = 'NRO' WHERE NAME = '<Job Name>';

Regards
Hexa
by hexa
Wed May 04, 2005 2:36 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: how to convert linebreaks in a single field to a delimiter
Replies: 3
Views: 1216

Hi Arnd,

I tried using EREPLACE(BlobColumn,CHAR(nn):CHAR(nn),',') but I am not able to get my output in a single line.


regards
hexa
by hexa
Tue May 03, 2005 7:14 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Unable to run job in DataStage Director (Urgent)
Replies: 8
Views: 3657

Restart(Close u r section) DataStage

May be restart(close) u r datastage and try.
:wink:
by hexa
Thu Sep 16, 2004 5:51 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Unable to open Datasets
Replies: 3
Views: 4223

Unable to open Datasets

Hi :)

Is the metadata the same for the input file and what u have defined in your DataSet Stage?

Are there any extra columns defined by u that are not present in the input.



Hexa
by hexa
Sat Aug 14, 2004 12:06 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Finding whether a Feild is null or not
Replies: 4
Views: 1357

Finding whether a Feild is null or not

Hi!

I need to use the routine. Its a must :(
I know there are other easier ways of doing it but i need to do it in basic

Anyway Thanks for ur reply and guide me if possible
by hexa
Sat Aug 14, 2004 4:35 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Finding whether a Feild is null or not
Replies: 4
Views: 1357

Finding whether a Feild is null or not

Hi friends, I want to write a before subroutine that finds out whether a field is null or not and if it is null then gives the field a value =0 i have written the following code OPENSEQ "D:\DS325Files\SalesRecord.txt" TO H.LKEY ELSE ErrorCode = 1 Call DSLogInfo("Error in Open",&q...
by hexa
Fri Aug 13, 2004 3:07 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Group feild in PIVOT stage
Replies: 2
Views: 1044

Do you use a hammer to fasten wood screws? Or a sieve to cart water? Use the right tool! The Pivot stage does horizontal pivots. The Aggregator stage does aggregation. The FTP stage does FTP. And so on. That's the main principle underlying the graphical paradigm that DataStage uses. So the grouping...
by hexa
Thu Aug 12, 2004 9:45 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Syntax for clearing Hash file in administartor
Replies: 3
Views: 1279

Syntax for clearing Hash file in administartor

Hi!

Thanks for ur reply
I will try it tommorrow at work
by hexa
Thu Aug 12, 2004 8:30 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Find Last record in the file
Replies: 4
Views: 1752

Use Aggregator and Transformer

Hi I hope ur record has a primary key u can use the aggregator stage to find the last value of this column in your file. u can also use some other column that will have a unique value. Later u can use the transformer stage and place a constaint to add only that record to the output file which has th...
by hexa
Thu Aug 12, 2004 8:19 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Syntax for clearing Hash file in administartor
Replies: 3
Views: 1279

Syntax for clearing Hash file in administartor

Hi!

I am new to datastage
I want to know the syntax for clearing the hash file(clearing its data) through the command option in the administrator

Thanks
by hexa
Thu Aug 12, 2004 8:16 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Group feild in PIVOT stage
Replies: 2
Views: 1044

Group feild in PIVOT stage

Hi,

I want to know why the grouping functionality is available in the PIVOT stage
As we cannot do any aggregate function in this stage

I tried grouping and it gave me the same answer as it would give without grouping. I am failing to understand the importance

Can any one explain?

Thanks
by hexa
Wed Aug 11, 2004 8:28 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DS Constant
Replies: 1
Views: 1617

DS Constant

Hi Friends!:)

I am new to DataStage.
I am facing difficulty in understanding DS Constant
I want to know what DS Constants exactly do and how and where can i use them :roll:

Thanks
by hexa
Tue Aug 10, 2004 12:12 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Help Needed in Programming in BASIC
Replies: 6
Views: 1334

Hi Friends!


Thanks for ur replies :)
This is a before routine I am using in stage properties. I am doing the lab exercises provided by Ascential

Also i would like more guidance on the method sugessted by Ray on avoiding the routine and writing to another hashed file for lookup

Thanks
by hexa
Mon Aug 09, 2004 8:51 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Help Needed in Programming in BASIC
Replies: 6
Views: 1334

Help Needed in Programming in BASIC

Hi Friends! I have created a hash file that stores the last surrogate key used in a table The Hash file has two columns: TableName(key field) and SurrogateKey I have a routine that accepts Tablename as a parameter and then reads from the Hashfile and gets the last usedSurrogatekey for that table My ...