Search found 58 matches
- Tue Feb 10, 2015 6:05 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Before SQL statement in DB2 Connector not working
- Replies: 4
- Views: 1907
Before SQL statement in DB2 Connector not working
Hi, Need to extract data from a view. Want to create this view using the Before SQL option of DB2Connector stage by reading the create the statement from a file. The job fails saying The object name(here the view) is undefined. My understanding with BeforeSQL statement is, the statements defined in ...
- Thu Oct 02, 2014 4:19 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Passing parameters to the query read from a file
- Replies: 2
- Views: 2187
- Thu Oct 02, 2014 10:49 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Passing parameters to the query read from a file
- Replies: 2
- Views: 2187
Passing parameters to the query read from a file
Hi, Below is my requirement. Execute a query by reading the query from a file in DB2 connector stage and writing to a sequential file. But the catch is I have a where clause in the select query and pass parameters at run time to this where clause. For example : where search_column like #PARAM# Could...
- Thu May 22, 2014 4:46 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Field value to the length of the column
- Replies: 13
- Views: 6334
- Thu May 22, 2014 2:28 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Field value to the length of the column
- Replies: 13
- Views: 6334
- Thu May 22, 2014 2:00 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Field value to the length of the column
- Replies: 13
- Views: 6334
Craig, Overlooked the link. Thanks for sharing the part. For performance noted option B better Still intersted to know if there is another option to avoid hard coding or is only the option considering below scenario Just in case the target field is a 200 character length and has 50 input characters,...
- Thu May 22, 2014 1:42 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Field value to the length of the column
- Replies: 13
- Views: 6334
Hi Craig, Decimal datatypes auto pad with zeros while integers do not. Yes, if defined as Decimal/Numeric, it does have the decimal point which is not preferred along with a space for the sign And in case of strings, padding by default is to the right as defined by the $APT_STRING_PADCHAR I am not a...
- Thu May 22, 2014 10:38 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Field value to the length of the column
- Replies: 13
- Views: 6334
Field value to the length of the column
Hi, I have a query while creating a fixed width file 1. If there is an integer field(or even a char type) of length 6 how do I get 0s(or another padding character) appended to the beginning Ex: Input : 1234 Expected Output : 001234(Length of the target column is 6 ) I have tried the options a) Str(0...
- Wed Apr 16, 2014 3:18 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Bulk load using DB2 UDB stage
- Replies: 10
- Views: 9680
- Fri Apr 11, 2014 3:53 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Bulk load using DB2 UDB stage
- Replies: 10
- Views: 9680
- Fri Apr 11, 2014 2:54 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Bulk load using DB2 UDB stage
- Replies: 10
- Views: 9680
Hi Michael, I have mentioned the dump file as /log/blk_dump. This path is on the datastage unix server The job failed with below errors DB2_Connector_6,0: Error 9 occurred while closing the named pipe. DB2_Connector_6,0: The DB2 Load API call failed with SQLCODE -2,036. Load messages are stored in m...
- Thu Apr 10, 2014 2:42 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Bulk load using DB2 UDB stage
- Replies: 10
- Views: 9680
- Thu Apr 10, 2014 1:12 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Bulk load using DB2 UDB stage
- Replies: 10
- Views: 9680
- Thu Apr 10, 2014 12:05 pm
- Forum: General
- Topic: Datastage director read only access
- Replies: 4
- Views: 2506
- Thu Apr 10, 2014 11:52 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Bulk load using DB2 UDB stage
- Replies: 10
- Views: 9680
Bulk load using DB2 UDB stage
Hi, Stuck with bulk load features in DB2 Connector stage. After multiple errors left with queries. Below I am trying to explain my problem with maximum details. Your expert help needed resolve the problem Using bulk load facility to load massive data for faster load and to avoid creating of archive ...