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
 

 

A command entered or contained in a CLIST has invalid syntax

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
Sikkandhar

New User


Joined: 03 Dec 2007
Posts: 58
Location: Bangalore

PostPosted: Wed Dec 05, 2007 5:48 pm    Post subject: A command entered or contained in a CLIST has invalid syntax
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

Moderator Team Head


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

PostPosted: Wed Dec 05, 2007 6:31 pm    Post subject: Reply to: A command entered or contained in a CLIST has inva
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: 58
Location: Bangalore

PostPosted: Thu Dec 06, 2007 8:40 am    Post subject:
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: 1288
Location: Chennai, India

PostPosted: Thu Dec 06, 2007 11:37 am    Post subject: Reply to: A command entered or contained in a CLIST has inva
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: 58
Location: Bangalore

PostPosted: Thu Dec 06, 2007 4:04 pm    Post subject: Reply to: A command entered or contained in a CLIST has inva
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    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Fail to change physical VSAM filename... jacobdng CICS 7 Fri Jan 20, 2017 12:36 pm
No new posts INVALID FIELD OR CONSTANT IN SORTOF ?? Ron Klop DFSORT/ICETOOL 8 Wed Jan 11, 2017 3:44 pm
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 What is the command to check MODE of ... rohanthengal CLIST & REXX 7 Fri Nov 18, 2016 1:48 pm
No new posts SDSF Command Avtrix CLIST & REXX 4 Fri Sep 30, 2016 11:13 am


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