Hi there,

I have an issue with a java application running as a batch job on MVS, launched by JZOS Batch Launcher, running under Java 1.5 in OMVS, trying to connect to a DB2 Database on on the same MVS LPAR, using a specific Subsys Name.

I run the job and the job fails with the following message:
JVMJZBL1001N JZOS batch Launcher Version: 2.0.0 2006-09-06
JVMJZBL1002N Copyright (C) IBM Corp. 2005. All rights reserved.
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build pmz64dev-20061002b (SR3))
IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 z/OS s390x-64 j9vmmz6423-20061002 (JIT enabled)
J9VM - 20060915_08260_BHdSMr
JIT - 20060908_1811_r8
GC - 20060906_AA)
[IBM/DB2][T2zos/2.10.84]T2zosConnection.flowConnect:findLocalDB2Subsystem: 490:RRS Identify failed,Return Code=8, Reason Code=X00F30013,Subsystem ID:MXD1,Plan Name:N/A,Pklist:N/A
[IBM/DB2][T2zos/2.10.84]T2zosConnection.flowConnect:findLocalDB2Subsystem: 490:RRS Identify failed,Return Code=8, Reason Code=X00F30013,Subsystem ID:MXD1,Plan Name:N/A,Pklist:N/A


According to IBM Manuals this Reason Code means:
00F30013
Explanation:

The requester is not authorized to connect to this DB2 subsystem. This condition might indicate an attempted security violation.

This reason code is issued by the following CSECT: DSN3AUCN
System action:

The connection request is denied.
User response:

Verify that you have specified the correct RACF authorization ID. If necessary, request authorization to access the DB2 subsystem from your security administrator.


However, we checked nearly everything possible. Which ID is meant? The User ID under which I submit my job? The user ID of RRS?

We initially didn't have RRS running, so the job failed telling us RRS is unavailable. After getting RRS to run, we now get above mentioned error.

RRS was never used before on that site, so we quickly tried to configure and start it. Unsure whether we might have been forgetting something, some kind of RACF resource authorization maybe?

Any ideas would be of great help ;-)

Thanks in advance!