umadevi
2nd July 2009, 13:22
Hi All,

Can any one tell me is there any command to close the display browser that was opened by AFS.Expecting the soultion soon.Exactly what i want is ,have to close the display browser through AFS itself.

Regards,
Uma

mark_h
2nd July 2009, 15:05
I am not sure what you mean? Are you talking about the client browser? How are you running the AFS where it starts a browser? The kill() command can always be used on the process id.

umadevi
2nd July 2009, 15:53
Hi Mark ,i am running session tisfc0204m000(Release Prodution Order ) through AFS,for Changing status from planned to release.for that i writing some thing like


stpapi.continue.process("tisfc0204m000", error.msg)
stpapi.set.report("tisfc0204m000","rtisfc020401000","D",error.msg4)
if isspace(error.msg4) then
stpapi.continue.process("tisfc0204m000", error.msg)
endif.

Now what i want to do is ,i have to close the display browser opened by this report through AFS. Plz correct if i am wrong way,as of now i havent done AFS.Thanks in advance.

Regards,
Uma

mark_h
2nd July 2009, 16:03
That makes sense. Do you have to send it to the display? I mean what I do is if it generates a report the user does not need to read thru I just send it to a temp file using the device ASCIF.

joepte
9th March 2010, 18:59
If you don't actually read the displayed report you can send it to the "NULLPRINTER" device as in:

prin.spool.device = "NULLPRINTER " |the report wouldn't be printed stpapi.set.report("tdslsxxxxm000", prin.spool.report, prin.spool.device, error)