Search found 32 matches

by vrishabhsagar
Thu Jun 04, 2009 6:26 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Issue with the unix After job subroutine
Replies: 5
Views: 2427

Re: Issue with the unix After job subroutine

Hi all, I am using the below unix script is it possible to call DS functions in the script. Please guide me on this. #! /usr/bin/ksh # Load into od_trans_map_output table for HALO Transaction Mapping #$INCLUDE DSINCLUDE JOBCONTROL.H echo $1 $2 $3 $4 $5 $6 isql -U$4 -P$5 -S$2 <<-EOI1 use $3 go trunc...
by vrishabhsagar
Thu Jun 04, 2009 12:46 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: copy stage has different input row number and output row num
Replies: 6
Views: 3940

Do you get any warnings in the director? Something related to records getting dropped?
by vrishabhsagar
Thu Jun 04, 2009 12:41 am
Forum: General
Topic: Detecting job restart within a Job Sequence
Replies: 12
Views: 7155

Unix approach.

Since your server runs on Unix, may I suggest a UNIX approach? Something like a shell script that queries the dsjob -log and dsjob -logdetail and parses the previous run's log to determine the status of the previous run could satisfy your requirements. I once did this (wrote a shell function to find...
by vrishabhsagar
Sun May 31, 2009 5:36 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: I can't run jobs on my home PC
Replies: 4
Views: 2730

And why so CAPS LOCK??

:o [/i]
by vrishabhsagar
Tue May 19, 2009 11:51 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: reading date from the file name
Replies: 4
Views: 2379

Re: reading date from the file name

ravi_etl wrote:Hi,

I have a file to process that file has a filename as filename_date.csv
I need to pass that date in the job is there anyway to do this.
If so please let me know.


Thanks
Do you need to parse out the date from the filename? You want to do that using a sequence? job? or script?
by vrishabhsagar
Sun May 03, 2009 3:34 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Connectivity with oracle10gr2
Replies: 12
Views: 5045

Re: Connectivity with oracle10gr2

DSRajesh wrote:Hi

I am unable to connect with oracle10gr2 version database using plug in oraoci9.

i am getting ora error tns doe not identify the service connected.

regards
rajesh
Are you using special characters in your password?

Have you tried to check the NLS between the DS server and the DataBase?
by vrishabhsagar
Sat May 02, 2009 10:39 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: delete dataset
Replies: 18
Views: 8286

$DSHOME usually be loaded into your environment. Are you using AIX? Try

Code: Select all

echo $DSHOME
by vrishabhsagar
Sat May 02, 2009 9:53 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: delete dataset
Replies: 18
Views: 8286

Hi, I want to delete it after performing a test on the reject link.I should use a stage do delete the dataset. If you want to delete it programatically use this command in a command stage in sequence / after job subroutine. $DSHOME/bin/orchadmin rm <datasetname> where $DSHOME is the home directory ...
by vrishabhsagar
Fri Dec 05, 2008 1:55 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Translation of '!' to '|'
Replies: 6
Views: 3438

I think we ended up manually changing the data on output in a buildop (a transform would work, too). I believe there is a system parameter (a APT_?? variable?) that can be used to set the DataStage code page, but while we have talked about it, we have not done this so I have no specifics. Brad. Hey...
by vrishabhsagar
Tue Nov 25, 2008 4:20 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Translation of '!' to '|'
Replies: 6
Views: 3438

I think we ended up manually changing the data on output in a buildop (a transform would work, too). I believe there is a system parameter (a APT_?? variable?) that can be used to set the DataStage code page, but while we have talked about it, we have not done this so I have no specifics. Brad. Hmm...
by vrishabhsagar
Mon Nov 24, 2008 9:54 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Translation of '!' to '|'
Replies: 6
Views: 3438

Found the reference, in fact I posted in back in April: EBCDIC ! and ] not translated properly The IBM site is posted there towards the bottom. It shows that code pages 037 and 500 map 4F to '|' and '!', respectively, and to 5A to '!' and ']', respectively. Hope this helps. Brad. Brad, Thanks a lot...
by vrishabhsagar
Mon Nov 24, 2008 11:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Translation of '!' to '|'
Replies: 6
Views: 3438

Translation of '!' to '|'

Hi, I have this simple job where I pull data from TeraData source and load into a complex flat file. Now the job works flawlessly except when a '!" character is encountered in the source columns, When incoming varchar source column contains '!' character; it seems that it automatically gets tra...
by vrishabhsagar
Mon Nov 03, 2008 11:24 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: User defined SQL in Oracle Stage
Replies: 9
Views: 4038

Another quick check : Please reconfirm if you are connecting to the same database while firing the query on TOAD and DS.

I burnt my fingers once ... :oops:
by vrishabhsagar
Mon Nov 03, 2008 11:21 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Clarification about rejects from a CFF
Replies: 5
Views: 2977

How about you tell us what you get on the reject link from the CFF stage? ... Okay let me paraphrase so that my dilemma becomes clearer. I have a source CFF (with EBCDIC Fixed length data) and I rout the reject link into a column restructure sage and convert the varbinay input into a varchar output...
by vrishabhsagar
Mon Nov 03, 2008 12:42 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Clarification about rejects from a CFF
Replies: 5
Views: 2977

Bounce

vrishabhsagar wrote:
ray.wurlod wrote:I would expect to see all these rows in the reject file. You have declared three fields (999., XXX. and XXX.) but the "good" data have more fields than three. ...
Oh.. Very sorry... The original structure was 999,XXX,XXX and XXX.
Anyone has any ideas? Kindly help me with this....