Search found 103 matches

by arun_im4u
Fri Sep 11, 2009 9:11 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: SIGSEGV error occured during loading the data
Replies: 26
Views: 17140

Where is the TMPDIR pointing to? Is it a NFS file system?.

I believe the sqlldr will try to create pipes in this directory and if it is non-NFS then it would throw an error.
by arun_im4u
Tue Sep 08, 2009 11:12 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Unable to create a Dataset
Replies: 3
Views: 2789

Resolved. The dataset was originally created using a different configuration file on different boxes where the scratch was defined. When we moved over to new boxes, the job tried to overwrite the existing dataset, but was unable to because of the mismatch in the config files. I manually went and del...
by arun_im4u
Tue Sep 08, 2009 10:55 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: SIGBUS
Replies: 2
Views: 1111

Resolved.

I had incorrectly pointed the TMPDIR to a NFS file system. That caused the SIGBUS error. I repointed it to a non-NFS file system that fixed the error.
by arun_im4u
Tue Sep 08, 2009 7:14 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: SIGBUS
Replies: 2
Views: 1111

SIGBUS

Hello, I am getting the SIGBUS error in 7.5.1A. Based on a search from this forum, I tried the different options, but it still fails. -Re-running the job - Toggling the apt_monitor_time variable I have been using df -k in the scratch directories to track memory. How do I monitor all the memory a job...
by arun_im4u
Sat Sep 05, 2009 10:29 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Unable to create a Dataset
Replies: 3
Views: 2789

Unable to create a Dataset

Hi We have jobs failing in production because it is unable to create datasets based on the defined configuration file. We have a Datastage box and two DB2 boxes where the scratch space is defined. This is the first time we are running the jobs in this environment. Below is the error. /test/test.ds: ...
by arun_im4u
Wed Sep 02, 2009 1:29 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DB2 - Allow read access
Replies: 1
Views: 961

DB2 - Allow read access

Hello, Is there anyway I can specify allow read access while using the load option in a DB2 Enterprise stage? I see it can specified in the DB2 Bulk load stage. If Db2 bulk load stage is the way to go for this option to be set then what would be the difference in using the DB2 bulk load stage vs Db2...
by arun_im4u
Wed Aug 19, 2009 11:04 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Passing string values into SQL query via parameter
Replies: 2
Views: 1126

This issue has been discussed before. Please check this out.

viewtopic.php?t=128561&highlight=
by arun_im4u
Thu Aug 13, 2009 1:19 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Day in Date
Replies: 18
Views: 4493

Champa--

The code has to be something like this. Search for "D code" in the help guide. You will need to format the date appropriately.

Oconv(Iconv(date, "D"), "DWA")

But this option will run sequentially and will have a performance impact.
by arun_im4u
Thu Aug 13, 2009 10:10 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Day in Date
Replies: 18
Views: 4493

But ArndW, can't we use a BASIC transformer in a parallel job and use the iconv/oconv function in it?

I do not have a system to test this out.
by arun_im4u
Thu Aug 13, 2009 9:39 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Day in Date
Replies: 18
Views: 4493

Use a basic transformer in the job and use the iconv-oconv function to determine the day of the week.

Help guide on the iconv-oconv functions would tell you how to use them.
by arun_im4u
Thu Aug 13, 2009 9:04 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Number format
Replies: 3
Views: 1198

Absolutely.
by arun_im4u
Wed Aug 12, 2009 3:03 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Number format
Replies: 3
Views: 1198

I assume you want to convert a number into a string value in this format. You cannot have dashes in number fields.

Convert the number to string and use a substring function in your transformer..

substr(input_column,1,3):'-':substr(input_column,4,3):'-':substr(input_column,7,4)
by arun_im4u
Sat Aug 01, 2009 7:25 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Passing string values into SQL query via parameter
Replies: 14
Views: 14373

This is how I passed the parameter.

pEmpId=1A\',\'23\',\'4ED

Select * from employee
where id in ('pEmpId')

Generated SQL:
Select * from employee
where id in ('1A','23','4ED')
by arun_im4u
Thu Jul 30, 2009 8:28 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Passing string values into SQL query via parameter
Replies: 14
Views: 14373

[quote="dsuser_cai"]try using a back slash (\) before the single quote. for example i use it like this:
\'OD\' to specify 'OD'. i hoe this works for you.[/quote]

Thanks Chulett and dsuser_cai. It worked.
by arun_im4u
Wed Jul 29, 2009 9:48 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Passing string values into SQL query via parameter
Replies: 14
Views: 14373

Well.. It doesn't work.. It removes the quotes in between..

It reads it as pEmpId in ('1A,23,4ED')

I need it as pEmpId in ('1A','23','4ED')