Search found 41 matches

by bobbysridhar
Wed Aug 08, 2012 11:07 am
Forum: General
Topic: getting execute command stage output
Replies: 13
Views: 22395

I need it the way you specified.
Can you more elaborate the convert function.
by bobbysridhar
Wed Aug 08, 2012 7:51 am
Forum: General
Topic: getting execute command stage output
Replies: 13
Views: 22395

Hi, Business give me a query to get the accountnumbers. the query will be dynamic. I am extracting the query into a file using a parllel job. That file contains the accountnumbers. I am using execute command stage to extract those accountnumbers from file. I need to pass these accountnumbers to a pa...
by bobbysridhar
Tue Aug 07, 2012 8:06 pm
Forum: General
Topic: getting execute command stage output
Replies: 13
Views: 22395

I want to retrieve them all at once.
Pls explain me how to change the argument to retrieve all account numbers.
by bobbysridhar
Tue Aug 07, 2012 1:26 pm
Forum: General
Topic: getting execute command stage output
Replies: 13
Views: 22395

getting execute command stage output

Hi, I have execute command activity stage from which I am getting accountnumbers. How to pass all the accounts in to a user variable using user variable activity. I tried using Field(Execute_Command_83.$CommandOutput,@FM,1) in the expression of user variable activity. But it is only giving first acc...
by bobbysridhar
Fri Aug 03, 2012 12:13 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: subquery from file in oci stage
Replies: 11
Views: 6023

but that 'in list' is dynamic and business want to provide the 'in list' query dynamically whatever they want.
thats why I want to give them a file in Unix to put their query in that file.
is there a way I can acheive this
by bobbysridhar
Fri Aug 03, 2012 10:19 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: subquery from file in oci stage
Replies: 11
Views: 6023

the error message is
The OCI function OCIStmtExecute returned status-1. Error code:936, Error message: ORA-00936; missing expression
by bobbysridhar
Fri Aug 03, 2012 10:12 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: subquery from file in oci stage
Replies: 11
Views: 6023

the sql query i posted, i am using it as user defined sql.
i am not reading sql from file
in user defined sql i am calling file which has accountnumber with paramerter/filename.txt.
we use parameters in user defined sql
and that is what i am doing
by bobbysridhar
Fri Aug 03, 2012 9:56 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: subquery from file in oci stage
Replies: 11
Views: 6023

I am not using parameter in file.
I am writing a query and in that there is subquery which is from file.

ther error message is
The OCI function OCIStmtExecute returned status-1. Error code:936, Error message: ORA-00936; missing expression
by bobbysridhar
Fri Aug 03, 2012 8:54 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: subquery from file in oci stage
Replies: 11
Views: 6023

subquery from file in oci stage

Hi, I want to run the following query in OCI stage. select a1.idx,a1.namex,a1.creationdatex,a1.specialhandlingx, a1.CONFIDENTIALX,b.codex from accountjdox a1, brokeragencyjdox b where a1.defaultbroker_fkx=b.idx and a1.idx in(#Dir#/Accountfile.txt) I opt for read sql query from file as NO. I have que...
by bobbysridhar
Tue Jul 24, 2012 8:19 am
Forum: General
Topic: sequence level log
Replies: 1
Views: 1305

sequence level log

Hi,
Anybody please help me in getting the sequence level job statistics.
I need to have the sequene start time,end time, elapsed time.
I know at the job level we can use after job subroutine. But I dont know how to get sequence level info.
by bobbysridhar
Tue Jul 17, 2012 12:05 pm
Forum: General
Topic: get row count
Replies: 20
Views: 16696

naming i will do it which is not a problem.
how can i get the desired results after naming convention.
by bobbysridhar
Tue Jul 17, 2012 10:12 am
Forum: General
Topic: get row count
Replies: 20
Views: 16696

Job start time=2012-07-16 10:47:28 Job end time=2012-07-16 10:47:34 Job elapsed time=00:00:06 Job status=2 (Finished with warnings) Stage: abc_OCI, rows input Stage start time=2012-07-16 10:47:31, end time=2012-07-16 10:47:33, elapsed=00:00:02 Link: DSLink267, 14 rows Stage: Transformer_269, 14 rows...
by bobbysridhar
Tue Jul 17, 2012 7:49 am
Forum: General
Topic: get row count
Replies: 20
Views: 16696

I need to populate audit table.
The columns I need to populate are
start time
end time
elapsed time
reject records
insert record
update records
elapsed time.
For this I am doing the above said.
by bobbysridhar
Tue Jul 17, 2012 7:16 am
Forum: General
Topic: get row count
Replies: 20
Views: 16696

can you tell me how to grep them, becuase I am not expert in UNIX and the files are generated with filename_currenttimestamp.
Please help me in grep those files for each sequence run.
I have morethan 10 jobs in the sequence
by bobbysridhar
Mon Jul 16, 2012 8:22 pm
Forum: General
Topic: get row count
Replies: 20
Views: 16696

I am using dsjobrepot after-job-subroutine and getting all job reports to specific directory in txt format. But creating jobname_timestamp. But not able to club individual job report files into one file,because every time they are getting created with different timestamps in unix.as I am not an expe...