CALL "C$GETRUNENV" GIVING env |
env | PIC 9(n) | Receives the environment. Possible values, defined in iscobol.def, are: RUNENV-STANDALONE RUNENV-CHARVA RUNENV-REMOTE-CALL RUNENV-THIN-CLIENT RUNENV-WEB-CLIENT RUNENV-WD2 RUNENV-J2EE RUNENV-MOBILE RUNENV-THIN-CALL-CLIENT RUNENV-WEB-CALL-CLIENT |
working-storage section. copy "iscobol.def". 77 env pic 9. ... procedure division. ... call "c$getrunenv" giving env. if env = runenv-web-client display "Running in WebClient" end-if. |