IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

what is abend USER COMPLETION CODE=0462 in MPP progra


IBM Mainframe Forums -> IMS DB/DC
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
krishna_mf

New User


Joined: 31 Jan 2007
Posts: 56
Location: banglore

PostPosted: Tue Feb 13, 2007 12:16 pm
Reply with quote

Hi,
I am getting the following abend when i am running the MPP program
IEA995I SYMPTOM DUMP OUTPUT
USER COMPLETION CODE=0462


can any one help me in sloving this problem.
I ma no using any MFS. i want to just ivoke the proam using the transaction even the first put skip is not getting displayed.

I am using the following PSB
PCB TYPE=TP,ALTRESP=YES,MODIFY=YES
PSBGEN LANG=PLI,PSBNAME=SN0200
END

Application program is
SN0200: PROC($PCB1,$PCB2) OPTIONS (MAIN NOEXECOPS);
PUT SKIP LIST('ENTER SN0200');
DCL ADDR BUILTIN;
DCL PLITDLI ENTRY;
DCL $PCB1 PTR;
DCL $PCB2 PTR;
DCL DBPTR PTR;
DCL 1 PCBAREA BASED(DBPTR),
2 DBDNAME CHAR(08);
DCL SIOAREA CHAR(7) INIT('KRISHNA');
DCL $SIOAREA PTR;
$SIOAREA=ADDR(SIOAREA);
DCL 1 DBPCB BASED($PCB2),
2 DBD CHAR (08),
2 LEV CHAR (02),
2 STC CHAR (02),
2 RES1 CHAR (08),
2 SENA CHAR (08),
2 RES2 CHAR (08),
2 KBA CHAR (100);
DBPTR = $PCB2;
PUT SKIP LIST('DATABASE NAME IS : ' || DBDNAME);
CALL PLITDLI(3,'ISRT',$PCB1,$SIOAREA);
END SN0200;
Back to top
View user's profile Send private message
Bitneuker

CICS Moderator


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

PostPosted: Tue Feb 13, 2007 4:23 pm
Reply with quote

What you are trying to accomplish is to invoke an MPP and just execute a PUT SKIP. Your code suggests it will have to do a lot more later on; your PSB doesn't. It shows just an IO- and ALTERNATE-IO-PCB. You trade PCB2 as a database-pcb. Start with this and extend your code afterwards. Before any calls do a GU on the message-queue. Explanation of your user-code:
Quote:
0462



Explanation: An application program was scheduled in a message region and terminated without successfully issuing a GET UNIQUE for an input message. The application program did successfully process at least one other call.
System Action: The application program is abnormally terminated, and the PSB and the SMB are stopped.

Programmer Response: Determine the problem in the user message processing program, correct it, and resubmit the job.



Program:

Code:
TPNSVER:  PROC(PTERM) OPTIONS (MAIN);   
DCL       PTERM PTR;                     
DCL 1 PCBTERM  BASED(PTERM),             
      2  QLTNAM CHAR(8),                 
      2  QLTRES CHAR(2),                 
      2  QLTSTC CHAR(2),                 
      2  QLTDAT,                         
       3 QLTJDT FIXED DEC (7),           
       3 QLTTIM FIXED DEC (7),           
       3 QLTSEQ FIXED BIN (31),         
       3 QLTFMT CHAR (8);         

       PUT SKIP LIST('THIS IS A USELESS PROGRAM');   
       PUT SKIP LIST('I SHOULD FIRST DO THE GU FOR THE MESSAGE');   
END  TPNSVER;                           


PSB:
Code:
PCB   TYPE=TP

In normal cases it's enough to define PCB's for the databases; the IO-PCB you get for free when the stuff is defined MPP.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> IMS DB/DC

 


Similar Topics
Topic Forum Replies
No new posts run rexx code with jcl CLIST & REXX 15
No new posts Compile rexx code with jcl CLIST & REXX 6
No new posts ISAM and abend S03B JCL & VSAM 10
No new posts PuTTY - "User is not a surrogate... IBM Tools 5
No new posts How to delete a user's alias from the... JCL & VSAM 11
Search our Forums:

Back to Top