dcsimg
Java servlet call AS400 API that returns DIM
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Ameet_Hasmucrai
Posted On:   Thursday, July 7, 2005 04:03 AM

I am developing a web application using NetBeans that has to make a call to an AS400 API that accepts some parameters but returns DIM parameters. Example: Parameter Type Description $PGMC A10 $TTR A5 $JOBNC A10 $USERC A10 $PGMQC A10 $RCODE N1,0 $ESTR A1 $APTR A1 WTTXR A10 WDTIN N8,0 WTT A10 DIM( 1000) WDS A30 DIM( 1000) WEOF A1 The problem is that I don't know how to receive DIM parameters. I don't know much of AS400.    More>>

I am developing a web application using NetBeans that has to make a call to an AS400 API that accepts some parameters but returns DIM parameters.

Example:

Parameter Type Description

$PGMC A10

$TTR A5

$JOBNC A10

$USERC A10

$PGMQC A10

$RCODE N1,0

$ESTR A1

$APTR A1

WTTXR A10

WDTIN N8,0

WTT A10 DIM( 1000)

WDS A30 DIM( 1000)

WEOF A1


The problem is that I don't know how to receive DIM parameters. I don't know much of AS400.


Normally, I make calls to API's an receive non DIM parameters, like this:

- Create a Stored Procedure on AS400 to call the API.

- From Java code, use data queue, make a log on, create a CallableStatement that will call the stored procedure, set the input parameters, execute the statement, and read any simple return parameter (non DIM).


Can any one help me on this?

   <<Less
About | Sitemap | Contact