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
 

 

How to handle array of strings in OOcobol

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

New User


Joined: 12 Feb 2008
Posts: 41
Location: Bangalore

PostPosted: Tue Feb 17, 2009 8:00 pm    Post subject: How to handle array of strings in OOcobol
Reply with quote

HI,

Can you please let me know the code snippet to handle array of strings (being returned by java Method) into my OOcobol program.
Back to top
View user's profile Send private message

dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Wed Feb 18, 2009 3:12 am    Post subject:
Reply with quote

Hello,

You need to provide a description and an example of what is being returned and what you want done with it (sample input and output). . .
Back to top
View user's profile Send private message
namitjai

New User


Joined: 12 Feb 2008
Posts: 41
Location: Bangalore

PostPosted: Wed Feb 18, 2009 2:43 pm    Post subject:
Reply with quote

I am calling a java method(say J1) in class(say C1) that is in the jar(.jar) file which is residing in USS area...now

1.My first doubt is whether I can invoke a method in a class which is in jar file.

2. If its possible than I wanted to the operation something like:
INVOKE C1 'J1' USING A,B RETURNING STRING1

where A and B are string/Integer and String1 is an array of string.
So I want the data type to be declared for STRING1 and the different operations I am supposed to do to get the array of string into my OO cobol program. Please let me know what all classes are required to be invoked additionally(Like JSTRING ,etc) for whole String operation.
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 hot to get details when "EXEC CI... Andi1982 CICS 11 Tue Sep 20, 2016 5:01 pm
No new posts Unstring list of values into an array. Roshnii COBOL Programming 8 Mon Jun 27, 2016 6:25 pm
No new posts How to handle AISS abend ? robin ma 2015 CICS 1 Mon Nov 09, 2015 1:47 pm
No new posts COBOL Program to Read Array data raj4neo COBOL Programming 8 Sat Aug 15, 2015 12:28 am
No new posts Checking for High-Values in an array amitc23 COBOL Programming 10 Wed Aug 05, 2015 4:09 pm


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