HP3000-L Archives

August 2003, 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:
Peter Smithson <[log in to unmask]>
Reply To:
Peter Smithson <[log in to unmask]>
Date:
Mon, 4 Aug 2003 10:32:17 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (37 lines)
 In article <[log in to unmask]>,
[log in to unmask] says...

> http://docs.hp.com/cgi-bin/doc3k/B3265090821.13550/9

Now I'm confused!  That page gives one table for "Condition code
descriptions" and another for "Status info parameter identifiers".

The manual page I have describes the PRINT intrinsics condition codes.

The COBOL test prog -

       SPECIAL-NAMES.
           CONDITION-CODE IS CC.
....
            CALL intrinsic "PRINT" USING PTEXT PLENGTH CNTRL-CODE.
           IF CC NOT = 0
             DISPLAY "INTRINSIC 'PRINT' HAS FAILED".

returns values consistent with the "status info" value.

So in other words it seems that COBOL is giving me the "status info"
values and the C test program (using ccode()) is giving me the
"Condition code" values.

Help!

I supose I could just not care why it does this.  In which case you
might be able to help me.  Presumably this is consistent with other
intrinsics and PRINT isn't a special case?  As long as I know the rules
then I can live with it.

Peter

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2