Search found 124 matches

by mac4rfree85
Wed Dec 07, 2011 12:46 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Unable to view all records from sequential file
Replies: 20
Views: 9750

Ray, i made some progress. I copied the contents (only) from windows and created the file in Unix itself. I also changed Record delimiter as UNIX Newline and Field delimiter as none. Now i am able to process 988 records and rest are going as rejected. I have captured them and this is how it appears....
by mac4rfree85
Wed Dec 07, 2011 12:36 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Unable to view all records from sequential file
Replies: 20
Views: 9750

actually $ character came only when i did cat -vte <filename>. When i am opening the file with vi or cat o head, am unable to see it. Also, one more thing is the last column data is truncated... even if i give varchar(100) even though the column is having only 30 characters max, i am unable to see t...
by mac4rfree85
Wed Dec 07, 2011 12:10 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Unable to view all records from sequential file
Replies: 20
Views: 9750

That was the first thing i checked. i did not see any Ctrl-M characters..
by mac4rfree85
Tue Dec 06, 2011 11:50 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Unable to view all records from sequential file
Replies: 20
Views: 9750

Yes ray, i took the file from Windows and ftpped to Unix box, since my datastage is installed in Unix... Also just to answer your question, it is not processing first 253 rows, but random 253 rows from the file.
by mac4rfree85
Tue Dec 06, 2011 11:46 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Unable to view all records from sequential file
Replies: 20
Views: 9750

This is what i got dsadm@catom-gmapdvl38:/appl/data/Input/US> cat -vte TESTING.txt 2011-05-03DTS RETAIL US 0CADILLAC CARS LUXURY CAR$ 2011-05-03DTS FLEET US 59CADILLAC CARS LUXURY CAR$ 2011-05-03HHR RETAIL US 7CHEVROLET TRUCKS VAN/MPV$ 2011-05-03HHR FLEET US 246CHEVROLET TRUCKS VAN/MPV$ 2011-05-03ST...
by mac4rfree85
Tue Dec 06, 2011 5:06 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Unable to view all records from sequential file
Replies: 20
Views: 9750

Your metadata doesn't match your file's data, nothing more than that. What settings are you using in the stage? What is different between a row it will process and one it rejects? Can you post an example of each? Following two records got loaded. 2011-05-03Aveo RETAIL US 12CHEVROLET CARS ENTRY CAR ...
by mac4rfree85
Mon Dec 05, 2011 7:42 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Unable to view all records from sequential file
Replies: 20
Views: 9750

Yeah qt_ky. the Other rows are getting rejected saying delim=end is not available. But all the rows have same delimiter then how are those 253 rows are able to process.
by mac4rfree85
Mon Dec 05, 2011 3:18 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Unable to view all records from sequential file
Replies: 20
Views: 9750

Unable to view all records from sequential file

Hi guys,

I have a sequential file. The file has 2500 rows but when i processed the file using datastage using sequential file, the job is processing only 253 rows.

Even viewdata is showing only 253 rows. No error is occuring.

Can somebody help me to process the whole file.

Cheers!!!
by mac4rfree85
Fri Dec 02, 2011 3:52 am
Forum: General
Topic: Export Whole Datastage Project in Unix Script
Replies: 15
Views: 17859

Export Whole Datastage Project in Unix Script

Hi Guys,

I am using Datastage 8.5. I am writing a script which will run every sunday to export the whole datastage project.

Is there a option "-export" in dsjob command???

Or how to export the whole project from unix prompt.

Cheers!!!!
by mac4rfree85
Mon Nov 28, 2011 4:40 am
Forum: General
Topic: Need help with shell script which calls Datastage Job
Replies: 2
Views: 2603

Need help with shell script which calls Datastage Job

Hi Guys, I have shell script which is calling Datastage job and is running perfectly. The problem is the parameters needed are in a Oracle table which i need to fetch. I am able to fetch them if i write in a separate script,but when i include the same code in the script which is calling Datastage (s...
by mac4rfree85
Wed Nov 02, 2011 2:59 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Insert into Date column in Oracle
Replies: 2
Views: 3045

Hi, Yeah i too saw that. But i have hardcoded 'X' for all Varchar and Char columns and 0 for Decimal. Apart from this, there is only one Date column which i guess should be the issue. Now, even CurrentDate() column is giving the same "Invalid Number" issue. Can somebody help me out with th...
by mac4rfree85
Mon Oct 31, 2011 4:59 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Insert into Date column in Oracle
Replies: 2
Views: 3045

Insert into Date column in Oracle

Hi Guys, My source is a Flat file. The Input column sample value is 2011-07-16. I am reading it as Date. My Target is Oracle table. This column is a part of Primary Key. I directly mapped the column. But i am getting the following error. Oracle_Connector_43,0: The OCI function OCIStmtExecute returne...
by mac4rfree85
Tue Sep 06, 2011 11:58 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Help with XML Output Stage
Replies: 7
Views: 4022

@chulett,, yeah that did the trick... i made it as Aggregate into one column. Now i am able to create the file for testing as told. But i am not able to route it as Output. In output, i have used the same metadata definition as defined in Input. Also the file being created by XML Output stage is hav...
by mac4rfree85
Tue Sep 06, 2011 7:23 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Help with XML Output Stage
Replies: 7
Views: 4022

I have saved the metadata using the XML Metadata Importer and marked TransactionLineNumber as key.
The Metadata had 5 columns with the same XPATH which i used before.
So, i used it in Output stage. But it is still getting aborted.
by mac4rfree85
Tue Sep 06, 2011 6:59 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Help with XML Output Stage
Replies: 7
Views: 4022

Help with XML Output Stage

Hi Guys, This is my first attempt at creating an XML file, though i have worked in parsing an XML file earlier. My input file is as below TransactionID,TransactionLineNumber,StoreID,ScanType,PLUID 1030104,1,625,2,21155269 1030105,1,626,1,21155270 I want to convert it to XML stage as below. <Transact...