Subject: | |
From: | |
Reply To: | |
Date: | Thu, 22 Aug 2002 09:44:23 -0700 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
One place where I worked I had a standard copy/include that went along the
lines of this:
SW1 IS BIT-1-VALUE ON STATUS IS BIT-1-SET
SW2 IS BIT-2-VALUE ON STATUS IS BIT-2-SET
SW3 IS BIT-4-VALUE ON STATUS IS BIT-4-SET
SW4 IS BIT-8-VALUE ON STATUS IS BIT-8-SET
SW5 IS BIT-16-VALUE ON STATUS IS BIT-16-SET
...
to figure out what "parm=" value I need, it is easy to read this copylib
entry and figure it out (that is, until powers-of-two become so
second-nature that it takes longer to remember the copylib exists...)
Unfortunately, I don't have ready access to the source or a handy listing to
refer to for the exact values -- I'm thinking that the HP is "backward" in
that SW1 is actually bit-position 15, or 2^16 for the "value" (32768) --
yup, just reviewed the other message on this thread, so adjust my above
example accordingly...
> -----Original Message-----
> From: Shahan, Ray
>
> Does anyone know of an *easy* way to determine the value
> required to set the COBOL run time switches?
>
> SW5 IS FIGURE-IT-OUT-SW ON STATUS IS FIGURED-IT-OUT
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|
|
|