reyhannuray
3rd September 2009, 13:12
I have a problem with an api application.

I want to run tipcs7550m000 with api.

I have tried a many way but couldn't success .

Thanks in advance.




There ara data for tihis project .

stpapi.put.field("tipcs7550m000","tisfc001.cprj","280803")
stpapi.find("tipcs2501m000")

DSchneider
3rd September 2009, 13:29
Try to start protocol function of afs, to find reasons:
start beshell with additional command:
-- -set AFSLOG=1

Then there will be a new file named "afs.log" in users home or $BSE/tmp, when some afs-Functions are called.

mark_h
3rd September 2009, 15:08
Have you tried stpapi.change.view?

kbartelds
4th September 2009, 14:15
* as Daniel stated, always set afslog
* for this session, you need to put 2 fields: stpapi.put.field("tipcs7550m000","123456")
* when using find, always check if the api command is going ok, if not always use stpapi.recover, else you may end up with unpredictable results
* please post the afs.log file
* why not use a simple select statement on tisfc001 with index3?

Regards,
Klaas

reyhannuray
5th September 2009, 12:30
Thanks your reply and help.

Nuray

reyhannuray
5th September 2009, 12:44
Thanks for your reply.
Regards

Nuray