Skip to main content

This article explains how to set a runtime switch when executing a program that calls a web service.

Problem:

If we are using the following to set a runtime switch when executing a program that does not call a web service, then how do you set the switch if you are running a web service?

export COBSW=-F

cobrun -F cobol-pgm-name

Resolution:

To set the switch for a program that calls a web service, in the Server Properties there is a box called Configuration Information. Enter the following:

[ES-Environment]

COBSW=-F

Anything under the [ES-Environment] (case is important) will be set in the server's environment.

Old KB# 14039