Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How to set location for JAVA heapdump, etc, and setting JAVA TDUMP dataset name

Had an issue a day ago where an RTC process executing under UNIX on the mainframe (i.e., host components) ended up producing JAVA dumps of various flavors.  The TDUMP failed because the userid associated with the process does not have an associated ALIAS defined for dataset allocations.  And, the JAVA heapdump and javacore dumps were written to the "/tmp" directory, which blew out our "/tmp" space allocations.

We also run RDz and, in the config files for RDz, we have specifications to indicate that the JAVA heapdump, etc should be written to a specific DUMP directory, and we have a JAVA_DUMP_TDUMP_PATTERN command to override the dataset name allocated for TDUMP creation.

I have looked through all of my RTC installation documentation, as well as the bfagent.conf file for similar settings, but have not found anything useful as yet.

So can I, and how do I, put in overrides to force the creation of various DUMPs using desired locations and names?

We are currently running RTC v5.0.2, but are in the process of upgrading to v6.0.1 so this would be a great time to be able to configure v6.0.1 to accommodate our needs.

Thanks,

David A Kelley

0 votes

Comments

Are you using RTCz? If so, I doubt anybody on this forum is familiar with it. You will need to contact Support for this.



One answer

Permanent link
I think you can use environment vars to specify the dirs like:

* IBM_JAVACOREDIR for Javadump.
* IBM_HEAPDUMPDIR for Heapdump.
* IBM_COREDIR for system dump, .
* IBM_COREDIR for snap traces

Havn't tested it though.., .

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 6,121

Question asked: Jan 14 '16, 10:54 a.m.

Question was seen: 2,842 times

Last updated: Jan 19 '16, 2:53 p.m.

Confirmation Cancel Confirm