HP3000-L Archives

March 2001, Week 4

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:
Philip Yantis <[log in to unmask]>
Reply To:
Philip Yantis <[log in to unmask]>
Date:
Wed, 28 Mar 2001 15:13:48 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (8 lines)
HPCIPUTVAR and HPCIGETVAR return a 32bit signed integer status. But to interpret it you have to access it as two 16bit integers. One 16bit integer is the error code and the other is the subsystem identifier.

Question 1:  
How do I interpret the 32bit integer as two 16bit integers in COBOL.

Question2:
Where can I find what the error integers mean once I successfully get them in COBOL. The Intrinsic Manual says to look at the Error Message Manual but the Error Message Manual doesn't have info for subsysytem 166 (HCIGETVAR & HCIPUTVAR). 

ATOM RSS1 RSS2