ISPMLIB errors



TSO Programming, ISPF, SDF, SDSF and PDF, FTP, TCP/IP Concepts, SNA & SNA/IP etc...

ISPMLIB errors

Postby Viswanathchandru » Mon May 21, 2012 12:19 am

Dear all,

I'm trying to display some messages through the ISPF panel designed. Intension is as usual to pop up a message when the user gives a wrong input. But when ever i give a wrong input i'm getting the message as

CMG999                                                         
                                                               
Message syntax error.                                         
MSG001A  - contains invalid format syntax in first record.     
                                                                                                                           
                                                                                                                           
Current dialog statement:                                     
SETMSG MSG(MSG001A)                                           
But i dont understand the reason. Here is how the message looks like
MSG001A 'Operand missing' .ALARM=YES
'Required positional operand missing.'
I tried comparing this with the manual but i dont find differences. Please guide where do i go wrong.


Regards,
Viswa
Viswanathchandru
 
Posts: 271
Joined: Mon Oct 25, 2010 2:24 pm
Has thanked: 25 times
Been thanked: 0 time

Re: ISPMLIB errors

Postby NicC » Mon May 21, 2012 1:37 am

What is the name of the member holding the message?
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 3025
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisies (almost)
Has thanked: 4 times
Been thanked: 136 times

Re: ISPMLIB errors

Postby Viswanathchandru » Mon May 21, 2012 5:07 pm

Hello NiCc, Thanks for addressing the post.

Its in the member MSG00.

Regards,
Viswa
Viswanathchandru
 
Posts: 271
Joined: Mon Oct 25, 2010 2:24 pm
Has thanked: 25 times
Been thanked: 0 time

Re: ISPMLIB errors

Postby Pedro » Mon May 21, 2012 6:50 pm

Show us the entire message member.
Pedro Vera
User avatar
Pedro
 
Posts: 684
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 53 times

Re: ISPMLIB errors

Postby Viswanathchandru » Mon May 21, 2012 7:01 pm

hello pedro,

I'm not understanding. The full name of the message member is MSG00 and it contains onlY one message as shown above. please advice me what should i post.

Regards,
Viswa
Viswanathchandru
 
Posts: 271
Joined: Mon Oct 25, 2010 2:24 pm
Has thanked: 25 times
Been thanked: 0 time

Re: ISPMLIB errors

Postby Pedro » Mon May 21, 2012 9:17 pm

Turn off the line numbers.

Of course, it is only a guess because you decided not to show us columns 73-80.
Pedro Vera
User avatar
Pedro
 
Posts: 684
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 53 times

Re: ISPMLIB errors

Postby Viswanathchandru » Tue May 22, 2012 1:54 pm

Hello Pedro, Please find the below member contents. Let me know if i need to give more information on this.


EDIT       XXXXXX.SMF.MSGLIB(MSG00) - 01.14               Columns 00001 00072
****** ***************************** Top of Data ******************************
=COLS> ----+----1----+----2----+----3----+----4----+----5----+----6----+----7--
000001 MSG001 'Operand missing' .ALARM=YES                                     
000002 'Required positional operand missing. Reenter command'                 
****** **************************** Bottom of Data ****************************

Also, "NUM OFF" on the command line didnt give improvement. Pleas advice.

Regards,
Viswa
Viswanathchandru
 
Posts: 271
Joined: Mon Oct 25, 2010 2:24 pm
Has thanked: 25 times
Been thanked: 0 time

Re: ISPMLIB errors

Postby enrico-sorichetti » Tue May 22, 2012 1:57 pm

just take a decision...
in the initial description if the problem You complain that
SETMSG MSG(MSG001A)

and then You show for member MSG00 that only MSG001 is there

the message You are trying to display is NOT there !
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: 2994
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times

Re: ISPMLIB errors

Postby Viswanathchandru » Tue May 22, 2012 5:18 pm

Hello enrico,

Thanks for addressing the post. Ton's of appologies for giving a wrong dislplaY. it is MSG001A. Again i tried "NUM ON" followed bY "NUM OFF" and tried executing the same rexx. Neither i found the error message nor i found the message getting displaYed. ReallY confused. Can anYone suggest me a better waY of working with ISPMLIB. not sure what the waY i use is the best one or not. Posting here the rexx part. Please make a correction to mY previous post. Its not MSG001 instead its MSG001A and that was mY mistake while copYing it.. Please let me know how to proceed. Rexx calling the message:

 "ISPEXEC ADDPOP"                 
 "ISPEXEC SETMSG MSG(MSG001A)"   
 "ISPEXEC REMPOP"                 
and the member MSG00 contains.

****** ***************************** Top of Data ******************************
=COLS> ----+----1----+----2----+----3----+----4----+----5----+----6----+----7--
000001 MSG001A 'Operand missing' .ALARM=YES                                   
000002 'Required positional operand missing. Reenter command'                 
****** **************************** Bottom of Data ****************************


Regards,
Viswa
Viswanathchandru
 
Posts: 271
Joined: Mon Oct 25, 2010 2:24 pm
Has thanked: 25 times
Been thanked: 0 time

Re: ISPMLIB errors

Postby Pedro » Tue May 22, 2012 7:13 pm

Whenever you are making changes to ISPF parts, you should exit ISPF, then start with
ISPF TEST


ISPF caches some of the parts and even when you make changes, it uses the original cached version. When you start with ISPF TEST, it avoids the caching.
Pedro Vera
User avatar
Pedro
 
Posts: 684
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 53 times

Next

Return to TSO & ISPF