Search found 312 matches

by Marley777
Fri Aug 26, 2011 2:51 pm
Forum: General
Topic: How to abort jobs that finish with warnings
Replies: 10
Views: 5790

How to abort jobs that finish with warnings

Hi, thanks for reading and any help you can offer. Trying to set up a sequencer so that it restarts when an error or warning is encountered. Each activity in the sequencer has two triggers one for 'ok' and one for 'otherwise'. The 'otherwise' trigger sends processing to a e-mail activity then a term...
by Marley777
Wed Jul 06, 2011 3:19 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Convert string to a number
Replies: 7
Views: 3028

how can I keep the numbers to the right of the decimal?
by Marley777
Wed Jul 06, 2011 2:38 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Convert string to a number
Replies: 7
Views: 3028

StringToInteger giver me everything before the decimal position. I'm loading to a db2 field defined as integer...so string to decimal won't work. So not sure how to convert to integer and keep everything to the right of the decimal?
by Marley777
Wed Jul 06, 2011 1:48 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Convert string to a number
Replies: 7
Views: 3028

Convert string to a number

Thanks for reading. How can I convert an input field from varchar 255 to an integer. The fields are latitude and longitude. below is the value in the longitude field -84.469345 below is the value in the latitude field 39.074253 Both values come in as varchar 255, but need to convert to integer and k...
by Marley777
Wed Jun 29, 2011 8:46 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Bad NLS map name "" specified
Replies: 3
Views: 4564

Ray, the job wasn't imported. Is teh warning telling me I need to add an NLS map name...was is an NLS mapname?
by Marley777
Thu Jun 16, 2011 2:08 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: When DS job aborts, rows are still insterted into target DB
Replies: 1
Views: 1228

When DS job aborts, rows are still insterted into target DB

Hi, thanks for reading. Running a parallel job and noticed when it aborts it still inserts rows into the target table. Does DataStage not have roll back capability?

Job design

Dataset -> lookup -> transformer -> DB2 Connector
by Marley777
Fri Jun 10, 2011 5:45 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Bad NLS map name "" specified
Replies: 3
Views: 4564

Bad NLS map name "" specified

Hi, thanks for reading. Reading xml from a clob field in a db2 table. The job works, but we get this warning.

Bad NLS map name "" specified

Anyone know how to get rid of this warning or what the warning really means?
by Marley777
Tue Jun 07, 2011 11:16 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Shared conatiner called even when no rows are passed to it
Replies: 1
Views: 982

Shared conatiner called even when no rows are passed to it

Hi, thanks for reading. We have a job that uses a shared container. A transformer sends data to the shared container only when the constraint is meet. However, even when zero records are sent from the transformer down the link to the shared container...the shared container still executes. Anyone kno...
by Marley777
Tue Jun 07, 2011 11:04 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Lookup retruns 0 instead of null for records not found
Replies: 2
Views: 1514

That worked...thanks for your help rcanaran.
by Marley777
Tue Jun 07, 2011 9:29 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Lookup retruns 0 instead of null for records not found
Replies: 2
Views: 1514

Lookup retruns 0 instead of null for records not found

Hi, thanks for reading. Have a job that calls a shared container. The shared container performs a common lookup. The shared container is using RCP so on the input link we only define metadata for fields needed in the lookup...everything else passes through via rcp. Everything works, as far as the rc...
by Marley777
Thu May 26, 2011 1:28 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to calculate date one year prior to an input date
Replies: 4
Views: 2311

How to calculate date one year prior to an input date

Thanks for reading.

If I have an input date and want to know the date one year prior using the input date as my starting point.

Trying to use DateFromDaysSince but need help with the syntax. Can someone please provide and example? Will it handle leap year?

Thanks.
by Marley777
Wed May 04, 2011 7:30 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Filter stage
Replies: 3
Views: 2962

In this case field1 can be many values, but it's easier for me to check for the values I don't want rather than checking for the values I do want. Is there a way to do a NOt IN() statement within a filter stage?
by Marley777
Tue Mar 29, 2011 2:51 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Use a job parameter to pass metatdata to a job
Replies: 2
Views: 1526

Use a job parameter to pass metatdata to a job

Hi, is it possible to pass different metadata definitions to the same generic job? RCP doesn't work for what we are trying to do. We want to use one job to load many tables. Want to pass everything the job needs by using job parameters.
by Marley777
Mon Feb 28, 2011 2:09 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to make a record for each comma separated field
Replies: 25
Views: 11776

Thanks everyone for your help.

I'm going to mark this resolved

We have two things that will work

awk -F"," '{for (i=1; i<=NF; i++) { print $i}}' (credit to DSguru2B)

or a script I will post once finished and tested.