cancel
Showing results for 
Search instead for 
Did you mean: 

CPF1338 received by STRRMTDB at 1900

Former Member
0 Kudos

Hi all,

I am running ECC 6.0 on iSeries V5R4M0.

When i try to start SAP using <sid>OFR, i get the following message:

Display Program Messages

Backup job description will be used for job 031751/ECDOFR/DSP01.

Job 031751/ECDOFR/DSP01started on 10/27/08 at 10:42:11 in subsystem QCTL in

CPF1338 received by STRRMTDB at 1900 (C D I R)

If i input R (retry), i still get the same message, "CPF1338 received by STRRMTDB at 1900 (C D I R)"

But, if i cancel (option C) and start SAP again, it can start successfully without any messages.

However, when I check the SAP database server job QXDAEDRSQL, on the display job status attribute, it says that it is submitted by job DSP01. I believe, that DSP01 should be STRRMTDB.

Can anyone please explain to me why this problem occurs and how do i fix this?

Thanks

Regards,

Pandu

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Pandu,

as CPF1338 has the following description, you should look into the joblog and check for the messages before that:

Message ID . . . . . . . . . : CPF1338

Message file . . . . . . . . : QCPFMSG

Library . . . . . . . . . : QSYS

Message . . . . : Errors occurred on SBMJOB command.

Cause . . . . . : See the messages previously listed.

Recovery . . . : Correct the errors and then submit the command again.

Btw: What are you doing here ? STARTSAP ?

Do you stop SAP for every backup ? That would not be recommended ... (because of performance)

Regards

Volker Gueldenpfennig, consolut international ag

http://www.consolut.net - http://www.4soi.de - http://www.easymarketplace.de

Former Member
0 Kudos

hi Volker,

Thanks for the quick reply.

Yes, I got the CPF1338 when issuing command STARTSAP. I stopped SAP at the first place to do entire system backup (go save -> option 21) and it requires that all subsystems to be stopped.

I am also aware the CPF1338 indicates that there are errors occured with SBMJOB command, but not really sure what it means.

I have looked into the joblog via iSeries navigator (Work Management -> Output queues -> Qprint). I could not find one with the msgid CPF1338. However there are multiple entries with msgid CPF0906:

Message: A duplicate job named xxxxxx/QUSER/QXDAEDRSQL was found.

Recovery: Either specify a job name with a user name or, a user name and a job number (JOB parameter).

where xxxxxx is a number. For example 025045/QUSER/QXDAEDRSQL. I have about 20 of these.

Which job log were you referring to in your post? I am new to iSeries and this is the only way i know to check the job log.

Sorry if my reply is not relevant.

I appreciate your help.

Thanks

Pandu

Former Member
0 Kudos

Hi Pandu,

ok, but if you do not find the 1338, you are talking on a completely different joblog ....

=> you should check the joblog, of DSP01 with this message and then see the messages before ...

Regards

Volker Gueldenpfennig, consolut international ag

http://www.consolut.net - http://www.4soi.de - http://www.easymarketplace.de

Former Member
0 Kudos

Hi Volker,

I have found the job log for DSP01. Here it is

MSGID TYPE SEV DATE TIME FROM PGM LIBRARY INST TO PGM LIBRARY INST

CPI0913 Information 60 10/27/08 16:15:04.934840 QWTMESGN QSYS 1AAA *EXT *N

From user . . . . . . . . . : QSYS

Message . . . . : Backup job description will be used for job

032386/ECDOFR/DSP01.

Cause . . . . . : The job description for this job was not found. The

backup job description QSYSJOBD in QSYS library will be used. Recovery . .

. : Either create the job description which was not found, or restore the

library in which the job description exists.

CPF1124 Information 00 10/27/08 16:15:05.033032 QWTPIIPP QSYS 066E *EXT *N

Message . . . . : Job 032386/ECDOFR/DSP01 started on 10/27/08 at 16:15:04 in

subsystem QCTL in QSYS. Job entered system on 10/27/08 at 16:15:04.

*NONE Information 10/27/08 16:15:06.809936 R3INLPGM R3ECD400 *STMT R3INLPGM R3ECD400 *STMT

From module . . . . . . . . : O4TMKLIBI

From procedure . . . . . . : prtjoblA

Statement . . . . . . . . . : 15

To module . . . . . . . . . : O4TMKLIBI

To procedure . . . . . . . : prtjoblA

Statement . . . . . . . . . : 15

Message . . . . : R3INLPGM: Version: 7000 (Compiled: Mar 12 2008 (19:36:49))

CPC2206 Completion 00 10/27/08 16:15:07.097744 QSYCHONR QSYS 0665 QLIINSRT QSYS 0453

Message . . . . : Ownership of object GETOBJINF in QTEMP type *USRSPC

changed.

Cause . . . . . : The ownership of object GETOBJINF in library QTEMP type

*USRSPC has changed.

CPC2198 Completion 00 10/27/08 16:15:07.331648 QLICHLLE QSYS 01A3 QC2SYS QSYS *STMT

To module . . . . . . . . . : QC2SYS

To procedure . . . . . . . : system

Statement . . . . . . . . . : 6

Message . . . . : Current library changed to R3ECDDATA.

Cause . . . . . : The current library in the library list was changed to

R3ECDDATA.

CPC2196 Completion 00 10/27/08 16:15:07.333248 QLICUSRL QSYS 0113 QC2SYS QSYS *STMT

To module . . . . . . . . . : QC2SYS

To procedure . . . . . . . : system

Statement . . . . . . . . . : 6

Message . . . . : Library SAPECDUC added to library list.

Cause . . . . . : If the ADDLIBLE command was used, SAPECDUC was added to

the user library list. If the CHGSYSLIBL command was used, SAPECDUC was

added to the system portion of the library list.

CPC2206 Completion 00 10/27/08 16:15:18.482896 QSYCHONR QSYS 0665 QLIINSRT QSYS 0453

Message . . . . : Ownership of object GETOBJINF in QTEMP type *USRSPC

changed.

Cause . . . . . : The ownership of object GETOBJINF in library QTEMP type

*USRSPC has changed.

CPC2206 Completion 00 10/27/08 16:15:18.521896 QSYCHONR QSYS 0665 QLIINSRT QSYS 0453

Message . . . . : Ownership of object GETOBJINF in QTEMP type *USRSPC

changed.

Cause . . . . . : The ownership of object GETOBJINF in library QTEMP type

*USRSPC has changed.

*NONE Information 10/27/08 16:15:18.652024 O4STRSAP SAPECDUC *STMT O4STRSAP SAPECDUC *STMT

From module . . . . . . . . : O4TMKLIBI

From procedure . . . . . . : prtjoblA

Statement . . . . . . . . . : 15

To module . . . . . . . . . : O4TMKLIBI

To procedure . . . . . . . : prtjoblA

Statement . . . . . . . . . : 15

Message . . . . : Checking input parameters...

*NONE Information 10/27/08 16:15:18.887792 O4STRSAP SAPECDUC *STMT O4STRSAP SAPECDUC *STMT

From module . . . . . . . . : O4TMKLIBI

From procedure . . . . . . : prtjoblA

Statement . . . . . . . . . : 15

To module . . . . . . . . . : O4TMKLIBI

To procedure . . . . . . . : prtjoblA

Statement . . . . . . . . . : 15

Message . . . . : Calling STRRMTDB...

CPFA981 Escape 40 10/27/08 16:15:19.155704 QP0ZDLTE QSYS *STMT STRRMTDB SAPECDUC 000D

From module . . . . . . . . : QP0ZDLTE

From procedure . . . . . . : main

Statement . . . . . . . . . : 91

Message . . . . : Environment variable does not exist.

Cause . . . . . : You tried to change (CHGENVVAR) or remove (RMVENVVAR) an

environment variable 'strrmtdb_submitted', of level *JOB, that does not

exist. Recovery . . . : Retry the command with an environment variable

that does exist. You may use the Work with environment variables (WRKENVVAR)

command to see what environment variables have been defined for the job.

CPCA980 Completion 00 10/27/08 16:15:19.221472 QP0ZADDE QSYS *STMT STRRMTDB SAPECDUC 0014

From module . . . . . . . . : QP0ZADDE

From procedure . . . . . . : main

Statement . . . . . . . . . : 230

Message . . . . : Environment variable added.

Cause . . . . . : Environment variable 'strrmtdb_submitted' has been added.

CPF1139 Diagnostic 40 10/27/08 16:15:19.286704 QWTSCSBJ QSYS 137E STRRMTDB SAPECDUC 0018

Message . . . . : Job description QXDAEDRSQL in library QSYS not found.

Cause . . . . . : The job description QXDAEDRSQL in library QSYS was not

found. Possible causes are: -- The job description does not exist. -- The

job description exists but is in an independent auxiliary storage pool

(ASP). For the Submit Job (SBMJOB) command, the job description must be in

the submitter's library name space. For the Add Job Schedule Entry

(ADDJOBSCDE) and Change Job Schedule Entry (CHGJOBSCDE) commands, the job

description must be in the system ASP or in a basic user ASP. Recovery . .

. : Either correct the job description name or change the library name

(JOBD parameter), or correct the job description name or library name in the

job description specified in the user profile (USER parameter).

CPF1338 Escape 40 10/27/08 16:15:19.286744 QWTCCSBJ QSYS 0154 STRRMTDB SAPECDUC 0018

Message . . . . : Errors occurred on SBMJOB command.

Cause . . . . . : See the messages previously listed. Recovery . . . :

Correct the errors and then submit the command again.

CPA0701 Inquiry 99 10/27/08 16:15:19.335192 QCLXERR QSYS 00C6 *EXT *N

Message . . . . : CPF1338 received by STRRMTDB at 1900. (C D I R)

Cause . . . . . : Control language (CL) program STRRMTDB in library SAPECDUC

detected an error at statement number 1900. Message text for CPF1338 is:

Errors occurred on SBMJOB command. Recovery . . . : This inquiry message

can be avoided by changing the program. Monitor for the error (MONMSG

command) and perform error recovery within the program. To continue, choose

a reply value. Possible choices for replying to message . . . . . . . . . .

. . . . . : C -- Cancel the CL program. D -- Dump the CL program variables

and cancel the CL program. I -- Ignore the failing command. R -- Try the

failing command again.

*NONE Reply 10/27/08 16:15:33.068448 QMHDSEXT QSYS 016E *EXT *N

Message . . . . : C

CPF9999 Escape 40 10/27/08 16:15:19.287704 QMHUNMSG *N O4STRSAP SAPECDUC *STMT

To module . . . . . . . . . : AS4EXECI

To procedure . . . . . . . : as4_run_ca

Statement . . . . . . . . . : 60

Message . . . . : Function check. CPF1338 unmonitored by STRRMTDB at

statement 1900, instruction X'0018'.

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 STRRMTDB . At the time the message was sent

the program was stopped at higher level language statement number(s) 1900.

If more than one statement number is shown, the program was a bound program.

Optimization does not allow a single statement number to be determined. If

*N is shown as a value, it means the actual value was not available.

Recovery . . . : See the low level messages previously listed to locate

the cause of the function check. Correct any errors, and then try the

request again.

*NONE Information 10/27/08 16:15:33.243776 O4STRSAP SAPECDUC *STMT O4STRSAP SAPECDUC *STMT

From module . . . . . . . . : O4TMKLIBI

From procedure . . . . . . : prtjoblA

Statement . . . . . . . . . : 15

To module . . . . . . . . . : O4TMKLIBI

To procedure . . . . . . . : prtjoblA

Statement . . . . . . . . . : 15

Message . . . . : O4STRSAP: Failed to run *LIBL/STRRMTDB.

*NONE Request 10/27/08 16:15:35.706208 QUICMD QSYS 0461 QUICMD QSYS 0461

Message . . . . : -wrkjoblog

*NONE Request 10/27/08 16:16:02.794064 QUICMD QSYS 0461 QUICMD QSYS 0461

Message . . . . : -wrkjoblog

*NONE Request 10/27/08 16:16:13.514336 QPTCHECK *N QUICMD QSYS 0461

Message . . . . : -WRKJOBLOG JOBLOGSTT(*PENDING *SPOOLED)

JOB(032386/ALL/ALL)

*NONE Request 10/27/08 16:16:50.554232 QPTCHECK *N QUICMD QSYS 0461

Message . . . . : -DSPJOBLOG JOB(ECDOFR/DSP01)

CPF0906 Diagnostic 30 10/27/08 16:17:10.679096 QMHDSPJL QSYS 00CA QUICMENU QSYS 00C1

Message . . . . : A duplicate job named 032127/ECDOFR/DSP01 was found.

Recovery . . . : Either specify a job name with a user name or, a user name

and a job number (JOB parameter).

CPF0906 Diagnostic 30 10/27/08 16:17:10.679104 QMHDSPJL QSYS 00E3 QUICMENU QSYS 00C1

Message . . . . : A duplicate job named 032386/ECDOFR/DSP01 was found.

Recovery . . . : Either specify a job name with a user name or, a user name

and a job number (JOB parameter).

CPF1069 Diagnostic 40 10/27/08 16:17:10.679336 QMHDSPJL QSYS 166C QUICMENU QSYS 00C1

Message . . . . : End of duplicate names.

Recovery . . . : Qualify the job name with a user name and a job number.

*NONE Request 10/27/08 16:17:15.802904 QPTCHECK *N QUICMD QSYS 0461

Message . . . . : -DSPJOBLOG JOB(032386/ECDOFR/DSP01)

*NONE Request 10/27/08 16:17:33.050720 QPTCHECK *N QUICMD QSYS 0461

Message . . . . : -WRKJOBLOG JOB(032386/ECDOFR/DSP01)

*NONE Request 10/27/08 16:17:47.742304 QUIMNDRV QSYS 02B9 QUIMNDRV QSYS 02B9

Message . . . . : -/* */

*NONE Request 10/27/08 16:17:50.090464 QPTCHECK *N QUICMD QSYS 0461

Message . . . . : -DSPJOBLOG OUTPUT(*PRINT)

In the job log, i found that job description QXDAEDRSQL in library QSYS is not found. (CPF1339, the entry before CPF1338) but im not sure if this means anything.

I have also uploaded the PDF version of the job log above which (in my opinion) is neater and easier to read. You can get it from the link below:

[url]http://budihardja.com/downloads/job_log.pdf[url]

I look forward to your reply. Thanks a lot

Pandu

Former Member
0 Kudos

Hi Pandu,

ok, then you should have a look at your iSeries, it is obviously somehow destroyed:

CPF1139 Diagnostic 40 10/27/08 16:15:19.286704 QWTSCSBJ QSYS 137E STRRMTDB SAPECDUC 0018

Message . . . . : Job description QXDAEDRSQL in library QSYS not found.

Regards

Volker Gueldenpfennig, consolut international ag

http://www.consolut.net - http://www.4soi.de - http://www.easymarketplace.de

Former Member
0 Kudos

Hi Volker,

Is there a way to fix this? I can't afford to scratch the OS and do an SAP installation again. If the job qxdaedrsql is not found in qsys, is it possible to add the job description to qsys?

Honestly I dont know how to proceed, so what would you suggest?

Thanks a lot.

Regards,

Pandu

Former Member
0 Kudos

Hi Pandu,

The simplest thing would be to open up a PMR with IBM and figure out then why the job description is not there...

Thank you

Abhi

Former Member
0 Kudos

Hi Abhi,

Thanks for your suggestion. I am now in contact with IBM AS400 engineer. They are helping us on the case. I will update this thread again when there is new progress.

Regards,

Pandu

Former Member
0 Kudos

Solved by fixing user profiles for <sid>ofr, <sid>adm, <sid>opr, and <sid>nn

Apparently, some profiles have the wrong job description causing cpf1338 when starting sap.

Thank you all

Cheers.

Answers (0)