Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
How to solve IMS U0476 Abend

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
View previous topic :: :: View next topic  
Author Message
Haripriya3103

New User


Joined: 29 Jun 2005
Posts: 3

PostPosted: Thu Jan 12, 2006 11:16 am    Post subject: How to solve IMS U0476 Abend
Reply with quote

Am facing an IMSU0476 abend, the order pf PCB in the PSB and in the ENTRY statement are same. Is there any thing else i need to look into inorder to solve this Abend.
Back to top
View user's profile Send private message

itssreehere
Warnings : 1

New User


Joined: 10 Jan 2006
Posts: 65
Location: chennai

PostPosted: Thu Jan 12, 2006 12:39 pm    Post subject: Re: IMS U0476 Abend
Reply with quote

Usually you get this abend when the DLI call specifies a PCB, that is not addressed in the entry statement.

PCB's exists out side the application program.So we need to address them.That's what entry statement does, gets address of PCB's.

Check following things,

In linkage section order of pcb's is not a matter.but your pcb should be there.Entry statement should be in the same order as in PSB.
CAll should have a pcb that was properly addressed in entry as well as present in linkage.

With out seeing the code can't give a specific answer. If it is not any one of these reasons, please share what was the reason.

Sreejith.K.K
Back to top
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1105
Location: The Netherlands at Hole 19

PostPosted: Thu Jan 12, 2006 6:02 pm    Post subject:
Reply with quote

In addition: on this site there is a manual explaining in detail. To avoid large answers by us my advise is to look into this manual. You can find it in the manuals menue/Messages & Codes/IMS Messages & Codes Vol I Vol II/Chapter IMS Abend Codes. Btw: these are the codes I would like to be inserted in the Abend kit in addition to the status codes and IPI-codes.

@itssreehere: nice to meet a fellow IMS expert here.
Back to top
View user's profile Send private message
tommy-mani

New User


Joined: 05 Feb 2007
Posts: 2
Location: Chennai

PostPosted: Mon Feb 05, 2007 12:23 pm    Post subject: Re: IMS U0476 Abend
Reply with quote

Hi Sree,

I have coded in the same way as how you have explained even then I am getting the same abend. I have checked the linkage entry and PSB its all in the same order.

To give you more info about my program, my program is involving both IMS and DB2, since this is the first time am working with DB2 can you please help me in sorting this problem out.
Back to top
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1105
Location: The Netherlands at Hole 19

PostPosted: Mon Feb 05, 2007 5:33 pm    Post subject:
Reply with quote

Did you check the possible reasons like language type? From the link in my signature:
Quote:
0476
Explanation:
A DL/I call does not include a valid PCB address. The PCB address in the DL/I call (second parameter or third, if count is the first parameter) is not one of the PCB addresses passed to the application program at its entry point.

Some possible causes for this failure are:

An address for an AIB was provided but the first eight bytes of the block do not equal 'DFSAIB'.
The PSB language specified is not the same as that of the application program.
The call requires a PCB address, but the function is the last entry in the call list.
The address of the PCB in the call is not one of the PCB addresses passed to the application at its entry point.
An online program issued an UNLD call. The UNLD call is an internal DL/I call and should never be issued by an application program.
This abend can be the result of an improperly assembled or generated application program.

System Action:
The application program terminates abnormally.

Programmer Response:
Correct the parameter list and resubmit the job.

Change the PSB language specified to that of the application program.
Correct the application program DL/I call statements.
Problem Determination:
4, 17d



Please provide more information like:
PSB
DLI-call that failes
Status-codes if any
Back to top
View user's profile Send private message
tommy-mani

New User


Joined: 05 Feb 2007
Posts: 2
Location: Chennai

PostPosted: Mon Feb 05, 2007 8:39 pm    Post subject: Re: How to solve IMS U0476 Abend
Reply with quote

Thanks for the Kind info Bit!!!

I have checked the link which you have given in your previous mail. I have made it sure everything looks good as per your info. anyways I am trying with all other possibilities and update you on the same
Back to top
View user's profile Send private message
shamsundar_mk

New User


Joined: 18 May 2007
Posts: 30
Location: CHENNAI

PostPosted: Fri Feb 22, 2008 9:59 pm    Post subject:
Reply with quote

Hi,

We expecting the answer for same question, pls any one try to answer...
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri Feb 22, 2008 10:14 pm    Post subject:
Reply with quote

Hello,

You do realize that the topic has been idle for over a year. . .

Mabe you will wake something in someone. . . .
Back to top
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1105
Location: The Netherlands at Hole 19

PostPosted: Fri Feb 22, 2008 10:40 pm    Post subject:
Reply with quote

I won't be awoken icon_wink.gif
Back to top
View user's profile Send private message
Sandy Zimmer

Active Member


Joined: 13 Jun 2007
Posts: 826
Location: Wilmington, DE

PostPosted: Fri Feb 22, 2008 10:43 pm    Post subject:
Reply with quote

Actually, Dick, this topic was started over 2 years ago! At least people are searching the forum to find previous topics matching their problem! YAY!!!
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri Feb 22, 2008 10:58 pm    Post subject: Reply to: How to solve IMS U0476 Abend
Reply with quote

Quote:
I won't be awoken
Sleep-typing, are ya icon_smile.gif

Quote:
this topic was started over 2 years ago
I was only counting from last response. . .

Yup, searching is good icon_smile.gif

d
Back to top
View user's profile Send private message
diwakar_rao

New User


Joined: 04 Mar 2007
Posts: 14
Location: Chennai

PostPosted: Wed Jul 23, 2008 2:09 pm    Post subject: i am getting U0476 Abend
Reply with quote

Hi,

i am getting U0476 Abend. Let me know how to resolve it.

Regards,
Diwakar
Back to top
View user's profile Send private message
Sandy Zimmer

Active Member


Joined: 13 Jun 2007
Posts: 826
Location: Wilmington, DE

PostPosted: Wed Jul 23, 2008 5:22 pm    Post subject:
Reply with quote

Take a look at your PSB. How many databases are defined? Match them up with your linkage section and your entry statement. Make sure all are in the same sequence. Is this DLI, BMP ?
Back to top
View user's profile Send private message
perideepa

New User


Joined: 26 Sep 2007
Posts: 2
Location: india

PostPosted: Fri Aug 08, 2008 5:21 am    Post subject: Reply to: How to solve IMS U0476 Abend
Reply with quote

Hi,

Check have you compiled the program witn IMS = YES in change man.
IF not please set this flag to Yes then compile, your problem will be resolved.
Otherwise remove the ENTRY statment put evrything in the PROCEUDRE DIVISION USING , it should solve your problem.

Peri
Back to top
View user's profile Send private message
Sandy Zimmer

Active Member


Joined: 13 Jun 2007
Posts: 826
Location: Wilmington, DE

PostPosted: Fri Aug 08, 2008 5:33 am    Post subject:
Reply with quote

perideepa - "Otherwise remove the ENTRY statment put evrything in the PROCEUDRE DIVISION USING , it should solve your problem. "

WHAT!!!! This is an IMS forum - to remove those statements would make that program NON_IMS!

Check the linkage section of this program and search the PSB datatset pds for corresponding nams.
Back to top
View user's profile Send private message
klippman

New User


Joined: 04 Sep 2008
Posts: 3
Location: Arizona

PostPosted: Sat Sep 06, 2008 3:24 am    Post subject: Reply to: How to solve IMS U0476 Abend
Reply with quote

I just had this same abend and I resolved it by adding an IO-PCB as the first entry of my PCB's. Hope this works for you!
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts ASP3 ABEND IN CICS Vedant CICS 0 Fri Oct 20, 2017 3:18 pm
No new posts C03 ABEND sjiraga PL/I & Assembler 1 Thu Jun 01, 2017 4:51 pm
No new posts IMS region inactive - User abend code... gthmrj IMS DB/DC 5 Tue Mar 07, 2017 12:29 pm
No new posts IMS BMP program causes 878 system abend Artemk IMS DB/DC 7 Tue Nov 22, 2016 8:26 pm
No new posts abend sort based on count records in ... anatol DFSORT/ICETOOL 5 Mon Oct 17, 2016 10:10 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us