View previous topic :: View next topic
|
Author |
Message |
Haripriya3103
New User
Joined: 29 Jun 2005 Posts: 3
|
|
|
|
Am facing an IMS U0476 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 in order to solve this Abend. |
|
Back to top |
|
|
itssreehere Warnings : 1 New User
Joined: 10 Jan 2006 Posts: 65 Location: chennai
|
|
|
|
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 |
|
|
Bitneuker
CICS Moderator
Joined: 07 Nov 2005 Posts: 1104 Location: The Netherlands at Hole 19
|
|
|
|
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 |
|
|
tommy-mani
New User
Joined: 05 Feb 2007 Posts: 2 Location: Chennai
|
|
|
|
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 |
|
|
Bitneuker
CICS Moderator
Joined: 07 Nov 2005 Posts: 1104 Location: The Netherlands at Hole 19
|
|
|
|
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 |
|
|
tommy-mani
New User
Joined: 05 Feb 2007 Posts: 2 Location: Chennai
|
|
|
|
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 |
|
|
shamsundar_mk
New User
Joined: 18 May 2007 Posts: 30 Location: CHENNAI
|
|
|
|
Hi,
We expecting the answer for same question, pls any one try to answer... |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
You do realize that the topic has been idle for over a year. . .
Mabe you will wake something in someone. . . . |
|
Back to top |
|
|
Bitneuker
CICS Moderator
Joined: 07 Nov 2005 Posts: 1104 Location: The Netherlands at Hole 19
|
|
|
|
I won't be awoken |
|
Back to top |
|
|
Sandy Zimmer
Active Member
Joined: 13 Jun 2007 Posts: 826 Location: Wilmington, DE
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Sleep-typing, are ya
Quote: |
this topic was started over 2 years ago |
I was only counting from last response. . .
Yup, searching is good
d |
|
Back to top |
|
|
diwakar_rao
New User
Joined: 04 Mar 2007 Posts: 14 Location: Chennai
|
|
|
|
Hi,
i am getting U0476 Abend. Let me know how to resolve it.
Regards,
Diwakar |
|
Back to top |
|
|
Sandy Zimmer
Active Member
Joined: 13 Jun 2007 Posts: 826 Location: Wilmington, DE
|
|
|
|
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 |
|
|
perideepa
New User
Joined: 26 Sep 2007 Posts: 2 Location: india
|
|
|
|
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 |
|
|
Sandy Zimmer
Active Member
Joined: 13 Jun 2007 Posts: 826 Location: Wilmington, DE
|
|
|
|
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 |
|
|
klippman
New User
Joined: 04 Sep 2008 Posts: 3 Location: Arizona
|
|
|
|
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 |
|
|
ManSab
New User
Joined: 23 Sep 2006 Posts: 13 Location: Pune
|
|
|
|
I was running into similar issue. Order pf PCB in the PSB and in the ENTRY statement were same. For me it worked by removing ENTRY statement and adding PROCEDURE DIVISION USING.
I understand it is old post but replying with my details so that it may help others.
Thanks |
|
Back to top |
|
|
|