Values and meanings of JCWs returned?

Deskin, Bob Bob.Deskin@Cognos.COM
Fri, 27 Jul 2001 15:30:35 -0400


Unfortunately, the JCW values are not in the manual but they are in the old
Handbook. Since the list is short, I'll reproduce it here. One caveat, I'm
not sure that the QUICK value is properly set. Note that these values are
only available if you immediately exit from QUIZ or QTP after the setting
occurs. If you start a new report or request/run, you lose the value. You
can change QUIZ WARN settings to FATAL using the JCWBASE program parameter.

These of course are for MPE/iX. There are equivalents for OpenVMS and UNIX.

Meaning                     QUIZ    QTP      QUICK

Parsing error               WARN1   FATAL1
Exception error             WARN2   FATAL2   WARN2
Calculation error           WARN3   FATAL3
Edit error                  WARN4   FATAL4
File output error           WARN5   FATAL5
Conditional termination             FATAL6

Exception errors are serious problems such as failure to open the dictionary
or an input file. Conditional termination occurs when you use the TERMINATE
IF condition in QTP's REQUEST statement and the condition is true (and of
course you exit immediately).

Bob Deskin              
PowerHouse Web Product Manager, Application Development Tools, Cognos Inc.
bob.deskin@cognos.com (613) 738-1338 ext 7268 FAX: (613) 727-1178
3755 Riverside Drive P.O. Box 9707 Stn. T, Ottawa ON K1G 4K9 CANADA

-----Original Message-----
From: Tom Renz [mailto:tom@cotc-consulting.com]
Sent: Friday, July 27, 2001 4:16 PM
To: powerh-l@lists.swau.edu
Subject: Values and meanings of JCWs returned?


Hi Listers,

I am wanting to do some MPE CI programming and would like to use the JCW
values returned by QUIZ, QUICK, etc. in the respective JCWs "QUIZ", "QUICK",
etc.  I noticed that these values change based on certain conditions
experienced during the execution of the program and that a value of "0" is
"OK" and that other values represent other problems like bad PHD file, wrong
version PHD file, and so on and so on.

My question is basically where is the information that I can reference that
gives the numeric values and their definitions so that I can perform some
task if certain conditions are encountered or can the information be
forwarded to me via email or some other electronic means?  

Thank you.

Tom Renz

= = = = = = = = = = = = = = = = = = = = = = = = = = = =
Mailing list: powerh-l@lists.swau.edu
Subscribe: "subscribe" in message body to powerh-l-request@lists.swau.edu
Unsubscribe: "unsubscribe" in message body to
powerh-l-request@lists.swau.edu
http://lists.swau.edu/mailman/listinfo/powerh-l
This list is closed, thus to post to the list you must be a subscriber.