Search found 222 matches

by rsunny
Fri Feb 04, 2011 9:45 am
Forum: General
Topic: How to store Job start time,end time,job name in Oracle
Replies: 51
Views: 44572

Hi ,

I would like to know is there any possibility of using more than one after job subroutine in the same job?


thanks in advance
by rsunny
Fri Feb 04, 2011 9:43 am
Forum: General
Topic: How to store Job start time,end time,job name in Oracle
Replies: 51
Views: 44572

Hi craig , I tried using this routine which was in dsxchnage forums to write the log into file. the code is ErrorCode = 0 ;* set this to non-zero to stop the stage/job $INCLUDE DSINCLUDE JOBCONTROL.H DirName = InputArg Suffix = ".txt" JobName = DSGetJobInfo(DSJ.ME,DSJ.JOBNAME) JobStarted =...
by rsunny
Thu Feb 03, 2011 10:16 am
Forum: General
Topic: How to store Job start time,end time,job name in Oracle
Replies: 51
Views: 44572

Hi ,

The end date and time can be get with the function

Oconv(Date(), "D-YMD[4,2,2]") : " " : Oconv(Time(), "MTS")

Thanks
by rsunny
Tue Feb 01, 2011 10:45 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Download Data from http source
Replies: 9
Views: 6335

Hi Ernie, i tried with xml stages but for xml input stage we have two options either xml document or URL/FIle path. But if we check the option URL/FIle path where can we give the url path as the input doent have anything to specify the url path and so i couldnt able to work out wih that. And Do we n...
by rsunny
Tue Feb 01, 2011 9:31 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Download Data from http source
Replies: 9
Views: 6335

Hi craig,

Cant we use any of the Real time stages to get the data from http to file. If we are getting the data from http server, does this server should be having any specific format to load to file either with java pack or with any other.

Any help is really appreciated.

Thanks in advance
by rsunny
Tue Feb 01, 2011 7:03 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Download Data from http source
Replies: 9
Views: 6335

Hi , Can any one tell me how to get the data or is it not possible to get the data from http to file. Is thee any specific format that datastage is going to accept. I herd that we can get it through Java stages but other than that is there any other option available. Any help is really appreciated T...
by rsunny
Mon Jan 31, 2011 1:03 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Download Data from http source
Replies: 9
Views: 6335

Download Data from http source

Hi , I have a scenario where i need to download the data from http server(www.abc.com) into a flat file. Can anyone tell me what are the stages that i need to use in order to get the data into a file.As i tried using with xml stages and i couldn't able to succeed. Any help is really appreciated. Tha...
by rsunny
Fri Jan 28, 2011 9:20 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: row count
Replies: 21
Views: 7928

chulett wrote:Since you can't use USERSTATUS write it to a file, that or the job's log. File would be easier to retrieve.
Hi craig,

can you please explain me how do we do it with userstatus and how do we write job log into a file

Thanks in advance
by rsunny
Fri Jan 28, 2011 7:51 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: row count
Replies: 21
Views: 7928

There is no output as you haven't coded any in. What exactly do you want to do with this count? Perhaps USERSTATUS would work for you? ... Hi craig , I have a question like when we create a after job subroutine , can we get the output from that routine . I mean like i used after job subroutine to g...
by rsunny
Thu Jan 27, 2011 9:44 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: row count
Replies: 21
Views: 7928

Hi craig , I have to get three counts based on inserts , updates, rejects and if i go with aggregator , i should go with three aggregators right? so if that is the case i need three aggregators which i am not thinking to use and i used DSGETLINKINFO in the transformer stage directly without using an...
by rsunny
Thu Jan 27, 2011 9:10 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: row count
Replies: 21
Views: 7928

Hi craig , I have to find the row count and insert the row count in the table.And do i need to use the user status at afterjob subroutine. i mean like where do i use the user status and i created a routine and using the userstatus for another condition in the same job. So can i use the same routine ...
by rsunny
Thu Jan 27, 2011 7:19 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: row count
Replies: 21
Views: 7928

Hi ray, i tried to remodify the code ErrorCode = 0 ;* set this to non-zero to stop the stage/job $INCLUDE DSINCLUDE JOBCONTROL.H StageName = field(InputArg,",",1) LinkName = field(InputArg,",",2) JobHandle=DSJ.ME Insert_Count=DSGetLinkInfo(JobHandle,StageName,LinkName,DSJ.LINKROW...
by rsunny
Thu Jan 27, 2011 7:09 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: merge stage
Replies: 5
Views: 3582

Hi ,

I checked my file path and it is correct and how do i check whether the files have read permissions or not and as craig said the View Data is in disable mode.


Thanks in advance
by rsunny
Wed Jan 26, 2011 12:05 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: merge stage
Replies: 5
Views: 3582

merge stage

Hi , I am trying to do inner join using merge stage and i am giving the directory paths for two files and file names at Output tab. i am having two sequential files. wen i run the job it is giving the following error Program "DSP.Open": Line 122, Exception raised in GCI subroutine: Access ...
by rsunny
Wed Jan 26, 2011 7:16 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: row count
Replies: 21
Views: 7928

Hi Ray , Thanks for your help by giving a reply but i was trying to find the row count without using any routines and using the DSLINKGETINFO function in one of the stages in the job. i can able to get the row count but sometimes if i get the row count as 5 it displays as 4 and sometimes it is givin...