MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

RETURN Keyword in first line of the panel causing a problem

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
coolman
Intermediate


Joined: 03 Jan 2003
Posts: 283
Topics: 27
Location: US

PostPosted: Wed Jun 01, 2005 12:20 pm    Post subject: RETURN Keyword in first line of the panel causing a problem Reply with quote

I have a panel defined with 16 input lines.

ENTER YOUR TEXT : TEST_____________________________
__________________________________________________________
__________________________________________________________
__________________________________________________________
__________________________________________________________
__________________________________________________________
__________________________________________________________
__________________________________________________________
__________________________________________________________

Note that in the first line you had the word TEST and it successfully goes to subsequent panels. But, if i have the word RETURN as the first word in that first line, the application terminates abnormally. When I hit an enter, instead of giving a RC of 0, it assumes it to be 8 and ends the application. I tried saying the value of the first line, when i typed in RETURN - It doesn't even show me the value in the panel variable. I'm not facing this problem if I have RETURN as the first word in second line, keeping the first line blank.

Any suggestions.

Cheers,
Coolman
________
BMW X history


Last edited by coolman on Sat Feb 05, 2011 1:43 am; edited 1 time in total
Back to top
View user's profile Send private message
Bithead
Advanced


Joined: 03 Jan 2003
Posts: 550
Topics: 23
Location: Michigan, USA

PostPosted: Wed Jun 01, 2005 12:46 pm    Post subject: Reply with quote

Try adding a command line as the first line above ENTER YOUR TEXT.
Back to top
View user's profile Send private message
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Wed Jun 01, 2005 1:07 pm    Post subject: Reply with quote

or add CMD() to the )BODY statement. Adding a command line is definitely preferable.
Back to top
View user's profile Send private message Visit poster's website
coolman
Intermediate


Joined: 03 Jan 2003
Posts: 283
Topics: 27
Location: US

PostPosted: Wed Jun 01, 2005 2:10 pm    Post subject: Reply with quote

Thanks Bithead and Semigeezer. I went with adding CMD() to the )BODY stmt
________
vapolution vaporizer
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group