Page 1 of 1

Reference for (error) messages - Clists and REXX

PostPosted: Wed Jun 30, 2010 8:00 pm
by t-man
I'm looking for a reference for (error) messages while executing Clists and REXX on TSO/E? I do have IBM SA22 -documentation for Clists and REXX, but there is not included any execution error message explanations (probable causes, comments, etc.).

I can't find any messages reference information neither with search engines, IBM LookAt, z/OS documentation, etc. I would be grateful if anyone could comment does this information even exist?

Re: Reference for (error) messages - Clists and REXX

PostPosted: Wed Jun 30, 2010 9:07 pm
by MrSpock
Interesting. Last I knew the TSO (IKJ*) and REXX (IRX*) messages were available through LookAt.

Re: Reference for (error) messages - Clists and REXX

PostPosted: Wed Jun 30, 2010 10:05 pm
by enrico-sorichetti
strange I can see them all here

z/OS V1R9.0 TSO/E Messages
http://publibz.boulder.ibm.com/cgi-bin/ ... 0428220332

in the TSO/E bookshelf
http://publibz.boulder.ibm.com/cgi-bin/ ... s/IKJ4BK80

if You have a different zOS release You can start from
http://www-03.ibm.com/systems/z/os/zos/ ... index.html
and choose the proper zOS release in the section
z/OS elements and features publications

strange also the LookAT complaint, I picked a random IRX.... message
ant LookAT took me to the manual and message page

Re: Reference for (error) messages - Clists and REXX

PostPosted: Thu Jul 01, 2010 2:34 pm
by t-man
Thanks for your feedback. Not really complaining anything, just wanted to impress the fact that I don't find references for certain messages. I should have been more specific, I realize it now. I'm aware of IKJ* and IRX* -messages sources and other messages sources/references with error code as well, but what I'm looking for are the messages without error code one receives sometimes.

I give two examples. Not good examples, but these examples just demonstrate there's no error code attached sometimes when executing Clist or REXX:

'STMT [number] - IF STMT CONTAINS NO EXPRESSION OR THEN KEYWORD'

'A command entered or contained in a CLIST has invalid syntax'

I guess these type of messages are just terminal messages and there's no further explanation available for these? This is a general question for all messages without error code, are there any information available for those, references, etc.? I'm not looking for a help for single Clists/REXX I develop and run. Thanks in advance for further comments.

Re: Reference for (error) messages - Clists and REXX

PostPosted: Thu Jul 01, 2010 3:30 pm
by t-man
I see now 'ISPF - Messages and Codes (ispzmc80)' has some of these messages. I think this is enough.

Re: Reference for (error) messages - Clists and REXX

PostPosted: Thu Jul 01, 2010 6:36 pm
by enrico-sorichetti
if You had read about the TSO PROFILE command
You would have certainly noticed the option
MSGID | NOMSGID
MSGID specifies diagnostic messages are to include message identifiers.
NOMSGID specifies diagnostic messages are not to include message identifiers. This is the default value when your user profile is created.

and that explains why the TSO messages might not be prefixed by the message identifier

Re: Reference for (error) messages - Clists and REXX

PostPosted: Thu Jul 01, 2010 8:22 pm
by t-man
Thanks again for the comments. Yes and no.

'Yes' that I have set up my profile with TSO PROFILE MSGID -command as following:

IKJ56688I CHAR(0) LINE(0) PROMPT NOINTERCOM NOPAUSE MSGID NOMODE NOWTP
MSG NORECOVER PREFIX([my userid]) PLANGUAGE(ENU) SLANGUAGE(ENU) VARSTORAGE(LOW)
IKJ56689I DEFAULT LINE/CHARACTER DELETE CHARACTERS IN EFFECT FOR THIS TERMINAL
***

I have also set up following:

Menu --> Settings --> Identifier --> 1. Message identifier...

/ Display message identifier
2. On Default setting for message identifier

'No' for the the fact that still some of the messages are without error code if I try to reproduce any failure when running Clist or REXX (incorrect syntax or the like). I would expect above settings (displaying the code) to apply for all error messages but that is apparently not the case. My initial general question was related to these messages that I don't find other reference. Or, all messages should have error code attached to it with the settings I'm using (MSGID etc.), but I have some other problem now.

Re: Reference for (error) messages - Clists and REXX

PostPosted: Thu Jul 01, 2010 9:18 pm
by enrico-sorichetti
Your examples just demonstrate nothing
as far as the first sample ... IF STMT CONTAINS NO EXPRESSION OR THEN KEYWORD
here is the manual page
http://publibz.boulder.ibm.com/cgi-bin/ ... T#FIRSTHIT

all the messages issued by IBM products have a MESSAGE IDENTIFIER ,
not being able to see it simply depends on Your settings or a possible product error
if You feel that some message identifiers are missing or are not displayed
You might want to open a PMR with IBM

Re: Reference for (error) messages - Clists and REXX

PostPosted: Fri Jul 23, 2010 1:46 am
by MFsys
t-man, I guess I understand the messages you are talking about. I am myself not very sure 'who' issues those messsages, whether they are TSO/e messages without a message ID (I don't think this would be the case) or some REXX message only.

I have also landed into situations where the rexx terminates with such messages without very descriptive explanations and no message to investigate them further. To be honest, I have never thought about the 'missing' message ID, and I didn't know about the MSGID option in the TSO/E profile either. The best I manage to do in such cases is put a trace on the piece of code where I suspect the error and based on the logic.