pralash
27th June 2018, 14:56
Hello,
I have create the 3gl script in order to store a record in a table as follows...
|******************************************************************************
|* tccom345 0 VRC B61C a cust
|* tesing script
|* sakthi
|* 18-06-27 [17:01]
|******************************************************************************
|* Script Type: 0
|******************************************************************************
#include<bic_dam>
function main()
{
long s
dal.new.object("tccom9547")
dal.set.field("tccom9547.stid",32)
dal.set.field("tccom9547.dept","cs")
s=dal.save.object("tccom9547")
if(s=0)then
commit.transaction()
message("done")
else
message("fail")
abort.transaction()
endif
}
But how can I execute this script.... Can anybody tell me about this please....
Regards,
Pralash
I have create the 3gl script in order to store a record in a table as follows...
|******************************************************************************
|* tccom345 0 VRC B61C a cust
|* tesing script
|* sakthi
|* 18-06-27 [17:01]
|******************************************************************************
|* Script Type: 0
|******************************************************************************
#include<bic_dam>
function main()
{
long s
dal.new.object("tccom9547")
dal.set.field("tccom9547.stid",32)
dal.set.field("tccom9547.dept","cs")
s=dal.save.object("tccom9547")
if(s=0)then
commit.transaction()
message("done")
else
message("fail")
abort.transaction()
endif
}
But how can I execute this script.... Can anybody tell me about this please....
Regards,
Pralash