Rexx is case sensitive.

Use                  PARSE Pull UPPER Answer

Then it will always be upper case and a test for Upper Case letters/words
will work.

Lizette

PS.  You may wish to join the TSO-REXX newsgroup.

For TSO-REXX subscribe / signoff / archive access instructions, send email
to [EMAIL PROTECTED] with the message: INFO TSO-REXX


> hi
> 
> I make this:
> do until answer = N'
>      instructions
>     say 'Do you want to exit? (s/n)'
>     pull answer
>     if answer = 'S' then exit
> end
> 
> I type s, but not exit of the do until?? Why?? this is a case
> sensitive??
> 
> It´s correct??
> 
> 
> 
> more a question:
> how i do to treat for error:
>      10 +++  dec25 = date("B",year"1225","S")//7
>  IRX0040I Error running CHRISTMA, line 10: Incorrect call to routine
> 
> the error ocorred when typed less four digits to year??
> ex: year with tree or two or one digits
>      200 or 20 or 2.
> 
> regards
> 
> 
> 

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to