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

A command entered or contained in a CLIST has invalid syntax


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Sikkandhar

New User


Joined: 03 Dec 2007
Posts: 61
Location: Bangalore

PostPosted: Wed Dec 05, 2007 5:48 pm
Reply with quote

I get an error 'A command entered or contained in a CLIST has invalid syntax' when i exit from the execution of a REXX prog.
my prog is working fine but still i get this error when i try to come out of the panel.
pls help me
Back to top
View user's profile Send private message
superk

Global Moderator


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

PostPosted: Wed Dec 05, 2007 6:31 pm
Reply with quote

I usually see that error most often when you've pushed or queued data into the data stack and haven't cleared it out before exiting.
Back to top
View user's profile Send private message
Sikkandhar

New User


Joined: 03 Dec 2007
Posts: 61
Location: Bangalore

PostPosted: Thu Dec 06, 2007 8:40 am
Reply with quote

but i havnt pushed anything to the data stack
i have used 'STEM' variable and from that i have written the stuff into a flat file
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1287
Location: Chennai, India

PostPosted: Thu Dec 06, 2007 11:37 am
Reply with quote

sikander,

We also get this error when we queue into a datastack and free the DD before writing it into an output file.

Please post your code using the code tag to find the exact problem.
Back to top
View user's profile Send private message
Sikkandhar

New User


Joined: 03 Dec 2007
Posts: 61
Location: Bangalore

PostPosted: Thu Dec 06, 2007 4:04 pm
Reply with quote

thanx superk
got rid of that error..initially i had written some statements using 'queue'
i used Address tso "delstack" to clear the stack,now i dont get the error and it s workin fine
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 -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts RACF - Rebuild SETROPTS command which... All Other Mainframe Topics 3
No new posts PARSE Syntax for not fix length word ... JCL & VSAM 7
No new posts Routing command Address SDSF to other... TSO/ISPF 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts DTL - how to define key with stacked ... TSO/ISPF 3
Search our Forums:

Back to Top