IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Creating panel using CLIST commands


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
somdatta28

New User


Joined: 08 Feb 2008
Posts: 4
Location: India

PostPosted: Thu Jul 01, 2010 3:54 pm
Reply with quote

Hi,

I was trying to create a panel which will print Hello World using below code. But while executing I got this error msg: "A command entered or contained in a CLIST has invalid syntax.". I am not able to find out what is wrong. Can anyone please help...

)ATTR DEFAULT(%+_)
% TYPE(TEXT) INTENS(HIGH)
+ TYPE(TEXT) INTENS(LOW)
_ TYPE(INPUT) INTENS(HIGH) CAPS(ON) JUST(LEFT)
)BODY
+
+ -------------------------------------
+ !!! HELLO WORLD !!!!!
+ -------------------------------------
+
+
)INIT
)PROC
)END
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Thu Jul 01, 2010 4:01 pm
Reply with quote

The panel definition looks fine. That message is coming from some code elsewhere.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu Jul 01, 2010 4:03 pm
Reply with quote

As terminology is so very important in the IT industry, I would like to point out that you do not create a panel using CLIST commands.

CLIST and ISPF are completely different animals. The panel is an ISPF panel which is merely displayed and used by the CLIST or REXX or whatever other invocation is used.

The error message is quite clear.
Quote:
"A command entered or contained in a CLIST has invalid syntax."
You have some problems in the CLIST rather than the ISPF panel.
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Thu Jul 01, 2010 4:04 pm
Reply with quote

That error message occurs a lot when you've run a REXX exec and have added data into the data stack, and then exit the exec without removing that existing data from the stack.
Back to top
View user's profile Send private message
kacks7

New User


Joined: 22 Sep 2010
Posts: 33
Location: chennai(india)

PostPosted: Sat Sep 25, 2010 6:10 pm
Reply with quote

hi somdatta28,

superk wrote:
That error message occurs a lot when you've run a REXX exec and have added data into the data stack, and then exit the exec without removing that existing data from the stack.


i just adding some more details with 'superk'.though the execution ends the datas left in the data stack will be treated as command by TSO. so it causing the error.
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2547
Location: Silicon Valley

PostPosted: Mon Sep 27, 2010 9:02 am
Reply with quote

Another possibility is that you have line numbers where they should not be.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Execute secondary panel of sdsf with ... CLIST & REXX 1
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Creating Unix Directory using COBOL i... COBOL Programming 2
No new posts Creating Report using SORT DFSORT/ICETOOL 7
No new posts Call program, directly from panel CLIST & REXX 9
Search our Forums:

Back to Top