ABEND-Handling under LE - Examples?
docdwarf_at_panix.com
Date: 05/13/04
- Next message: Chuck Stevens: "Re: GOBACK (was: Perform Thru/Go to vs. Perform - Compile Speed"
- Previous message: Valdir Jorge: "MicroFocus Cobol: use of group names in DB definitions"
- Next in thread: William M. Klein: "Re: ABEND-Handling under LE - Examples?"
- Reply: William M. Klein: "Re: ABEND-Handling under LE - Examples?"
- Reply: Alistair Maclean: "Re: ABEND-Handling under LE - Examples?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 13 May 2004 12:29:31 -0400
All righty, then... for those who missed the last installment of 'As the
Captain Codes' I had a utility program that was blowing up. The guts of
it were:
MOVE CORR REC-A TO REC-B
... and if there were bad numerics in REC-A the program would blow up and
dump with a S0C7.
Folks have stated that there are facets of the Language Environment which
will 'trap' a statement which would normally cause an ABEND and allow
processing to be resumed... this is something with which I am totally
unfamiliar.
Being (echo chamber on) CCCAAAAPPPTTAAAIIIINNN... COBOL... OBOl... OBol...
Obol... Iiiiii... leeeearrrrnnnn... (echo chamber off) I learn best from
reading code. Is there someplace that someone might point me towards
where I can find simple code, along the lines of:
WORKING-STORAGE SECTION.
01 STUFF.
05 FILLER PIC XX VALUE SPACES.
01 FILLER REDEFINES STUFF.
05 FLDA PIC 9.
05 FLDB PIC 9.
PROCEDURE DIVISION.
SUBTRACT FLDB FROM FLDA.
DISPLAY ' MADE IT THROUGH, NYAH NYAH NYAH!'.
... and say 'In order to execute the DISPLAY you'll have to...'?
Thanks much.
DD
- Next message: Chuck Stevens: "Re: GOBACK (was: Perform Thru/Go to vs. Perform - Compile Speed"
- Previous message: Valdir Jorge: "MicroFocus Cobol: use of group names in DB definitions"
- Next in thread: William M. Klein: "Re: ABEND-Handling under LE - Examples?"
- Reply: William M. Klein: "Re: ABEND-Handling under LE - Examples?"
- Reply: Alistair Maclean: "Re: ABEND-Handling under LE - Examples?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|