Posted: Thu Apr 15, 2004 4:43 am Post subject: Abend -U4008
A Batch program calling assembler subroutine and abending with U4008.
Abend Aid showing the following message.
Assembler routine being called by a batch program for reentrancy.
User abend code is showing for the corresponding register 1.
Hi,
I am sending the Abend-aid Information for the User Abend u4008.when we are trying to run the program we are getting this abend in Assembler routine.Main thing is we are converting all telon programs into cobol programs.at that time cobol program is calling assembler program.when the cobol program is compiled to cobol 11 or os/vs cobol the assembler subroutine is not abending.but when it is compiled to cobol-390 only it is abending.could you tell me what is the reason.how to solve this abend.
*******************************************
* Next Sequential Instruction Section *
*******************************************
The next sequential instruction to be executed in
program ADAAATR was at displacement 00000544.
00000538 41000080 LA R0,128
0000053C 89000018 SLL R0,24
00000540 1610 OR R1,0
00000542 0A0D SVC 13 SUPERVISOR CALL
NSI==> 00000544 C1C4 DATA AD
00000546 D4C1C1E3D940 NC 483(194,R12),2368(R13)
0000054C 6040E4F4 STD R4,1268(,R14)
550 F0F0F87AC140 SRP 2170(16,R15),320(R12),0
00000556 E4E2 DATA US
The program was compiled on 15 APR 2004 and is
00000648 bytes long.
It was link edited on 21 APR 2004 and is 000270C8
bytes long.
The last known I/O request or call in the program
above was issued with a return address at
displacement 00000060.
------------------------------------------------------------------------
My guess is that you may need to make your assembler subroutine 'LE-conformant' to call it from COBOL/390. I think you need to add some macros - something like CEEENTRY at the beginning and some other changes. I haven't done this myself but I'm sure the process is documented in the Language Environment manuals. Maybe someone else can give you some more specific info.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum