Search found 21 matches
- Tue Apr 03, 2012 5:57 pm
- Forum: General
- Topic: Period or dot in Invocation ID
- Replies: 3
- Views: 2025
Period or dot in Invocation ID
Hi, I have a multi-instance parallel sequencer invoking a multi-instance server job. The seqencer is receving a value in 'pJobName' job parameter as ABC.123 (some jobname.Runid) We are passing this pJobName value to server job as the invocation id. But the job gets triggered with name as 'ServerJobN...
- Mon Jan 23, 2012 4:28 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Teradata table - Reading and Writing in same job
- Replies: 2
- Views: 1891
Teradata table - Reading and Writing in same job
Hi, I have a parallel job on 8.5 using Teradata connector stages where I have to read the batch table, and then update the same batch table. The flow is like TD (Read batch table)------>Transformer --------> TD (update same Batch table) Will there be any risk with such design? like table getting loc...
- Mon Nov 15, 2010 8:30 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: StringToDate for dd/mmm/yy resulting in 1900 instead of 2000
- Replies: 1
- Views: 2294
Re: StringToDate for dd/mmm/yy resulting in 1900 instead of
use format as "%dd/%mmm/%2000yy"
- Mon Nov 15, 2010 8:18 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: StringToDate for dd/mmm/yy resulting in 1900 instead of 2000
- Replies: 1
- Views: 2294
StringToDate for dd/mmm/yy resulting in 1900 instead of 2000
Hi,
I have data in input as 20/Sep/03. When i try to convert this to date using String to Date function with %dd/%mmm/%yy format it is converting the date as 1903-09-20
But I need 2003-09-20.
What additional things do I need to do to convert the dates to 21st century dates instead of 20th?
Thanks
I have data in input as 20/Sep/03. When i try to convert this to date using String to Date function with %dd/%mmm/%yy format it is converting the date as 1903-09-20
But I need 2003-09-20.
What additional things do I need to do to convert the dates to 21st century dates instead of 20th?
Thanks
- Tue Nov 03, 2009 7:49 pm
- Forum: General
- Topic: Error in Teradata Enterprise stage
- Replies: 0
- Views: 2831
Error in Teradata Enterprise stage
Hi, I am working on DS 7.5.1 version. We have a parallel job to truncate data from a teradata table, for this we are using "Teradata Enterprise" stage. The job runs fine in Dev box (reads from a file and truncates the table). When we moved the code to test box it is failing with following ...
- Thu Oct 22, 2009 6:50 pm
- Forum: General
- Topic: Mload NOT aborting even on RDBMS Failure
- Replies: 0
- Views: 1730
Mload NOT aborting even on RDBMS Failure
Hi I am writing a custom query in my MLoad stage to load table 1. The 'After' script of Mload stage has another INSERT statement to load some data into table 2. I cant chage this flow. The After script job sometimes gives me following error BUT THE JOB "DOESNT" ABORT. **** 14:41:55 UTY1008...
- Mon Oct 12, 2009 4:36 pm
- Forum: General
- Topic: Loading a Varbyte field in teradata
- Replies: 5
- Views: 5389
I am using custom script in MLoad stage to load the table and also I have to define the fileds in MLoad as Varbinary. But the moment I define the fields in MLoad stage as varbinary, it changes the datatype in the previous stage also, and that is remove duplicate stage. And the job fails as its not a...
- Mon Oct 12, 2009 3:55 pm
- Forum: General
- Topic: Loading a Varbyte field in teradata
- Replies: 5
- Views: 5389
Loading a Varbyte field in teradata
Hi, I am using DS 7.5.1a version. I have a teradata table defined with all fields as VARBYTE(32) as the info to be contained needs to be encrypted. How can I convert varchar and date datatypes from my XML file to Varbyte(32). I dont see conversion function for this in datastage. Please help. Thanks
- Mon Sep 21, 2009 3:39 pm
- Forum: General
- Topic: Sorted output Sequential File
- Replies: 1
- Views: 1663
Sorted output Sequential File
Hi, I have a parallel job which generates output in an Sequential File with fileds say A, B, C and D The volume in the file can go upto 1 million. I need the data to be sorted on C and D when the file is created by the job. Will selecting the SORT MERGE option in the Partitioning tab of File stage, ...
- Wed Jul 29, 2009 12:36 am
- Forum: General
- Topic: Sending Email through after job subroutine on Windows pf
- Replies: 3
- Views: 2534
Sending Email through after job subroutine on Windows pf
Hi, I have to write an after job subroutine to send emails with attachments. DSSendMail can take care of this but my code is on Windows platform. Hence could someone please tell what are the prerequisites required to send emails from datastage when on windows platform (like configuring any SMTP serv...
- Wed Jul 30, 2008 12:38 pm
- Forum: General
- Topic: Problem compiling job with routine activity
- Replies: 1
- Views: 1473
Problem compiling job with routine activity
Hi, We have a Sequencer with a Rotine Activity stage to call a routine. The compilation of sequencer is failing (although the routine has compiled successfully) The compile report says Error compiling Job Control Subroutine ABCD123 Compiling: Source = 'RT_BP356/JOB.1085833124.DT.1480941133', Object ...
- Thu May 29, 2008 2:41 pm
- Forum: General
- Topic: Collecting Stats in M-Load stage
- Replies: 1
- Views: 1624
Collecting Stats in M-Load stage
Hi, We are trying to collect statistics in the M-Load stage by calling the procedure (which takes the DB Name and the Table name as parameters) CALL QLFR.COLLECT_STATS('DBName','TableName'); But the job is getting aborted saying **** 15:23:13 UTY1014 Unsupported RDBMS/SQL statement: "CALL"...
- Mon May 05, 2008 8:50 pm
- Forum: General
- Topic: Forcing XML parsing to abort
- Replies: 1
- Views: 1362
Forcing XML parsing to abort
Hi, I am parsing an XML file using the XML Input stage and reading the file through an external source stage. The XML gets parsed according to the xpaths I have given. But I want the Job to abort in case there is any error in the XML format e.g. the closing tags are missing for a tag which we are tr...
- Tue Apr 01, 2008 3:43 pm
- Forum: General
- Topic: Parsing multiple XML files
- Replies: 3
- Views: 3057
- Mon Mar 31, 2008 1:37 pm
- Forum: General
- Topic: Parsing multiple XML files
- Replies: 3
- Views: 3057
Parsing multiple XML files
Hi, I have to parse multiple XML files named as replyfile*.xml (using wildcard as the files have a datetime stamp in the name). I tried 2 designs 1. External Source Stage -----> XML Input stage ------> SEQL file and gave following command in external source stage: ls /directory/replyfile*.xml Althou...