Reference for (error) messages - Clists and REXX



IBM's Command List programming language & Restructured Extended Executor

Reference for (error) messages - Clists and REXX

Postby t-man » Wed Jun 30, 2010 8:00 pm

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?
t-man
 
Posts: 4
Joined: Wed Jun 30, 2010 7:45 pm
Has thanked: 0 time
Been thanked: 0 time

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

Postby MrSpock » Wed Jun 30, 2010 9:07 pm

Interesting. Last I knew the TSO (IKJ*) and REXX (IRX*) messages were available through LookAt.
User avatar
MrSpock
Global moderator
 
Posts: 809
Joined: Wed Jun 06, 2007 9:37 pm
Location: Raleigh NC USA
Has thanked: 0 time
Been thanked: 4 times

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

Postby enrico-sorichetti » Wed Jun 30, 2010 10:05 pm

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
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 3006
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 165 times

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

Postby t-man » Thu Jul 01, 2010 2:34 pm

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.
t-man
 
Posts: 4
Joined: Wed Jun 30, 2010 7:45 pm
Has thanked: 0 time
Been thanked: 0 time

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

Postby t-man » Thu Jul 01, 2010 3:30 pm

I see now 'ISPF - Messages and Codes (ispzmc80)' has some of these messages. I think this is enough.
t-man
 
Posts: 4
Joined: Wed Jun 30, 2010 7:45 pm
Has thanked: 0 time
Been thanked: 0 time

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

Postby enrico-sorichetti » Thu Jul 01, 2010 6:36 pm

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
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 3006
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 165 times

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

Postby t-man » Thu Jul 01, 2010 8:22 pm

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.
t-man
 
Posts: 4
Joined: Wed Jun 30, 2010 7:45 pm
Has thanked: 0 time
Been thanked: 0 time

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

Postby enrico-sorichetti » Thu Jul 01, 2010 9:18 pm

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
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 3006
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 165 times

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

Postby MFsys » Fri Jul 23, 2010 1:46 am

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.
MFsys
 
Posts: 9
Joined: Thu Jul 22, 2010 4:58 pm
Has thanked: 0 time
Been thanked: 0 time


Return to CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post