Search found 719 matches

by karthi_gana
Wed Jul 01, 2009 4:08 am
Forum: General
Topic: Adding current Date with the file
Replies: 23
Views: 8800

Adding current Date with the file

All, I have create a job which will extract the data from a table and store it in a text file. say for example, Table Name: Emp I want to add current date at the end of file. i.e if i run the job now, the file should be created as e_details20090701.txt suppose if i run the job tomorrow,then the file...
by karthi_gana
Mon Jun 29, 2009 5:33 am
Forum: General
Topic: Sybase BULK COPY
Replies: 4
Views: 3571

Re: Sybase BULK COPY

I changed it to SYBCTLIB. It is working fine now.

how to clear the table before running the job?

will it be done automatically?

or do we have to call any stored procedure internally?
by karthi_gana
Mon Jun 29, 2009 5:29 am
Forum: General
Topic: Sybase BULK COPY
Replies: 4
Views: 3571

Re: Sybase BULK COPY

After i changed the client library from MSDBLIB to SYBDBLIB

i got the below error message.

BCP..Sybase_BCP_Load_1: Bulk copy failed. Client does not have the capability to bulk copy into the data-only locked table 'acs..Perf'.
by karthi_gana
Mon Jun 29, 2009 5:24 am
Forum: General
Topic: Sybase BULK COPY
Replies: 4
Views: 3571

Sybase BULK COPY

All, I need to move PROD data into DEV & QA on every night. There are around 8 tables which i need to move. Each of them have around 600000 records. I used sybase OC to move data to DEV & QA. I used 'clear table then insert rows' option, it is nothing but, 'Truncate and then insert' which wi...
by karthi_gana
Tue Jun 16, 2009 4:27 am
Forum: General
Topic: Moving "HASH" file content to a temporary table
Replies: 9
Views: 2277

How to move hash file content to a temporary table?
by karthi_gana
Tue Jun 16, 2009 4:26 am
Forum: General
Topic: Moving "HASH" file content to a temporary table
Replies: 9
Views: 2277

ArndW wrote:Look at my query again, what about the "fund_dt < getdate()" part? ...
Nothing that much diffference. 53247608
by karthi_gana
Tue Jun 16, 2009 3:39 am
Forum: General
Topic: Moving "HASH" file content to a temporary table
Replies: 9
Views: 2277

ArndW wrote:That isn't too large a number, why not use that query, then do a hashed file lookup in a transform stage instead of copying the hashed file to a db table? ...
select count(*) from nv = 53287608
select count(*) from nv where fund_id in (select managerid from #temp) = 50000
by karthi_gana
Tue Jun 16, 2009 1:23 am
Forum: General
Topic: Moving "HASH" file content to a temporary table
Replies: 9
Views: 2277

ArndW wrote:Yes, you could load the hashed file into a temporary table. That would entail moving less rows from the database to DataStage. How many rows get returned with just "select count(*) from nv where fund_ ...
It is around 50000 records.
by karthi_gana
Tue Jun 16, 2009 1:06 am
Forum: General
Topic: Moving "HASH" file content to a temporary table
Replies: 9
Views: 2277

Re: Moving "HASH" file content to a temporary tabl

I tested this process manually like

where fund_id in (1,4,8,1001,5778,84449)

The query executed within 10 seconds. Thats why i want to implement the logic

where fund_id in (select managerid from #temp)
by karthi_gana
Tue Jun 16, 2009 1:03 am
Forum: General
Topic: Sequencer Job
Replies: 3
Views: 1324

Sequencer Job

All,

How to understand a sequencer job? I have seen so many Sequencer jobs in my project.
by karthi_gana
Tue Jun 16, 2009 12:55 am
Forum: General
Topic: Moving "HASH" file content to a temporary table
Replies: 9
Views: 2277

Moving "HASH" file content to a temporary table

All, I have created two jobs. Job:1 It will extract some set of data from a table and store it in a HASH file. ServerA.(managerid->column name) -->Transformer --> Hashfile ( 1700 rows) Job:2 It will fetch the fund_id from a table which has 5M records for the given date(say for example 15/jun/2009), ...
by karthi_gana
Mon Jun 01, 2009 6:29 am
Forum: General
Topic: Job Failed Due to unknown error (for me)
Replies: 8
Views: 4814

ray.wurlod wrote:Look in the DSINCLUDE/JOBCONTROL.H file in any project, search for the token DSJE. BADSTATE (which equates to error code -2). This indicates that the job is (was) not in a runnable state - perhaps no ...
From where i have to find it?

can you tell me the exact location?
by karthi_gana
Mon Jun 01, 2009 5:56 am
Forum: General
Topic: Job Failed Due to unknown error (for me)
Replies: 8
Views: 4814

ray.wurlod wrote:Who or what sent the email? Track that down. ...
Actually we schedule the jobs,i received it from that email id. I already posted the content of the email. Just i got the above error message only.
by karthi_gana
Mon Jun 01, 2009 2:11 am
Forum: General
Topic: Job Failed Due to unknown error (for me)
Replies: 8
Views: 4814

Job Failed Due to unknown error (for me)

All, 5377\2009-05-29 21:02:20\2\\295\P_S06_TO_PS_MA_SL..JobControl (@S07_MA_SL): Controller problem: Error calling DSRunJob(P_S07_MA_SL_HG_DATA), code=-2 (...) 5380\2009-05-29 21:02:20\2\\295\Attempting to Cleanup after ABORT raised in stage P_S06_TO_PS_MA_SL..JobControl 5379\2009-05-29 21:02:20\3\\...
by karthi_gana
Fri May 29, 2009 8:06 am
Forum: General
Topic: 111 warning ???
Replies: 5
Views: 4162

Could you post the resolution, please? That and marking your post as Resolved would be helpful as well. ... Sure... The table has some datetime columns. I used 'Date' datatype for those columns in Sequential File Stage & SybaseOC stage. The text file looks like 20090529 Since it was varchar,i g...