IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Executing OO COBOL program invoking Java Class


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Virendra Shambharkar

New User


Joined: 26 Aug 2015
Posts: 55
Location: India

PostPosted: Tue Jan 10, 2017 6:37 pm
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: 8569
Location: Dubuque, Iowa, USA

PostPosted: Tue Jan 10, 2017 7:44 pm
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: 55
Location: India

PostPosted: Wed Jan 11, 2017 9:33 am
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
This topic is locked: you cannot edit posts or make replies. Passing a field name to COBOL program COBOL Programming 10
No new posts COBOL Performance Tuning COBOL Programming 6
No new posts JCL for replacing code in Cobol JCL & VSAM 7
No new posts COBOL VS SORT Utility for file format... COBOL Programming 6
This topic is locked: you cannot edit posts or make replies. Sample CICS Webservices Program CICS 1
Search our Forums:

Back to Top