Home > cpf9898 error > cpf9898 error

Cpf9898 Error

to server to establish log id" when trying to load reports into OnDemand for i? Technote (FAQ) Question I'm trying to run ADDRPTOND and it fails. No messages are being recorded in the system log. However, the instance job log show a CPF9898 with message "arsload: Could not connect to server to establish log id." What might be causing this? Cause It might be that you have the Host Name Search Priority field in your TCP/IP configuration set incorrectly. Answer You might need to check your TCP/IP Host name configuration and domain configuration as defined in the related articles listed below. When working with option 12 of the CFGTCP menu, Change TCP/IP domain information, make sure that the "Host name search priority" parameter has *LOCAL specified and not *REMOTE. If you find that your domain entry has a *REMOTE setting for the HOSTSCHPTY parameter, change it to *LOCAL. You do not need to end and restart TCP to make it take effect. You may, however, need to end and restart the OnDemand server instance. If this information does not address your question, please contact IBM software support for further assistance. Stay Informed by Receiving Product and Lifecycle Notifications: Click here Related information Verifying the correct TCP/IP configuration on your OD i Why might I not be able to retrieve the system log? Document information More support for: Content Manager OnDemand for i Common Server Software version: 6.1, 7.1 Operating system(s): IBM i Software edition: All Editions Reference #: 1622436 Modified date: 2015-08-13 Site availability Site assistance Contact and feedback Need support? Submit feedback to IBM Support 1-800-IBM-7378 (USA) Directory of worldwide contacts Contact Privacy Terms of use Accessibility

"I" (ignore) or "R" (retry) in response to the error message. However, when a user runs a program and encounters an unexpected error, we run into problems. The user might call us. The user might not call us. The user may pick the wrong option and really mess things up. What can we do? --Sandra You can prevent the user from seeing an inquiry message when something goes wrong. The first thing you need is a global http://www-01.ibm.com/support/docview.wss?uid=swg21622436 monitor message (MONMSG) command that branches to an error routine. The other thing you need is an error routine that sends an escape message. Here is a CL program template I like to use: pgm dcl &Abending *lgl dcl &MsgID *char 7 dcl &MsgDta *char 256 dcl &MsgF *char 10 dcl &MsgFLib *char 10 dcl &MsgKey *char 4 http://www.itjungle.com/fhg/fhg050504-story02.html dcl &MsgType *char 10 dcl &RtnType *char 2 dcl &PgmName *char 10 dcl &Sender *char 80 monmsg cpf0000 exec(goto abend) /* retrieve the program name */ sndpgmmsg msg(' ') topgmq(*same) msgtype(*info) keyvar(&msgkey) rcvmsg pgmq(*same) msgtype(*info) sender(&sender) rmv(*yes) chgvar &PgmName %sst(&Sender 56 10) /* begin regular routine */ /* normal end of job */ sndpgmmsg msgid(cpf9898) msgf(qcpfmsg) msgtype(*comp) + msgdta('Program' *bcat &PgmName *bcat + 'completed normally') return /* Routine to handle unexpected errors */ Abend: if &Abending then(return) chgvar &Abending '1' rcvmsg msgtype(*last) msgdta(&msgdta) msgid(&msgid) + rtntype(&RtnType) + msgf(&msgf) sndmsgflib(&msgflib) if ((&RtnType *eq '15') *or (&RtnType *eq '17')) do /* *escape */ sndpgmmsg msgid(&msgid) msgf(&msgf) msgtype(*diag) + msgdta(&msgdta) enddo Escape: sndpgmmsg msgid(cpf9898) msgf(qcpfmsg) msgtype(*escape) + msgdta('Program' *bcat &PgmName *bcat + 'ended abnormally') endpgm To use this template, you will have to declare any variables or files you use after the PGM command and before the global MONMSG. Then put the commands that you want to run after the comment that indicates the beginning of the regular routine. The rest of the program remains

SQL CANCEL SIGNALLED BY JOB:... From: "Needles,Stephen J" Date: Thu, 17 Jan 2013 13:56:00 -0500 List-archive: List-help: List-id: Midrange Systems Technical Discussion List-post: List-subscribe: , List-unsubscribe: , http://archive.midrange.com/midrange-l/201301/msg00784.html Finally broke down and created a PMR. According to IBM: SI48523, which appears to have been super-ceded by SI48905, is the fix to events where SQL0952 errors are followed by the CPF9999 message. Steve Needles -----Original Message----- From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Needles,Stephen J Sent: Thursday, January 17, 2013 10:23 AM To: midrange-l@xxxxxxxxxxxx Subject: CPF9898 SQL CANCEL SIGNALLED BY JOB:... I'm receiving a CPF9898 error cpf9898 error with the text: "SQL CANCEL SIGNALLED BY JOB: 123456/QUSER/QRWTSRVR" According to the joblog, the msg is sent by... From user . . . . . . . . . : WWWCAC From module . . . . . . . . : QSQEVENT From procedure . . . . . . : CANCEL Statement . . . . . . . . . : 6341 To module . cpf9898 error . . . . . . . . : QSQEVENT To procedure . . . . . . . : CANCEL Statement . . . . . . . . . : 6341 It is followed by an SQL 0952 error From user . . . . . . . . . : WWWCAC From module . . . . . . . . : QSQEVENT From procedure . . . . . . : CANCEL Statement . . . . . . . . . : 6364 Message . . . . : Processing of the SQL statement ended. Reason code 1. Reason codes and their meanings are: 1 -- An SQLCancel API request has been processed, for example from ODBC. This is followed by a CPF9999: From user . . . . . . . . . : USER Message . . . . : Function check. SQL0952 unmonitored by QDBGETSQ at statement *N, instruction X'0D2D'. Cause . . . . . : An escape exception message was sent to a program which did not monitor for that message. The full name of the program to which the unmonitored message was sent is QDBGETSQ . At the time

 

Related content

cpf9898 error in as400

Cpf Error In As table id toc tbody tr td div id toctitle Contents div ul li a href Monmsg Cpf a li ul td tr tbody table p receiver of the messages is not currently using the system From one OPM relatedl program or ILE procedure to another OPM program sndpgmmsg or ILE procedure From a program or procedure to a system user p h id Monmsg Cpf p even if the receiver of the messages is not currently using the system Interactive system users can send monmsg list of messages only immediate messages and replies OPM programs or