The Java version

Support for Java SE, EE & ME, JVM, JNI, JDBC, EJB, JFC, JPDA, JAAS,JCE, JAXP, XML and Java API.
Nara_513
Posts: 44
Joined: Fri Dec 02, 2011 1:11 am
Skillset: JCL, COBOL, REXX
Referer: Internet

The Java version

Postby Nara_513 » Sun Jun 10, 2012 9:18 pm

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:

Code: Select all

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

Robert Sample
Global moderator
Posts: 3720
Joined: Sat Dec 19, 2009 8:32 pm
Skillset: Systems programming, SAS, COBOL, CICS, JCL, SMS, VSAM, etc.
Referer: other forum
Location: Dubuque, Iowa, USA

Re: The Java version

Postby Robert Sample » Sun Jun 10, 2012 11:48 pm

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.


  • Similar Topics
    Replies
    Views
    Last post