HP3000-L Archives

August 1998, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Will Townsley <[log in to unmask]>
Reply To:
Will Townsley <[log in to unmask]>
Date:
Fri, 24 Jul 1998 10:26:35 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (19 lines)
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?

ATOM RSS1 RSS2