> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> 
> Hi,
> 
> i have worked with AdabasD and here i have the possibility
> to set the trace-File-Name explicitly in the C-Source.
> 
>    strcpy ( &sqlca.sqltap->tatracefn , "myname.pct" ) ;

Hello Mark,
since some members of the sqlca are hidden for the user it is impossible to
manipulate the members direct. Place out of sight the members of some
structs was necessary for backward compatibility of old applications.

You can set the Environment variable SQLOPT=-F<filename> before calling any 
embedded SQL.
Or as a dirty trick you can reactivate the opaque datatypes. But it is not
guaranteed that we don't change the members of the struct in future. 

typedef struct
{
 sqlhostname_t tatracefn;
 sqlint4        tatracepprt;
 sqlint4        tatraceno;
 sqlint2        tatracety;
 sqlint2        tamaxsecoutp;
 sqlhostname_t     tamaxsecfn;
 sqlint4         tamaxsecno;
 sqlint4         tamaxsecpptr;
 tsp00_Date     tastartdate;
 tsp00_Date     taenddate;
 tsp00_Time     tastarttime;
 tsp00_Time     taendtime;
 sqlint2        tacnttrstm ;
 sqlint2        tatrout;
 sqlint2        tafiller;
 sqlint2        tastr80l;
 char         tastr80 [256];
} sqltatype;

You will find all native definitions in the module vpi00c.

Regards
Burkhard
_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general

Reply via email to