Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 4650
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: 8618
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: 4650
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: 2088
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 Unable to send mail with SMTP commands harsh.saxena579 JCL & VSAM 10 Tue Dec 12, 2017 1:58 pm
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 5 Wed Oct 04, 2017 6:54 am
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 47 Fri Sep 29, 2017 1:08 pm
No new posts Creating ISPF Screens with Scrname vi... Albireo20 TSO/ISPF 10 Tue Sep 05, 2017 4:24 pm
No new posts Calling CLIST through job and REXX Sahasra K CLIST & REXX 19 Tue Aug 01, 2017 10:25 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us