Shortest COBOL program that will ABEND
Select messages from
# through # FAQ
[/[Print]\]
Goto page Previous  1, 2  :| |:
MVSFORUMS.com -> Mainframe Challenge

#16:  Author: Cogito-Ergo-SumLocation: Bengaluru, INDIA PostPosted: Mon Oct 11, 2004 12:28 am
    —
Hi Manas,
I had an offline discussion with Kolusu about this. And, Kolusu, pointed out that, I was using NOCMPR2 compiler option (which is obsolete with Enterprise COBOL).

#17:  Author: tattva PostPosted: Tue Apr 26, 2005 1:55 pm
    —
what happens when we set the compiler option to "NOCMPR2"?

Kolusu,

Any documentation on this ?

Thanks,
Tattva

#18:  Author: kolusuLocation: San Jose PostPosted: Tue Apr 26, 2005 2:13 pm
    —
tattva,

Check this link for a detailed explanation of the Compiler Option CMPR2

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IGYA1101/5.2.3.4?DT=19930312141355

Check this link which explains in detail about New Language Features under NOCMPR2

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IGYA1101/APPENDIX1.4.2.2?SHELF=&DT=19930312141355&CASE=

Hope this helps...

Cheers

Kolusu

#19:  Author: tattva PostPosted: Tue Apr 26, 2005 2:35 pm
    —
Kolusu,

i tried to compile the program( the one with 3 lines) with option CMPR2.

it threw me 3 errors !! what am i doing wrong here ??

could you please throw some light on this ?

Thanks,
Tattva

#20:  Author: kolusuLocation: San Jose PostPosted: Wed Apr 27, 2005 8:16 am
    —
tattva,

Quote:

it threw me 3 errors !! what am i doing wrong here ??



I cannot help you without knowing what the error messages are. can you post your error messages?

Kolusu

#21: SHORTEST COBOL PGM Author: tommy123 PostPosted: Wed May 11, 2005 9:53 pm
    —
Kolusu,

I tried running 2 lines of code & i am getting abend

ABENDED S000 U4038 CN(INTERNAL)
***

IDENTIFICATION DIVISION.
PROGRAM-ID. SHORTEST.

Wont' u think this is the shortest code to abend ?

Tommy123

#22:  Author: kolusuLocation: San Jose PostPosted: Thu May 12, 2005 5:53 am
    —
tommy123,


Did you read the entire topic clearly ? Read it once again and it will answer your question.

Kolusu

#23:  Author: Milind PostPosted: Wed May 25, 2005 11:25 am
    —
Dear all,

I have tried with two lines progrm:

IDENTIFICATION DIVISION.
PROGRAM-ID. ABEND.

It gave me this abend:

18.17.43 JOB54305 $HASP165 TSICR076 ENDED AT NREJES2 - ABENDED S001 U0615 CN(IN
TERNAL)


How about this?


Cheers,
Milind

#24:  Author: kolusuLocation: San Jose PostPosted: Wed May 25, 2005 11:30 am
    —
Quote:

I have tried with two lines progrm:

IDENTIFICATION DIVISION.
PROGRAM-ID. ABEND.

It gave me this abend:

18.17.43 JOB54305 $HASP165 TSICR076 ENDED AT NREJES2 - ABENDED S001 U0615 CN(IN
TERNAL)


How about this?


Milind,

If you had read atleast the last 2 posts in this topic , you wouldn't have raised that question. You SHOULD start reading the topic once again from the top .(especially from post # 5 from the top)

Kolusu



MVSFORUMS.com -> Mainframe Challenge


output generated using printer-friendly topic mod. All times are GMT - 5 Hours

Goto page Previous  1, 2  :| |:
Page 2 of 2

Powered by phpBB © 2001, 2005 phpBB Group