Search found 719 matches

by karthi_gana
Mon Jan 25, 2010 8:28 am
Forum: General
Topic: function to check zero byte file
Replies: 9
Views: 2644

I also want to eliminate the header count from the file. how?
by karthi_gana
Mon Jan 25, 2010 8:27 am
Forum: General
Topic: function to check zero byte file
Replies: 9
Views: 2644

No file size function and no line count function, but trivial to add to the program sample and even easier using the UNIX function "wc". FileSize(InputFilePath) Ans = '' ;** returned ...[/quote] I am not a premium member. can you post your code once again? I have seen the below forum http...
by karthi_gana
Mon Jan 25, 2010 7:55 am
Forum: General
Topic: function to check zero byte file
Replies: 9
Views: 2644

No, but you could write your own in DataStage: FileEmpty(InputFilePath) Ans = '' ;** returned if file size couldn'b be determined OPENSEQ FilePath TO WorkFilePtr THEN R ...[/quote] I am unable to see the complete code. can you post it once again?[/quote] is there any function available to get the f...
by karthi_gana
Mon Jan 25, 2010 7:18 am
Forum: General
Topic: function to check zero byte file
Replies: 9
Views: 2644

ArndW wrote:No, but you could write your own in DataStage:

FileEmpty(InputFilePath)

Code: Select all

   Ans = '' ;** returned if file size couldn'b be determined
   OPENSEQ FilePath TO WorkFilePtr
   THEN
      R ...[/quote]

I am unable to see the complete code. can you post it once again?
by karthi_gana
Mon Jan 25, 2010 5:36 am
Forum: General
Topic: function to check zero byte file
Replies: 9
Views: 2644

function to check zero byte file

All,

is there any pre defined function available to check whether a file is a zero-byte file or not?
by karthi_gana
Mon Jan 11, 2010 2:38 am
Forum: General
Topic: Processing Zero Byte File
Replies: 3
Views: 1235

ray.wurlod wrote:Nothing is different. The job will process zero rows. ...
I just want to insert a row into a table with 0
by karthi_gana
Mon Jan 11, 2010 1:05 am
Forum: General
Topic: Processing Zero Byte File
Replies: 3
Views: 1235

Processing Zero Byte File

All,

How to process Zero byte length file(s) in datastage 7.5 ?
by karthi_gana
Fri Dec 04, 2009 10:11 am
Forum: General
Topic: Batch error - Attempting to Cleanup after ABORT raised
Replies: 7
Views: 7200

I ran the batch for more than 5 time. I received the same error message. Didn't ask you to rerun the dang thing 5 times but rather Reset the aborted job and look for the log message I noted. :? I resolved KBA issue. After that i am facing the below error message. Batch::MJC_RSS_Exceptions..JobContr...
by karthi_gana
Thu Dec 03, 2009 10:39 am
Forum: General
Topic: Batch error - Attempting to Cleanup after ABORT raised
Replies: 7
Views: 7200

Sounds like KBA stuff but that's not nearly enough information for anyone to help. Reset the aborted job and post any 'From previous run...' message that gets logged. ... I ran the batch for more than 5 time. I received the same error message. I am not aware of KDA stuff... can you explain it ?
by karthi_gana
Thu Dec 03, 2009 10:37 am
Forum: General
Topic: Batch error - Attempting to Cleanup after ABORT raised
Replies: 7
Views: 7200

chulett wrote:Sounds like KBA stuff but that's not nearly enough information for anyone to help. Reset the aborted job and post any 'From previous run...' message that gets logged. ...
I ran the batch for more than 5 time. I received the same error message.
by karthi_gana
Thu Dec 03, 2009 10:01 am
Forum: General
Topic: Batch error - Attempting to Cleanup after ABORT raised
Replies: 7
Views: 7200

Batch error - Attempting to Cleanup after ABORT raised

Hi All, I have created a batch which in turn call a job. the job will copy data from DB2 to Sybase. It is a very simple job. when i execute the batch, it is going to 'Aborted' state immediately. I have checked the .ini file job hirearchy file. It is stored in the correct location. error : Attempting...
by karthi_gana
Tue Dec 01, 2009 1:29 am
Forum: General
Topic: DataStage Users@Oliver.com
Replies: 2
Views: 874

DataStage Users@Oliver.com

All,

is this email id working now?

is this a group ?

shall i send emails to this id?
by karthi_gana
Tue Dec 01, 2009 1:17 am
Forum: General
Topic: Datastage - Database
Replies: 7
Views: 1588

I am unable to find the pdf file. Can you give me the URL ?
by karthi_gana
Mon Nov 30, 2009 11:14 am
Forum: General
Topic: Datastage - Database
Replies: 7
Views: 1588

chulett wrote: 2. They don't really need to be 'kept' anywhere. I suspect you're referring to the 'DataStage Engine'.
Yes...i just want to know about 'DataStage Engine'.
by karthi_gana
Mon Nov 30, 2009 8:06 am
Forum: General
Topic: Datastage - Database
Replies: 7
Views: 1588

Sure sounds like a (poorly worded) interview question to me. To what 'intermediate results' do you refer? 1) where the Hash File content will be stored? 2) If we create a constraint to reject the rows (say form example if id is null), datastage need some place to kept all the rows to apply constrai...