I am trying to use a cobol switch (what is called an UPSI switch in IBM)
for the first time on HP and must be doing something incorrectly. I
have entered the following under special names:
SW0 IS SORT-SWITCH ON IS SORT-BY-SUBJECT
In the program logic, the following is coded:
IF SORT-BY-SUBJECT
(DO THE SORT BY SUBJECT)
ELSE
(DO THE SORT ANOTHER WAY).
In the run statement is the following:
RUN WRT001O.SMC.COLLEGE;PARM=%1000000
Can you see anything wrong here?