arunkw
13th March 2003, 16:32
Hi Guys
I am facing one problem in one of the session
I.e. I am getting BW message error cant continue
Now in this session a function tcmcs0095.read.parm("tdind000") is called and this function is some thing like this
function tcmcs0095.read.parm(domain tcmcs.str8 file)
{
long sql
domain tcmcs.st30 table.desc
sql = sql.parse("select " & file & ".* " &
"from " & file & " " &
"as set with 1 rows")
sql.exec(sql)
if sql.fetch(sql) = enorec then
abort.transaction()
tt.table.desc(file, table.desc)
| mess("tcmcss0104", 1, table.desc) |#10018804.o
process.mess(1,1,"","tcmcss0104",table.desc) |#10018804.n
#pragma used message tcmcss0104 |#10018804.n
| %s not found
job.process.error = true
sql.close(sql)
end()
endif
sql.close(sql)
tcmcs0095.read.additional.information(file) |#np01.n
}
But sadly while debugging I found out that variable sql is a very large number and sql.fetch(sql) holds true as enorec due to which BW error message occurs, this what I could evaluate
What should I do? Help me; these errors are some times misleading errors
Thanks
bye
I am facing one problem in one of the session
I.e. I am getting BW message error cant continue
Now in this session a function tcmcs0095.read.parm("tdind000") is called and this function is some thing like this
function tcmcs0095.read.parm(domain tcmcs.str8 file)
{
long sql
domain tcmcs.st30 table.desc
sql = sql.parse("select " & file & ".* " &
"from " & file & " " &
"as set with 1 rows")
sql.exec(sql)
if sql.fetch(sql) = enorec then
abort.transaction()
tt.table.desc(file, table.desc)
| mess("tcmcss0104", 1, table.desc) |#10018804.o
process.mess(1,1,"","tcmcss0104",table.desc) |#10018804.n
#pragma used message tcmcss0104 |#10018804.n
| %s not found
job.process.error = true
sql.close(sql)
end()
endif
sql.close(sql)
tcmcs0095.read.additional.information(file) |#np01.n
}
But sadly while debugging I found out that variable sql is a very large number and sql.fetch(sql) holds true as enorec due to which BW error message occurs, this what I could evaluate
What should I do? Help me; these errors are some times misleading errors
Thanks
bye