Highlighted
Absent Member.
Absent Member.
471 views

[archive] SPECIAL NAMES Switch

[Migrated content. Thread originally posted on 24 November 2008]

Can someone tell me what I'm missing.

Source for prog1:
ENVIRONMENT DIVISION.
CONFIGURATION SECTION.
SPECIAL-NAMES.
SWITCH 1 IS SW1 ON STATUS IS SWITCH-1-IS-ON.
INPUT-OUTPUT SECTION.

Bat file:
SET CBLCONFI=c:\acucobol\etc\cblconfi
wrun32 -c %cblconfi% prog1.ACU -1

I'm trying to set switch 1 to "on" at run time but when the program runs,
SWITCH-1-IS-ON is false.
0 Likes
2 Replies
Highlighted
Absent Member.
Absent Member.

RE: [archive] SPECIAL NAMES Switch

see attached sample
0 Likes
Highlighted
Absent Member.
Absent Member.

RE: [archive] SPECIAL NAMES Switch

Thank you, that works
I appreciate your time
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.