1 02/06/84  convert_status_code_
 2 
 3 
 4 Entry points in convert_status_code_:
 5    (List is generated by the help command)
 6 
 7 
 8 :Entry: convert_status_code_: 02/06/84  convert_status_code_
 9 
10 
11 Function: returns the short and long status messages from the standard
12 status table containing the given status code.  Status codes are
13 described in the Programmer's Reference Manual.
14 
15 
16 Syntax:
17 declare convert_status_code_ entry (fixed bin(35), char(8) aligned,
18      char(100) aligned);
19 call convert_status_code_ (code, shortinfo, longinfo);
20 
21 
22 Arguments:
23 code
24    is a standard status code.  (Input)
25 shortinfo
26    is a short status message corresponding to code.  (Output)
27 longinfo
28    is a long status message corresponding to code; the message is
29    padded on the right with blanks.  (Output)
30 
31 
32 Notes:  If code does not correspond to a valid status code, shortinfo
33 is "XXXXXXXX", and longinfo is "Code ddd", where ddd is the decimal
34 representation of code.