Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Creating panel using CLIST commands

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    Post subject: Creating panel using CLIST commands
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

Moderator Team Head


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

PostPosted: Thu Jul 01, 2010 4:01 pm    Post subject: Reply to: Creating panel using CLIST commands
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: 8593
Location: Back in jolly old England

PostPosted: Thu Jul 01, 2010 4:03 pm    Post subject:
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

Moderator Team Head


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

PostPosted: Thu Jul 01, 2010 4:04 pm    Post subject: Reply to: Creating panel using CLIST commands
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    Post subject: Re: Reply to: Creating panel using CLIST commands
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

Senior Member


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

PostPosted: Mon Sep 27, 2010 9:02 am    Post subject: Reply to: Creating panel using CLIST commands
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    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts ISPF - How to come out of ISPF Panel parasmalik20 TSO/ISPF 5 Tue Feb 21, 2017 7:44 pm
No new posts Execute TSO ACF commands from COBOL-I... supreethi.srid TSO/ISPF 0 Tue Feb 21, 2017 5:19 pm
No new posts the use of 'B3'x character in a panel Pedro TSO/ISPF 1 Thu Feb 16, 2017 3:09 am
No new posts Design of ISPF panel prino TSO/ISPF 2 Wed Jan 25, 2017 10:31 pm
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us