[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [open-cobol-list] compiler core dumps
From: |
William M. Klein |
Subject: |
RE: [open-cobol-list] compiler core dumps |
Date: |
Thu Mar 4 09:49:10 2004 |
When using IBM compatibilty, the following rule should be used for
displaying a pointer:
"Data items defined with USAGE POINTER are converted to an external decimal
number that has an implicit PICTURE clause of PIC 9(10)."
See:
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/igy3lr20/6.2.10
> -----Original Message-----
> From: address@hidden
> [mailto:address@hidden On
> Behalf Of David Korn
> Sent: Thursday, March 04, 2004 9:27 AM
> To: address@hidden; address@hidden
> Subject: [open-cobol-list] compiler core dumps
>
> cc: address@hidden
> Subject: compiler core dumps
> --------
>
> I get an exception during code generation with the following
> program:
> ======================cut here========================
> IDENTIFICATION DIVISION.
> PROGRAM-ID. PROG24.
> ENVIRONMENT DIVISION.
> DATA DIVISION.
> WORKING-STORAGE SECTION.
> 01 LK-WORKST PIC X.
> 01 LK-NAME-PTR POINTER.
> PROCEDURE DIVISION.
> SET ADDRESS OF LK-WORKST TO LK-NAME-PTR.
> DISPLAY 'LK-NAME-PTR=' LK-NAME-PTR
> GOBACK.
> ======================cut here========================
>
>
> David Korn
> address@hidden
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> open-cobol-list mailing list
> address@hidden
> https://lists.sourceforge.net/lists/listinfo/open-cobol-list
>