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: 2025
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
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
No new posts Is the 'prompt' data for the DSLIST p... Willy Jensen TSO/ISPF 2 Tue Dec 06, 2016 4:38 am
No new posts What is the code in CLIST to enable t... jackzhang75 CLIST & REXX 1 Fri Dec 02, 2016 3:02 am
No new posts FTP - JCL failed while passing FTP co... Suneetha1612 JCL & VSAM 12 Wed Nov 16, 2016 7:33 pm
No new posts Invoking CA 7 commands through REXX kenshin CLIST & REXX 10 Fri Aug 12, 2016 9:33 pm


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