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

How to handle array of strings in OOcobol


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
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
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

Moderator Emeritus


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

PostPosted: Wed Feb 18, 2009 3:12 am
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts COBOL Ascending and descending sort n... COBOL Programming 5
No new posts To find an array of words (sys-symbol... JCL & VSAM 9
No new posts How to move values from single dimens... COBOL Programming 1
No new posts array indexing PL/I & Assembler 4
This topic is locked: you cannot edit posts or make replies. How to search multiple strings in a PDS IBM Tools 3
Search our Forums:

Back to Top