Hi chulett, thanks for the suggestion.
you mean \[ ] need to include to handle space?
can you please put the complete command
Thanks,
ureddy
Search found 36 matches
- Wed Jun 18, 2014 7:35 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: External Filter stage command
- Replies: 6
- Views: 3492
- Wed Jun 18, 2014 6:35 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: External Filter stage command
- Replies: 6
- Views: 3492
External Filter stage command
Hi, I tried to replace a string with spaces in external filter stage with sed command. Its not giving the expected result. Looks im missing some thing in the sed command? Source: THE STATE CA THE STATE NY Output: CA NY So need to replace the THE STATE with the 9 spaces. Tried sed -e 's/THE STATE/ /g...
- Mon Sep 02, 2013 8:29 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: data conversion error was encountered in Oracle bulk load
- Replies: 8
- Views: 9907
Re: data conversion error was encountered in Oracle bulk loa
By mistake , I have marked , let me know , if there is a solution for this problem.
- Sun Sep 01, 2013 10:24 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: data conversion error was encountered in Oracle bulk load
- Replies: 8
- Views: 9907
Re: data conversion error was encountered in Oracle bulk loa
I have included this environmental variable , let me know , if there is any ideal solution for this problem.
Its basically the low values/junk /special characters which are causing the problem , is there any of handling those, so that I can load using bulk load option into Oracle
Its basically the low values/junk /special characters which are causing the problem , is there any of handling those, so that I can load using bulk load option into Oracle
- Sun Sep 01, 2013 6:34 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: data conversion error was encountered in Oracle bulk load
- Replies: 8
- Views: 9907
Re: data conversion error was encountered in Oracle bulk loa
one more point to add to give clarity, using the Char() function, i am able to load into oracle , but there is no data for that particular column in Table. If IsNull(colname) Or colname = Space(80) Then Space(80) Else Char(colname) Please , let me know the right approach to deal with this conversion...
- Sun Sep 01, 2013 6:25 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: data conversion error was encountered in Oracle bulk load
- Replies: 8
- Views: 9907
Re: data conversion error was encountered in Oracle bulk loa
In Source mainframe the column is Char & the same in the target Oracle. In fact I have tried to resolve by using the CHAR () , but could not succeed . Actually , the baseline is there are some junk characters/special characters in data , which is causing the issue. I have changed few NLS setting...
- Sun Sep 01, 2013 5:09 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: data conversion error was encountered in Oracle bulk load
- Replies: 8
- Views: 9907
data conversion error was encountered in Oracle bulk load
I am encountering the below error in the load job(Dataset->Transformer->Oracle). Prior there is a extract job (CFF->Transfomer->Dataset). Actually error is occured , due to data issue , as its pulled from Mainframes , seems like there are low values (special charactes). Db_ODS_Acct_summary,8: A data...
- Thu Jan 20, 2011 1:50 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: SetNull() Function in stage variable
- Replies: 3
- Views: 5159
Re: SetNull() Function in stage variable
If I understand your requirement correctly "if the source column is null then 1 else source column". Try the below expression
If IsNull(LNK_SRC.PARTY_NO) Then 1 Esle LNK_SRC.PARTY_NO
Regards,
Ureddy
If IsNull(LNK_SRC.PARTY_NO) Then 1 Esle LNK_SRC.PARTY_NO
Regards,
Ureddy
- Fri Dec 10, 2010 12:03 am
- Forum: General
- Topic: Sequence jobs are getting aborted
- Replies: 3
- Views: 2252
- Thu Dec 09, 2010 12:42 am
- Forum: General
- Topic: Sequence jobs are getting aborted
- Replies: 3
- Views: 2252
Sequence jobs are getting aborted
Hi All, While running the sequence jobs Iam getting the below error for all the sequence jobs and then the sequence job is getting aborted. "Attempting to Cleanup after ABORT raised in job test_uma.. JobControl" The error ia coming for all the sequence in the 'ABC' project on 'XYZ' server....
- Wed Oct 27, 2010 5:40 am
- Forum: General
- Topic: Job dependency report
- Replies: 6
- Views: 4675
Its working after writing the query on one line. Thanks ArndW I cannot list all the dependent jobs from the master sequence,few jobs are not listing. Master_seq | JobA | JobB / \ JobC JobD | JobE Note: JobB to JobC and JobD Except JobD I am getting all the jobs in dependency list. I checked the JobD...
- Tue Oct 26, 2010 2:26 am
- Forum: General
- Topic: Job dependency report
- Replies: 6
- Views: 4675
Job dependency report
Hi All, I am trying to extract the job dependency list from sequence job by using the below query in universe stage, but i am getting the below error. Query: SELECT DS_JOBS.NAME, EVAL DS_JOBOBJECTS.'@RECORD<31>' FMT '32L' COL.HDG 'DEPENDENT_JOBS' FROM DS_JOBS, DS_JOBOBJECTS WHERE DS_JOBS.NAME = '<<S...
- Mon Apr 19, 2010 6:58 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Fetch substring and compare in execute command trigger
- Replies: 6
- Views: 4626
- Mon Apr 19, 2010 5:59 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Fetch substring and compare in execute command trigger
- Replies: 6
- Views: 4626
- Mon Apr 19, 2010 4:19 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Fetch substring and compare in execute command trigger
- Replies: 6
- Views: 4626
Fetch substring and compare in execute command trigger
Hi All, In execute command im checking the file count using UNIX command wc -l filename. The output from the command is below 20 filename Based on the file count i need to run the next jobs(Ex:If file count is 0 then run JOB1 else JOB2.) I need to fetch only filecount from the above unix command and...