Search found 42189 matches

by chulett
Sat May 14, 2005 8:26 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: [Help] Fatal error
Replies: 22
Views: 6503

In our company, we will not include the job design to production system, that 's for security, someone can not change the job design in production and compile them. This choice severely hampers your ability to support the production jobs and leads to situations like you have found yourself in. Prom...
by chulett
Sat May 14, 2005 7:09 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: I want to FTP Flatfile (Urgent, pls tell me the solution)
Replies: 6
Views: 2041

Re: I want to FTP Flatfile (Urgent, pls tell me the solution

I have a flat file (csv) with 40 columns, i want to FTP the flatfile to other place. Here my question is can i ftp flatfile with 40 columns using Datastage FTP Stage. Yes, you can! Even one with 40 columns. but i m unable to ftp the file. Why not? I m not using any transfomer stage in between seque...
by chulett
Fri May 13, 2005 8:08 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Can't we use the parallelism feature when we load views
Replies: 5
Views: 1600

I was under the impression from the phrase "load views", that the OP was asking about targeting (i.e. writing to) views in PX jobs. :?
by chulett
Fri May 13, 2005 8:04 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Cannot view data from ODBC stage.
Replies: 5
Views: 2057

I think that the problem may, indeed, be a bug. OCONV could be being called by DSD.BCIOpenR (which opens the connection for reading). With the ODBC stage, if a data element is set to Date or Time, then an "implicit" conversion is performed - it's most likely that this uses Oconv (or Iconv, dependin...
by chulett
Fri May 13, 2005 9:57 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Clearing hash file with CLEAR.FILE command
Replies: 6
Views: 1705

Another option would be to establish a VOC record to the hash so that CLEAR.FILE would work for your pathed hash file. Search the forum for the syntax as it's been posted many times here. Yet another option would be to simply leverage your O/S - since pathed hashes are created by the mkdbfile comman...
by chulett
Fri May 13, 2005 6:31 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Cannot view data from ODBC stage.
Replies: 5
Views: 2057

What makes you think you can use OCONV in your SQL statements? Sure sounds from the error that that is what you are trying to do, and I would guess via custom sql. You'll have to wait until the data gets into your job and then, in a transformer, apply the OCONV (and any other DataStage specific) log...
by chulett
Thu May 12, 2005 8:35 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Getting the Looked up Data
Replies: 7
Views: 1637

Actually, not impossible at all. For whatever reason, I see people do stuff like this all the time - and most of the time they are convinced it is working. At least at first. I think it depends on the O/S - some allow it and some try to protect you from yourself. But 'allowing it' and it working any...
by chulett
Thu May 12, 2005 8:31 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: OCI Stage - Data not loaded in a sorted order
Replies: 2
Views: 881

It's not even an issue, just The Way It Works. :wink:
by chulett
Thu May 12, 2005 8:30 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Stage Filter in sequentil file stage command line arguments
Replies: 7
Views: 1733

It's sort -u not sort - u

(no space between the dash and the 'u')

:idea: Make sure it runs from the command line before you try it in a job.
by chulett
Thu May 12, 2005 8:27 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How can I trap the status from dsjob?
Replies: 6
Views: 1469

In other words, a shell script 'wrapper' that does all this before actually running the job for real. All kinds of checking can go on. As Ray noted, first thing is to use -jobinfo to check the current status of the job - including if it even exists. If the job needs to be reset, another call to dsjo...
by chulett
Thu May 12, 2005 8:12 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Sequencer-Routine Activity-Triggers
Replies: 4
Views: 2313

Or specifically trap your errors in the Routine and return something easily recognizable. I usually pass back negative numbers as long as normal returns can never be negative and them check for that in a custom trigger. Or as Ray noted, check the size of what you return.
by chulett
Thu May 12, 2005 1:07 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Update Action -Clear table and then insert rows
Replies: 6
Views: 1861

No, not INCORRECT. It doesn't show you the delete statement in the stage any more than it shows you the truncate command if you go with that Update Action. However, it does log it when the job runs so you should see it there. Are you sure the job is running "successfully"? Just because it didn't abo...
by chulett
Thu May 12, 2005 12:58 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Inserting a sql server date field in oracle
Replies: 1
Views: 626

FYI - Selecting 'sysdate from dual' does not get you the correct "oracle date format" to use in a DataStage job. What is your target stage - OCI? If yes, set your datatype in the stage to Timestamp and put what you've already got right in there, truncating off the milliseconds first. Assuming you ar...
by chulett
Thu May 12, 2005 12:54 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Stage Filter in sequentil file stage command line arguments
Replies: 7
Views: 1733

No, it's not. The exact way would depend on your flavor of UNIX and can be found by reading the 'man' pages for the sort command on your system. If you wanted to sort based on all fields (the entire record) you could just use sort -u and be fine. However, if you only want to sort on certain field(s)...
by chulett
Thu May 12, 2005 10:01 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: adding hours to timestamp
Replies: 1
Views: 690

Re: adding hours to timestamp

sanjay wrote:not server jobs.

Then it would be prudent to ask the question in the appropriate forum. :?