Inter component communication ( how to call java , ejb component in power builder ( NVO ) component.

Hi All,



How to write Error message in EASever Log File from a powerbuilder com ?

I have created PowerBuilder component and there I am writing some functions
and in case of getting any error I want to write error In log file.



If any one have any example then Please share it



Thanks



0 M 2/17/2006 11:51:39 AM
This is better posted in the one of the easerver groups. But -

//**********************
transactionserver ts
errorlogging el
long ll_ret

// get transaction server
ll_ret = GetContextService( "TransactionServer", ts )
//Get errorlogging
GetContextService( "ErrorLogging", el)
//write message to log
el.log("transactionserver context returned: "+ string(ll_ret))
//*********************

-- 
Regards,
Millard [TeamSybase]


"M"  wrote in message news:43f5a995@forums-2-dub...
>
>
> Hi All,
>
>
>
> How to write Error message in EASever Log File from a powerbuilder com ?
>
> I have created PowerBuilder component and there I am writing some
functions
> and in case of getting any error I want to write error In log file.
>
>
>
> If any one have any example then Please share it
>
>
>
> Thanks
>
>
>


0 Millard 2/17/2006 4:03:08 PM
Please do not crosspost. Post into one group and then wait at least 24 hours 
before reposting.

Thanks....

-- 

Larry Cermak [Team Sybase]
Branick Consulting, Inc.
www.branick-inc.com
EAServer & PowerBuilder Consulting & Training
EAServer and PowerBuilder Computer Based Training Courses


"M"  wrote in message news:43f5a995@forums-2-dub...
>
>
> Hi All,
>
>
>
> How to write Error message in EASever Log File from a powerbuilder com ?
>
> I have created PowerBuilder component and there I am writing some 
> functions
> and in case of getting any error I want to write error In log file.
>
>
>
> If any one have any example then Please share it
>
>
>
> Thanks
>
>
> 


0 Larry 2/17/2006 5:51:30 PM
Reply:

(Thread closed)