Getting abend ABENDU0476 in COBOL-IMS DB program



IBM's hierarchical database management system with a Database Manager (IMS DB) and a Transaction Manager(IMS DC)

Re: Getting abend ABENDU0476 in COBOL-IMS DB program

Postby jithinraghavan » Thu May 10, 2012 1:33 pm

Ed Goodman Wrote: You guys just blew my mind. Every IMS program I've ever used/written has the ENTRY format. I didn't even know that it was optional.


I just add ENTRY DLITCBL in the LINK control card and compiled and link edited the program by using the statement as
PROCEDURE DIVISION.
ENTRY 'DLITCBL' USING IO-PCB,
IO-PCB2,
MED-PCB.

Then rerun the job. Now it ran successfully. Thanks.. :D
jithinraghavan
 
Posts: 5
Joined: Wed Aug 25, 2010 3:07 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Getting abend ABENDU0476 in COBOL-IMS DB program

Postby Ed Goodman » Thu May 10, 2012 8:40 pm

Be sure to use the proclib member! PROCLIB(CBLTDLI).
Something like:
//SYSLIN DD DSN=&&LOADSET,DISP=(OLD,DELETE)
// DD DSN=IMSVS.PROCLIB(CBLTDLI),DISP=SHR <=== FOR IMS

That means you have to add the SDSFRSLB DD statement to the link edit step. That DD should point to the IMS reslib datasets.

Something like //SDFSRESL DD DSN=IMSVS.PROD.RESLIB,DISP=SHR

You may have accidentally just applied a band aid to this problem.
Ed Goodman
 
Posts: 341
Joined: Thu Feb 24, 2011 12:05 am
Has thanked: 3 times
Been thanked: 17 times

Previous

Return to IMS DB/DC

 


  • Related topics
    Replies
    Views
    Last post