hi ,
i want to send message and invoke sn0400 form sn0400.
when i am running sn020 i am succesfully able to make chng and isrt call
but it is not invoking the Sn0400
can any one help me
Joined: 07 Nov 2005 Posts: 1104 Location: The Netherlands at Hole 19
What do the put skips in sn020 say? Any reaction from the system like an abend or status-code (you'll have to declare and base the iopcb-structure over the $LTM pointer in sn0400 to find out)? Message class for sn040 defined in any region? Does the sn040 exist (did you try /DIS TRAN SN040 & /DIS PROG SN0400)?
hi
i am getting status code as blank for chng and isrt calls(they are succesful).
After insert call sn0200 is abending with USER COMPLETION CODE=0462
The transaction sn040 is defined .
i did /distran sn040 and alos /dis prog sn0400 they are defined.
i specified express=yes in PCB and tried then also i am getting the same result.
Joined: 07 Nov 2005 Posts: 1104 Location: The Netherlands at Hole 19
0462, like I posted before, is because in an MPP there are successfull DLI-calls but these call have not been preceeded by a GU on the message queue. First in sn0200 call:
hi
i added a call
CALL PLITDLI(N3,GUC,$LTM,PIOAREA);
at the begining of sn0200 and also i got return code blank.
but still i am getting same USER COMPLETION CODE=0462
for sn0200
Joined: 07 Nov 2005 Posts: 1104 Location: The Netherlands at Hole 19
From the documentation it definitely states:
Quote:
Code 0462
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.
Related topics:
IMS User Abend Codes 0002 - 2991
You may try to code a second call following the GU for the first message; this would be a GN at the IO-PCB; when status-code = 'QC' all messages for your SN0200 have been read. Also your SN0400 has to start the first DLI-call with a GU of the message SN0200 has send.