Most levels are for breaking an area of memory into various fields.
Not an 88 level.
DATA DIVISION.
...
10 FIELD-NAME PIC X(5).
88 FIELD-NAME-TRUE VALUE 'TRUE ;.
88 FIELD-NAME-FALSE VALUE 'FALSE'.
...
PROCEDURE DIVISION
...
IF FIELD-NAME-TRUE THEN
is equivalent to
IF FIELD-NAME = 'TRUE ' THEN
On Fri, Oct 19, 2012 at 6:18 PM, Paul Gilmartin <[email protected]> wrote:
> On Fri, 19 Oct 2012 16:33:20 -0400, Kirk Talman wrote:
>
>>Cobol has EVALUATE and 88 levels that can accomplish this.
>>
> I know very little COBOL. But I understand that the "levels" are for
> record/control block definitions. How does this (help to) provide the
> function of strcasecmp()? (Perhaps a schematic example?)
>
>>IBM Mainframe Discussion List <[email protected]> wrote on
>>10/18/2012 04:21:07 PM:
>>
>>> From: Paul Gilmartin
>>
>>> C has the standard library function strcasecmp(). Does COBOL or PL/I
>>> provide
>>> similar.
>
> Thanks,
> gil
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
--
Mike A Schwab, Springfield IL USA
Where do Forest Rangers go to get away from it all?
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN