Search found 41 matches

by ratikmishra1
Tue Mar 06, 2007 10:13 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: oracle password has $ character in it
Replies: 3
Views: 1654

oracle password has $ character in it

Oracle enterprise stage is failing to connect to the database if the password has a $ character in it. I tried "$DS_ENABLE_RESERVED_CHAR_CONVERT = True" hoping that this column level setting would also work for the password. But that did not work. I am setting the user id, password for the...
by ratikmishra1
Tue Oct 03, 2006 1:14 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Converting EBCDIC Binary data type to ASCII
Replies: 6
Views: 1768

Typically comp is binary for integer. Try using "DataTypePicComp". In version 6.0 it used to work only for int types (max 4 bytes). May be the limitation is still there. If your input is 8 bytes long you might consider using "DataTypePicComp2".
by ratikmishra1
Mon Oct 02, 2006 2:39 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: BULK loading DATE data type error
Replies: 4
Views: 2226

Can you check if it works if the target is a dataset or a file set instead.
If yes, the problem may be in the data and that needs to be taken care of in the transformer.
by ratikmishra1
Mon Oct 02, 2006 10:08 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: year and month in oracle 9i dirct load
Replies: 7
Views: 1724

Oracle synonyms are at table level not at column level. So that option is not available.
by ratikmishra1
Mon Oct 02, 2006 9:10 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: year and month in oracle 9i dirct load
Replies: 7
Views: 1724

Custom SQL?
I am talking about direct load option in OracleEnterprise stage in 7.5 parallel. Are you talking about a different stage?
I 've chosen the Write method=Load and Write mode=Append. And with this setting I am unable to see any way to enter custom SQL. Am I missing something?

Thanks
Rati
by ratikmishra1
Mon Oct 02, 2006 9:10 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: year and month in oracle 9i dirct load
Replies: 7
Views: 1724

Custom SQL?
I am talking about direct load option in OracleEnterprise stage in 7.5 parallel. Are you talking about a different stage?
I 've chosen the Write method=Load and Write mode=Append. And with this setting I am unable to see any way to enter custom SQL. Am I missing something?

Thanks
Rati
by ratikmishra1
Mon Oct 02, 2006 8:37 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: year and month in oracle 9i dirct load
Replies: 7
Views: 1724

How do I do that in the oracle enterprise stage. Is there any option setting that allows me to put quotes in the column names?

Thanks
Rati
by ratikmishra1
Sun Oct 01, 2006 9:16 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: year and month in oracle 9i dirct load
Replies: 7
Views: 1724

year and month in oracle 9i dirct load

i am tying to load a table via dirct load. This table has year and month column. While running the job sqlloader abends with invalid keyword error message (as I have columns named as year and month). I can write a custome sqlloader control file to load the data by putting quotes around year adnd mon...
by ratikmishra1
Thu Apr 20, 2006 11:30 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: calling oracle SP which returns ref.cursor using STP
Replies: 14
Views: 9014

I use ODBC stage to read ref cursors returned from oracle stored procedures.

You should have only one output parameter for the ref cursor.
Define the columns that you expect to get from the cursor.

and you are good to go.
by ratikmishra1
Thu Apr 20, 2006 10:30 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: parsing full file for a string
Replies: 4
Views: 1075

if position and length of your file_name field in your lookup file is fixed, then you can build a has file.

then use the hash file in the transformer to do the existence check.
by ratikmishra1
Thu Apr 20, 2006 10:22 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Need Sql Query
Replies: 10
Views: 3202

Take a look at transform "RowProcCompareWithPreviousValue". You will need two stage vars. Input shhould be sorted on table name. Output should be a hash to hold the last record for the table as the transformer stage would be outputting records in the following manner tab1,col1 tab1,col1,co...
by ratikmishra1
Fri Apr 14, 2006 12:18 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Handling Line Terminator's
Replies: 13
Views: 3638

Dos this file has a header or trailer record that has the record count in the file? If yes, you may think of writing a shell script to check the total bytes of the file with the computed total bytes for size 100 and for size 101. And see which one matches. Then call the fix_100 or fix_101 job to do ...
by ratikmishra1
Mon Apr 10, 2006 12:42 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: how can datastage help to create table definition
Replies: 7
Views: 5029

Typically I do it using a server job. The OCI stage has the "generate ddl option" which prepares end excutes the DDL.

Show the simple job would be
CFF => TRansformer => OCI.

And to run the job I create empty file using touch filePathName.
by ratikmishra1
Mon Apr 10, 2006 8:59 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Generate Sequence in Oracle DB in PX jobs.
Replies: 6
Views: 5834

Hi Kash,

Did you finally manage to get it working? I've the same requirement and I've tried lots of combinations, but nothing seems to work!

Thanks
Rati
by ratikmishra1
Tue Jan 24, 2006 9:45 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DS_JOBOBJECTS query for OCI stages
Replies: 4
Views: 2340

Thanks Kim and Ray. I tried pritning upto @RECORD<9> But nothing showed up. The OLE type I am looking for is CCustomInput and CCustomOutput. I guess the OCI stages have those OLE type. (I may be wrong). How do I know whether a particular record element for ex @RECORD<7> is multi-dimensional (From yo...