Page 1 of 1

The Java version

PostPosted: Sun Jun 10, 2012 9:18 pm
by Nara_513
Hi All,

I tried to run the belwo jcl to check the java version,

//BPXBATCH EXEC PGM=BPXBATCH,
// PARM='sh java -version',
// REGION=0M
//STDOUT DD SYSOUT=*
//STDERR DD SYSOUT=*

but i got a return code of 256, with description of " Usage: whoami " in STDERR.

* Step_Name Program Code
* 001 BPXBATCH BPXBATCH 0256

Can you please let us know, whether java is installd in my host, or i dont have the access to Java.

Also, I tried to login into OMVS, i got the below message:

IBM
Licensed Material - Property of IBM
5694-A01 Copyright IBM Corp. 1993, 2010
(C) Copyright Mortice Kern Systems, Inc., 1985, 1996.
(C) Copyright Software Development Group, University of Waterloo, 1989.

All Rights Reserved.

U.S. Government Users Restricted Rights -
Use,duplication or disclosure restricted by
GSA ADP Schedule Contract with IBM Corp.

IBM is a registered trademark of the IBM Corp.

OMVSUSER





 >>>> FSUM2331 The session has ended.  Press <Enter> to end OMVS.
                                                                        RUNNING
ESC=    1=Help      2=SubCmd    3=HlpRetrn  4=Top       5=Bottom    6=TSO
        7=BackScr   8=Scroll    9=NextSess 10=Refresh  11=         12=



is this something like...both these are related to RACF .. help me out in this, so that i can get the necessary access related to resolve my issue..

Thanks

Re: The Java version

PostPosted: Sun Jun 10, 2012 11:48 pm
by Robert Sample
Your TSO user id probably does not have an OMVS segment defined. You need to contact your site security group and have them add an OMVS segment to your user id. Without access to OMVS, using BPXBATCH won't provide you with any results for java.