Search found 195 matches

by deesh
Sun May 07, 2017 9:06 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to load encrypted data into netezza
Replies: 1
Views: 1621

How to load encrypted data into netezza

Hi, We are trying to load the encrypted data into netezza, but getting error due to bad rows. Can some one tell me how to load encrypted data into netezza. First we are loading data from oracle to netezza temporary table, then loading data from netezza temp table to netezza main table. While loading...
by deesh
Wed Apr 19, 2017 11:42 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: get file date as column value
Replies: 2
Views: 2675

Achieved by the file name column property in sequential file stage
by deesh
Wed Apr 19, 2017 11:40 am
Forum: General
Topic: How to pass multiple files through looping activity
Replies: 2
Views: 2186

How to pass multiple files through looping activity

Hi, i am getting multiple files with the common structure, but my senior saying need to use the loop activity in sequence jobs and solve the issue.

Please let me know how to resolve by using start and end loop in job sequencer
by deesh
Mon Apr 10, 2017 9:49 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: get file date as column value
Replies: 2
Views: 2675

get file date as column value

Hi, I have a scenario like source file include date like ABCD10112016.dat . I need to derive that file date value '10112016' for one of the target field. Could you help how to reach, Moreover will get multiple files same day with different dates. 1job source files: ABCD09112016.dat ABCD10112016.dat ...
by deesh
Wed Mar 22, 2017 8:42 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Getting Host key verification failed while executing the DS
Replies: 2
Views: 2072

Getting Host key verification failed while executing the DS

Hi Getting Host key verification failed while executing the DS through unix Please let me know in which scenario getting the issue, and whtat is the solvation. main_program: APT configuration file: /chdba/IBM/InformationServer/Server/Configurations/SANDM_2Node.apt { node "duccasedmet01_0" ...
by deesh
Wed Mar 22, 2017 6:24 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: String to decimal, unable to get proper data
Replies: 13
Views: 3553

I found the issue i am getting the control M char for that field and used below logic to remove the control and removing first three header rows in the file.

used External source stage

tail -n +4 #FileDirectories.SourceFiles#/File*.txt | tr -d '\r'
by deesh
Sat Mar 18, 2017 10:25 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: String to decimal, unable to get proper data
Replies: 13
Views: 3553

Yes, seeing the results in peek stage.
Source data type string and target data type decimal(15,10)
by deesh
Fri Mar 17, 2017 8:36 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: String to decimal, unable to get proper data
Replies: 13
Views: 3553

Please find below what are the option I tried.

Trim(column,' ','A')-- result '0.0'
String to decimal(trim(column))-- result '0.0'
Field(column'.','1') -- result ' 00100'
Field(column,'.','1'):'.':Field(column,'.','2')- result '0.0'
by deesh
Fri Mar 17, 2017 11:29 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: String to decimal, unable to get proper data
Replies: 13
Views: 3553

Yes converting the data ' 100.0' to '0.0' while doing string to decimal
by deesh
Fri Mar 17, 2017 7:55 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: String to decimal, unable to get proper data
Replies: 13
Views: 3553

Re: String to decimal, unable to get proper data

I have modify the statement, is above one is ok (no confused) --craig
by deesh
Fri Mar 17, 2017 6:59 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: String to decimal, unable to get proper data
Replies: 13
Views: 3553

String to decimal, unable to get proper data

Hi, We are doing data conversion from varchar to decimal, but instead of data ,we are getting value '000.0000'. source data like ' 100.0000'(including space). My experiments I tried with the below options. strepwhitespace(Lnk_out_Unload_File.DISTR_PERC) trim(Lnk_out_Unload_File.DISTR_PERC,' ','A') w...
by deesh
Fri Mar 17, 2017 6:51 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Remove header while getting data through file stage
Replies: 3
Views: 2400

Yes it's working fine with the previous message logic mentioned logic


If from a single file, then set value of "Source Program" to
Quote:
tail -n +4 <path>UKRIPR*.txt


thanks
by deesh
Thu Mar 16, 2017 10:53 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Remove header while getting data through file stage
Replies: 3
Views: 2400

If i implemented that logic it's throwing the warnings like.

External_Source_14,0: Field "LAYER_LIM_AMT" has import error and no default value; data: {5 7 1 4 2 8 . 6 1 0d}, at offset: 209
External_Source_14,0: Import warning at record 0.
by deesh
Thu Mar 16, 2017 9:16 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Remove header while getting data through file stage
Replies: 3
Views: 2400

Remove header while getting data through file stage

Hi, I want to be remove my file header(first 3 rows), please let me know how to remove header. My file name contains like UKRIPR*.txt, if i use with file pattern option i can't utilize the ' tail -n +4' command. above command works with only specific file option. let me know is there any other way.
by deesh
Wed Nov 30, 2016 2:12 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: File_connector reading inssue
Replies: 1
Views: 2376

File_connector reading inssue

Hi , While reading hadoop text file data from through File_connector stage getting below error. If I read same file from local environment, getting success. please help me to resolve the issue. ERROR:tproduct,0: An exception occurred: com.ascential.e2.common.CC_Exception: Failed to parse row 35,792 ...