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
 
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: 4650
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 MQ command in option 6 of ISPF! Vignesh Sid All Other Mainframe Topics 3 Tue Sep 26, 2017 6:01 pm
No new posts How to change a string containing the... chong.zhou TSO/ISPF 6 Tue Aug 29, 2017 4:54 pm
No new posts Failure after DIR command Hank Watson All Other Mainframe Topics 2 Tue Aug 29, 2017 3:14 am
No new posts WER268A OUTREC STATEMENT : SYNTAX E... frozenblood87 SYNCSORT 12 Sat Aug 26, 2017 9:45 pm
No new posts Command to find TMEMBER name for a TPIPE Siva NKK Kothamasu IMS DB/DC 0 Wed Aug 16, 2017 6:08 pm

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