Set GWEBSERV variable to 1 for example
GWEBSERV = 1 #set session batch
Call message(“I am in in Webservices mode”) from GESECRAN
#.....
GWEBSERV =0
end