Out of heap space while invoking a jar java8 but works fine when invoke the jar when run in java7 using Ent Cobol 4.2

2019-06-04 Thread Nazih Noujaim
HI  Everyone

I have an OO Cobol program that invokes a jar on USS using java v1.8, 31 bit.  
When I run over 250K calls, it runs out of memory. If the jar is created in 
java 7 and I compile/link/run the OO cobol pgm in Java 731, it runs fine.

I saw that there was some problems back in java 5 in the IBM sdk with OOM and 
was fixed but nothing recent. Is anyone aware of any similar issues with java 
1.8? Is there any update to the JNI copy book whether you use v7 or v8? Any 
different options in the JVM setup/Installation that I should ask about?

Here is my calling order:
NewStringPlatform
Invoke
GetStringPlatform
2 DeleteLocalRef  calls for the input and return string.


I haven't been able to find any links on diffs between 7 and 8?

TIA
Naz




--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Connect to AWS from z/OS.

2018-09-17 Thread Nazih Noujaim
HI everyone

I saw the previous posts about z and the cloud. 

Starting to do some research into calling AWS from z/OS. Success stories?

Thank You in advance.

Nazih





--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Moving a java application to USS question/issues

2017-12-21 Thread Nazih Noujaim
HI

I am in the process of moving a jar to run on USS. The jar runs on Cygwin 
successfully. I moved the jar as binary to USS, and FTP'd the input test file 
as text. The only way the file would run successfully is if I FTP the test 
input file as Binary and specify a file encoding of CP1252. I tried all 
different file encoding types and other encoding options but haven't had any 
luck. The project has an internal table (not in text. Internal language).

The program doesn't return the correct results because it can't find the data 
from the input file in the table.  A display was put in the program of the data 
read from the file. When the file is FTP'd as Ascii, Z701bbb displays as
\121
\341
\214
\111
@
@
@

When I FTP input file as Binary, it displays correctly and runs successfully.

My question is, Is there any option needed when the project is built so that 
when the file is read or data passed in from Cobol, it's looking for specific 
option/conversion of the input characters?

The end goal is to call the jar from my Cobol program passing in the data.

Thank You in advance.



--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN