Search found 33 matches

by vzmz
Tue Dec 16, 2003 6:37 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Executing a command line program in Job Sequencing
Replies: 9
Views: 3014

Fully qualify your path to the output file and see if that works. Yeah u r rite intially that was the problem when i fully qualify the path it worked fine for any shell command. But when i am trying to run a Bteq scripts or perl i have this below error home/apps/z628945/perltest.pl Reply=137 Output...
by vzmz
Tue Dec 16, 2003 5:27 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Executing a command line program in Job Sequencing
Replies: 9
Views: 3014

Re: Executing a command line program in Job Sequencing

Okay, this is the reverse on what I assumed occured here. In summary: You have a "BTEQ.sh" script. I know your actual name for that script may be different, but for now, lets assume it is called "BTEQ.sh". You ran this script via your command line, which uses a specific shell (l...
by vzmz
Tue Dec 16, 2003 2:42 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Executing a command line program in Job Sequencing
Replies: 9
Views: 3014

Re: Executing a command line program in Job Sequencing

I have a job sequence to run a perl program. On ok i have to trigger another job. Job sequence fails and i don't know y. when i run the same command on the command prompt its run fine but when i enter that on DS job sequence it fails. Thanks Would you please elaborate a bit more on 'failed'? If you...
by vzmz
Tue Dec 16, 2003 2:33 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Executing a command line program in Job Sequencing
Replies: 9
Views: 3014

Environment, environment, environment. Your jobs run under a different environment than when you try things from a command line. You must investigate the environment of the job sequence job to find out what's missing. Write a simple batch or sequence job to execute "env" and find out what...
by vzmz
Tue Dec 16, 2003 12:02 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Executing a command line program in Job Sequencing
Replies: 9
Views: 3014

Executing a command line program in Job Sequencing

I have a job sequence to run a perl program. On ok i have to trigger another job. Job sequence fails and i don't know y. when i run the same command on the command prompt its run fine but when i enter that on DS job sequence it fails.
Thanks
by vzmz
Tue Dec 09, 2003 12:35 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: File Stage
Replies: 7
Views: 2350

Re: File Stage

But that way i won't be able to make use of the reject link. I am doing something else in the transformations. If i add this into transofrmation its getting more complex This is the type of philosophy that you need to end. This is the ETL world, where things are far easier to implement and try. Why...
by vzmz
Sun Dec 07, 2003 1:52 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: File Stage
Replies: 7
Views: 2350

Re: File Stage

I wanted read only those records whose size is 12 and rest all to be rejected(I mean pushed to the reject link). My question is how shoud my schema be ? You are asking how to handle dynamic lengths for a flat file input (i.e. bad fields). 1. Use QualityStage. OR 1. Set everything to varchar of an u...
by vzmz
Sun Dec 07, 2003 12:36 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: File Stage
Replies: 7
Views: 2350

File Stage

Hi folks, I am been playing with file stage from couple of days. I have a fixed length file which may have extra length of chars. In the columns of the stage i have mention all the fields as char with their respective sizes since all of my records are of fixed width. And i have a reject link. Lets t...
by vzmz
Thu Dec 04, 2003 8:17 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Working with variable length record
Replies: 9
Views: 3006

Not reading any record of size 263

Folks the thing is when i have to a squential stage for the file with max len of 265 define for columns. For LEN(record string) =! 263 and len(record string) !=265 to work The stage has to out put both the record size to the transform stage, whereas it just gives you only those records that are 265 ...
by vzmz
Thu Dec 04, 2003 2:23 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Working with variable length record
Replies: 9
Views: 3006

Working with variable length record

I have a file of variable length records out of which i have to take out only 2 types of records of size 263 and 265, means all the record whose size are of either 263 or 265 should be filtered out.
How can i do it ?
Thanks
by vzmz
Thu Dec 04, 2003 1:06 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Removing Dup's
Replies: 6
Views: 1362

How to get the rejected rows

I have given both the fields(f1 & f2) as keys in remove dups stage and its working fine.
I have to store all the rejected records in a separate file. I tried putting a reject link but the remove dups stage take only one output.
How can i get the reject records ?
Thanks
MZ
by vzmz
Wed Dec 03, 2003 11:42 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Removing Dup's
Replies: 6
Views: 1362

Removing Dup's

Hi All I have a sequential file of fields f1 f2 f3 in trasformation i am checking for f1 and f2 for null and then i have to remove dups so i am placing a remove dupilcate stage where we have to sepecify the key on which we are checking dupilcates. I have to delete or remove records which are dup but...
by vzmz
Wed Dec 03, 2003 9:26 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Server Job or Parallel
Replies: 6
Views: 1995

Hi, Yes you can combine PX and Server and I think that is the best solution. 1.I have set of validation on a flat file (record size) If the file is not big, go with server and execute them in parallel. 2.Removing duplicates Use PX with the Stage remove duplicate 3. Finding the new records modified ...
by vzmz
Tue Dec 02, 2003 7:09 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DSExecute in a Sequencer is not executing any command
Replies: 11
Views: 2505

I do have a similar problem

I created a job sequencer in which i have 2 jobs that has to be executed .
But its run only the first job. In the log it say 2nd job executed but i don't see the result. Which indicate that the 2nd job wan't executed.
This is with 7.x on unix
by vzmz
Tue Dec 02, 2003 9:23 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Server Job or Parallel
Replies: 6
Views: 1995

Server Job or Parallel

Hi friends, I little confused between server and parallel job. Project 1.I have set of validation on a flat file (record size) 2.Removing duplicates 3. Finding the new records modified and old records in that flat file taking with a teradata tabe. If i select a server job i have easzy interaction an...