Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Executing OO COBOL program invoking Java Class

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
Virendra Shambharkar

New User


Joined: 26 Aug 2015
Posts: 54
Location: India

PostPosted: Tue Jan 10, 2017 6:37 pm    Post subject: Executing OO COBOL program invoking Java Class
Reply with quote

Hi,

I am executing the TSTHELLO program ( mentioned in V4.2 programming guide) using below JCL

Code:
//G138818Y JOB ,,LINES=(9,CANCEL),NOTIFY=&SYSUID,CLASS=D,             
//            MSGLEVEL=(1,1),MSGCLASS=X,TIME=2                       
//*                                                                   
//STEP1  EXEC PGM=TSTHELLO,                                           
//*        PARM='/ENVAR("_CEE_ENVFILE=/u/g138818/ootest/tsthello/ENV")
//         PARM='/ENVAR("_CEE_ENVFILE=/u/g138818/ENV")               
//             POSIX(ON) XPLINK(ON)'                                 
//*            XPLINK(ON)'                                           
//STEPLIB DD DSN=OPERN.COBOL.LOADLIB,DISP=SHR                         
//        DD DSN=CEE.SCEELKED,DISP=SHR                               
//SYSOUT DD SYSOUT=*                                                 
//CEEDUMP DD SYSOUT=*                                                 
//SYSUDUMP DD DUMMY                                                   
//SYSPRINT DD SYSOUT=*                                               
//JAVAIN   DD DUMMY                                                   
//JAVAOUT DD PATH='/u/G138818/java01.out',                           
//           PATHOPTS=(OWRONLY,OCREAT,OTRUNC),                       
//           PATHMODE=(SIRUSR,SIWUSR,SIRGRP)                         
//JAVAERR DD PATH='/u/G138818/java01.err',                           
//           PATHOPTS=(OWRONLY,OCREAT,OTRUNC),                       
//           PATHMODE=(SIRUSR,SIWUSR,SIRGRP)


I am getting below error for memory
Code:
 JVMJ9VM011W Unable to load j9jit26: EDC5204E Not enough storage to load DLL
 JVMJ9VM035 Unable to allocate OutOfMemoryError     
.
UTE116: Native memory allocation failure, falling back to nodyna
UTE001: Error starting trace thread for "Snap Dump Thread": -1   


How do I increase the memory to get rid of this error?
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8280
Location: Dubuque, Iowa, USA

PostPosted: Tue Jan 10, 2017 7:44 pm    Post subject:
Reply with quote

Try adding REGION=0M to your EXEC statement in your JCL. If that doesn't resolve the issue, you will need to talk to your site support group as there are a number of options related to memory (and Java) in the BPXPRMxx member of SYS1.PARMLIB that can impact Java memory availability. And most sites restrict access to those parameters to the site support group.
Back to top
View user's profile Send private message
Virendra Shambharkar

New User


Joined: 26 Aug 2015
Posts: 54
Location: India

PostPosted: Wed Jan 11, 2017 9:33 am    Post subject: Reply to: Executing OO COBOL program invoking Java Class
Reply with quote

Thanks , it worked with REGION=0M.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Linkage editor is part of COBOL, z/OS... ankit.jain COBOL Programming 4 Fri Apr 20, 2018 4:17 pm
This topic is locked: you cannot edit posts or make replies. Difference between EQUAL and EQUAL TO... jithinraghavan COBOL Programming 3 Thu Apr 19, 2018 2:22 am
No new posts How do you attach a DB2 plan to a CIC... John Poulakos DB2 0 Wed Apr 18, 2018 1:49 am
No new posts Call COBOL or PLI with a click from w... vaibhav gs All Other Mainframe Topics 1 Mon Apr 16, 2018 7:29 pm
No new posts VSAM file NOT Found error while proce... SumaReva CICS 5 Wed Apr 11, 2018 9:54 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us