Hello Rajesh,
ok since you use SP121 the shrink database isn't an option.
In your case the best way would be to dump the datbase, drop it and load it.
Be sure that your SAP System is down and no access is done on the ASE, best would be also to shutdown the JS Agent:
use sybmgmtdb
go
sp_sjobcontrol @name=NULL, @option="stop_js"
go
Check with sp_who if sapsa is the only user connected (means no SAPSR3 or jstask processes).
Then dump B10 with the dump database command (using dump config see SAP Note 1588316 or a manual dump database see SAP ASE documentation for the syntax of dump database / load database).
drop database B10 and recreate it, you have to be the same structures like in your sp_helpdb output, except dataB10_4 this device will get the part from master also, make sure this device has enough space, if not use disk resize to expand it (see SAP Note
create database B10 on dataB10_1 = 10240, dataB10_2 = 10240, dataB10_3 = 10240, dataB10_4 = 4576, dataB10_6 = 10240, dataB10_7 = 10240, dataB10_8 = 10240 log on logB10_1 = 4096, logB10_2 = 4096, logB10_3 = 4096, logB10_4 = 4096
go
alter database B10 on dataB10_1 = 12000, dataB10_2 = 12000, dataB10_3 = 12000
go
Then just load the database B10 again.
start the JS again:
use sybmgmtdb
go
sp_sjobcontrol @name=NULL, @option="start_js"
go
Then use startsap and see if everything will recover correct.
Hope this will help you.
Regards
Stefan
PS: Could be that I have a typo in my commands, so verify them before you use it and make sure you have a valid database dump of B10 and maybe you should make yourself familar with this procedure on your test environment.