Search found 31 matches

by Childrensmn
Wed Nov 18, 2015 8:20 am
Forum: General
Topic: Datastage Jobs won't open after restore from back-up.
Replies: 9
Views: 4202

We have nightly back-ups of our production environment. The projects (legacy side only I believe) are backed-up. So, when I started having problems yesterday... I asked the network folks to restore the back-up from Nov 15. Prior to them backing up, I dropped and re-created the same project (DwProd) ...
by Childrensmn
Wed Nov 18, 2015 7:29 am
Forum: General
Topic: Datastage Jobs won't open after restore from back-up.
Replies: 9
Views: 4202

Thanks for the reply. I ran the syncscript.sh and it deleted all the jobs... Now I cannot see the jobs in director as well... I rant the script for diagnosis and it showed 936 issues need to be fixed. I ran the resolve script and it said all 936 issues have been fixed. Earlier I was able to see the ...
by Childrensmn
Tue Nov 17, 2015 2:16 pm
Forum: General
Topic: Datastage Jobs won't open after restore from back-up.
Replies: 9
Views: 4202

Datastage Jobs won't open after restore from back-up.

Hello: I had issues with my project this morning so decided to restore from the tape (networking group) from Sunday night back-up. I dropped and re-created the project (DwProd)...the folks restore the project. But I cannot open any job. I can see the job in Director and run them fine. But when I try...
by Childrensmn
Wed Aug 12, 2015 12:12 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Insert decimal (period) after first 3 characters
Replies: 2
Views: 4988

Works great. Thank You.
by Childrensmn
Wed Aug 12, 2015 10:35 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Insert decimal (period) after first 3 characters
Replies: 2
Views: 4988

Insert decimal (period) after first 3 characters

I have a varchar column with alpha numeric records. I want to insert a decimal (period) after the first 3 characters. How do I accomplish this in the transformer? Example Current Diagnosis_Code --------------------------- H13132D 78888D 43834 Converted As Diagnosis_Code -----------------------------...
by Childrensmn
Fri Apr 03, 2015 1:54 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: SQL Server Varchar Date to Oracle Timestamp conversion
Replies: 3
Views: 2605

This worked:

StringToTimestamp(CLAIM_ST_DT, "%mm/%dd/%yyyy") : " 00:00:00"
by Childrensmn
Wed Apr 01, 2015 7:49 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Varchar (SQL Server) to Decimal (Oracle) conversion
Replies: 3
Views: 2671

Thanks for the reply. Yes, I have set the scale to 2 in the datastage job. The SQL Server source column data type is Varchar(30). Could you please elaborate on what you mean by format string in StringToDecimal(). Here are the things I have tried: Implicit conversion: Truncates the decimal places (Or...
by Childrensmn
Tue Mar 31, 2015 10:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Varchar (SQL Server) to Decimal (Oracle) conversion
Replies: 3
Views: 2671

Varchar (SQL Server) to Decimal (Oracle) conversion

I am pulling ClaimAmt from SQL Server and the datatype is Varchar(30). I am loading this into oracle table with Decimal (38,2) datatype with 2 decimal places. I used StringToDecimal function and Implicit conversion in the transformer but it does not work the way I want to see. It does not put the 2 ...
by Childrensmn
Mon Mar 30, 2015 11:56 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: SQL Server Varchar Date to Oracle Timestamp conversion
Replies: 3
Views: 2605

SQL Server Varchar Date to Oracle Timestamp conversion

I have spent considerable time trying to fix that but get error message. I have Claim_St_Dt coming as Varchar from SQL Server (Here is how the date comes as "08/22/2013". Just date no time. I want to insert this into Oracle table with Timestamp datatype. 50% of the rows are NULL for this c...
by Childrensmn
Wed Mar 18, 2015 10:55 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Converting VarChar into Oracle Timestamp (Date)
Replies: 5
Views: 2628

Here is how the data for that column is
6/14/2014 16:07
and
I want to load it in Oracle as Timestamp (Date) 'YYYY-MM-DD HH24:MI:SS'
by Childrensmn
Wed Mar 18, 2015 10:24 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Converting VarChar into Oracle Timestamp (Date)
Replies: 5
Views: 2628

Converting VarChar into Oracle Timestamp (Date)

I have "NewDate" column coming from SQL Server as VarChar with the following format:
MM/DD/YYYY HH:MI
6/14/2014 16:07

I want to load this into Oracle table using Timestamp datatype (Its Date in Oracle).

Any pointers/help is appreciated.

Thanks!!
by Childrensmn
Fri Mar 13, 2015 12:55 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Removing "*" in transformer stage
Replies: 2
Views: 1751

Removing "*" in transformer stage

Hello: I have a varchar column: GradeValue and the source data has "*" <asterisk> in some rows. Example: 145* 12* 9* I want to remove that "*" sign in the transformer stage. I am using FTP stage to get the source records and do some validation in the transformer stage. What funct...
by Childrensmn
Mon Sep 22, 2014 12:21 pm
Forum: General
Topic: Help with @Date as "092014" instead of "92014
Replies: 2
Views: 1577

Thank You!!
by Childrensmn
Mon Sep 22, 2014 8:55 am
Forum: General
Topic: Help with @Date as "092014" instead of "92014
Replies: 2
Views: 1577

Help with @Date as "092014" instead of "92014

Hello, I have the following script in my batch to load month and year dynamically. I pass the below parms to jobs in the batch. Current_Month = OCONV(@Date,"DM") Current_Year = OCONV(@Date,"DY") However the result is Current_Month = "9" and I would like that to be "...