Search found 17 matches

by rockr
Thu Feb 14, 2008 8:45 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Parallel Routine Problem
Replies: 2
Views: 1295

Parallel Routine Problem

Hi , I am trying to create a Parallel routine for the first time, I have created server routines before , The problem is when I Select "NEW ROUTINE" I get to see the "GENERAL", "CREATOR" and "ARGUMENTS" tabs but not the "CODE" tab ?, What could be wr...
by rockr
Thu Feb 14, 2008 8:41 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Extract only "DIGITS" from a string?
Replies: 3
Views: 1389

Thanks ArndW !

Works just great !
by rockr
Thu Feb 14, 2008 7:49 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Extract only "DIGITS" from a string?
Replies: 3
Views: 1389

Extract only "DIGITS" from a string?

Hi , Is there a function in parallel similar to DIGITS() in server. I have a string like Ex: bnfcv56567uyuh In a server job DIGITS(bnfcv56567uyuh) gives "56567" , I need the same functionality in a parallel job. How can I acheive it ? The number in the string can be of any length, so I can...
by rockr
Wed Feb 13, 2008 12:55 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Parallel Stage which supports both Input and output links?
Replies: 3
Views: 1436

Parallel Stage which supports both Input and output links?

Is there a parallel stage which supports both input and output links with the same metadata?

Like SEQUENTIAL FILE in SERVER ?
by rockr
Mon Feb 11, 2008 9:58 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Oracle Enterprise NLS warning !
Replies: 3
Views: 1429

Hi Ray,

Where can I set the NLS_LANG variable, Can i do it on the job level or does it have to be on the project level, Where can I see and change the set parameter?

Thanks
by rockr
Fri Feb 08, 2008 3:05 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Oracle Enterprise NLS warning !
Replies: 3
Views: 1429

Oracle Enterprise NLS warning !

Hey everyone, I am loading a Oracle table (UPSERT) and I get this warning: main_program: An NLS character map <ASCL_ASCII> is specified, but NLS_LANG is not set; the NLS character map must be set to an ICU codepage which is equivalent to the character set specified by NLS_LANG. What does it mean ? T...
by rockr
Fri Feb 08, 2008 12:30 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Char to Timestamp
Replies: 18
Views: 5270

thanks for the clarification guys ! :)
by rockr
Fri Feb 08, 2008 10:37 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Char to Timestamp
Replies: 18
Views: 5270

THANKS GUYS!!

DSGURU's Derivation worked like a charm !

Marking as resolved !
by rockr
Fri Feb 08, 2008 10:32 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Char to Timestamp
Replies: 18
Views: 5270

But my input data is "20010101", shouldnt I mention the mask for the Input data ?
by rockr
Fri Feb 08, 2008 10:28 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Char to Timestamp
Replies: 18
Views: 5270

Same ERROR when I use "%yyyy%mm%dd" :( APT_CombinedOperatorController,0: Caught exception from runLocally(): APT_ParseError: Parsing parameters "%yyyy%mm%dd" for conversion "timestamp=timestamp_from_string[%yyyy-%mm-%dd %hh:%nn:%ss](string)": APT_Conversion_String_TimeS...
by rockr
Fri Feb 08, 2008 10:21 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Char to Timestamp
Replies: 18
Views: 5270

ok, I am using StringToTimestamp(INPUTCOL,"yyyymmdd") and my input is 20070101 This is my FATAL ERROR log APT_CombinedOperatorController,0: Caught exception from runLocally(): APT_ParseError: Parsing parameters "yyyymmdd" for conversion "timestamp=timestamp_from_string[%yyyy...
by rockr
Fri Feb 08, 2008 10:03 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Char to Timestamp
Replies: 18
Views: 5270

How do I use StringToTimestamp(%string% ,[%"%yyyy-%mm-%dd %hh:%nn:%ss"%]) Function in the transformer ? The part in the RED is supposed to the format of the input string or the output string. I suppose its the INPUT format, So if my format is "20010101" am i supposed to use "...
by rockr
Fri Feb 08, 2008 9:18 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Char to Timestamp
Replies: 18
Views: 5270

It dose not work, Can I convert Char to dat and Date to timestamp as you said in a single modify stage ?
by rockr
Fri Feb 08, 2008 9:00 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Char to Timestamp
Replies: 18
Views: 5270

(NEWCOL:timestamp)= timestamp_from_string(OUTCOL,%yyyy%mm%dd) is this correct ?
by rockr
Fri Feb 08, 2008 8:49 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Char to Timestamp
Replies: 18
Views: 5270

Char to Timestamp

Hi everyone, I have a job where I get the input as char and I have the data in this format "19500101". I used the modify stage to convert this column to timestamp, I used the specification as "NEWCOL:timestamp = timestamp_from_string (INPUTCOL)" . I get the output as "NULL&q...