How to simulate Webservice environment when running code in editor

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