Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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: 48
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: 7948
Location: Bellevue, IA

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: 48
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 Mainframe Interview Questions CICS,CO... akshathan Mainframe Interview Questions 6 Thu Feb 09, 2017 6:38 pm
No new posts Submit job from Cobol with input data abdulrafi COBOL Programming 4 Wed Feb 01, 2017 12:41 pm
This topic is locked: you cannot edit posts or make replies. Full Time COBOL Software Development ... shally Mainframe Jobs 0 Fri Jan 20, 2017 5:24 am
This topic is locked: you cannot edit posts or make replies. COBOL Software Development Lead at Fi... shally Mainframe Jobs 0 Fri Jan 20, 2017 5:21 am
No new posts OO COBOL compile error Virendra Shambharkar COBOL Programming 3 Tue Jan 10, 2017 6:05 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us