Search found 22 matches
- Tue Jun 03, 2008 5:33 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: logging command stage output to DataStage Director
- Replies: 1
- Views: 1626
logging command stage output to DataStage Director
Hi- We are using rsync command to transfer files to remote server using Command stage in a sequencer and writing the command logs to a file. I would like to capture command log to director so that our log retention script can capture log from director and put it in database. Is there any way to writ...
- Thu Apr 24, 2008 3:51 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Leading and Trailing ‘0’ problem in Sequential File Stage
- Replies: 6
- Views: 2529
- Thu Apr 24, 2008 3:11 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Leading and Trailing ‘0’ problem in Sequential File Stage
- Replies: 6
- Views: 2529
- Thu Apr 24, 2008 12:08 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Leading and Trailing ‘0’ problem in Sequential File Stage
- Replies: 6
- Views: 2529
I'm not at a DS window to test but would think that if you declare the output sequential file as varchar and do a DecimalToString conversion that these leading and trailing zeroes would disappear. Have you tried this? Thanks for the reply. I have this issue for both Varchar and decimal fields. I tr...
- Thu Oct 12, 2006 9:40 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: calling DSfunction or Macro in Before SQL
- Replies: 4
- Views: 1699
Calling DSmacro beween ## is working in Before SQL
This worksI don't think it's possible to use DS functions in before-SQL. A reference to a DS macro (surrounded by "#" characters) may be possible, but I'd be dubious about that too.
call dbms_application_info.set_module('DS', '#DSJobName#');
Thanks for you support Ray
- Wed Oct 11, 2006 3:18 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: calling DSfunction or Macro in Before SQL
- Replies: 4
- Views: 1699
calling DSfunction or Macro in Before SQL
hi guys- i have to pass a job name to a oracle proceure in before sql (call dbms_application_info.set_module('Parameter1', 'parameter2'); parameter1: i will pass some hard coaded value parameter2: i have to pass job name my least option parameter2 is hard coading job name. i have to call this proced...
- Tue Jul 18, 2006 9:54 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: KeyMgtGetNextValueConcurrent
- Replies: 1
- Views: 903
KeyMgtGetNextValueConcurrent
Hi All we are migrating DS Server from windows to Unix. surrogate keys are generating in current system using KeyMgtGetNextValueConcurrent routine. i think these keys will be stored in a file called SDKSequences . correct me if i am wrong. how to migrate the values stored in SDKSequences . if you ha...
- Tue Jun 13, 2006 3:47 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Probem in populating a flat file
- Replies: 7
- Views: 1888
- Tue Jun 13, 2006 1:30 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Probem in populating a flat file
- Replies: 7
- Views: 1888
So what you are trying to say is that First record has 4 columns Second column has null values (how many columns?) Third record has only one column? Is this your target file. How did you populate this file. Or this file is your source file? But i thought your source is SQL Server. If there is metad...
- Tue Jun 13, 2006 1:14 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Probem in populating a flat file
- Replies: 7
- Views: 1888
- Tue Jun 13, 2006 12:00 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Probem in populating a flat file
- Replies: 7
- Views: 1888
Probem in populating a flat file
Hi Guys i have a situatio where i am populating 4 columns from sql server to a flat file. one column is a varchar of length 2000. The date in the column like "Dear Sir/Madam, Kindly help me to change the store number from S63 to S063.. Thanks Azila". This column is dividing into 3 records ...
- Tue May 30, 2006 10:06 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Hash File cleanup
- Replies: 7
- Views: 2150
Hash File Cleanup
Jules Renard-DSguru2B wrote:Yes. I totally forgot about that. My solution will work for files that are created in an account. For pathed a different approach is required.
we are using account for hash file creation. your solution is working.
thank you for helping me.
Best regards
Chandra
- Tue May 30, 2006 9:17 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Hash File cleanup
- Replies: 7
- Views: 2150
Hash File cleanup
Hi Guys
i have a situation where i am creating hash files like FileName_Date
i need to delete these hash files once entire batch has run.
we are using DataStage Server Edition 7.5.1 in windows environment.
anysuggetion to sort this issue?
thank you
chandra
i have a situation where i am creating hash files like FileName_Date
i need to delete these hash files once entire batch has run.
we are using DataStage Server Edition 7.5.1 in windows environment.
anysuggetion to sort this issue?
thank you
chandra
- Thu Apr 13, 2006 4:20 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: User Defined sql in ORAOCI
- Replies: 9
- Views: 3594
Re: Remove the "--"
Ok... a new hunch... - Analytic functions are not supported in Oracle8i (actually from 8.1.6 onwards). They are supported from Oracle9i. - So could it be you're using the OCI8 stage instead of the 9 version? It works for your SQL Editor as you have the same version of client and server, while it do...
- Thu Apr 13, 2006 4:07 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: User Defined sql in ORAOCI
- Replies: 9
- Views: 3594
Re: Remove the "--"
thank you, but it is not the problem. i tried quey by removing "--" also but it gave me same error message Can you post your new query? Ogmios here is my new query select s.store_num, s.rgstr_num, TO_CHAR(dc.cal_dt,'YYYY-MM-DD HH24:MI:SS'), s.rgstr_type_cd from ( select STORE_NUM, RGSTR_N...