To Execute this Example

LANSA

To Execute this Example
Accessing a Web ServiceThe Things that Make Up this Example

Before executing this example please refer to Setting Up Your JSM Environment.

On the Web

Open a browser session. In the address entry field of the browser type:

http://nnn.nnn.nnn.nnn:xx/CGI-BIN/LANSAWEB?PROCFUN+set_211+set211w+ppp

Where:
nnn.nnn.nnn.nnnis the IP address of the web server you are connecting to
xxis the port number where your web server has been configured to run. If your web server uses the default port 80, this parameter is not required.
pppis the partition identifier of the partition where you imported the material


On a 5250 “green screen” (or emulator)

Inside the LANSA environment, use option 10 from the Work with Processes menu against process SET_211, then take option 1: iSeries Interface to NASDAQ inquiry

Outside the LANSA environment, use the LANSA command. Provided the LANSA program library is on the current library list:
LANSA REQUEST(RUN) PROCESS(SET_211) PARTITION(<ppp>)

And use the menu option 1

On MS-Windows

Execute form S_211FMF and click on Refresh Prices. You will be prompted for details of the iSeries you have to connect to.

In Batch

Inside the LANSA environment, use option 10 from the Work with Processes menu against process SET_211, then take option 2: Submit Batch inquiry

Outside the LANSA environment, use the LANSA command. Provided the LANSA program library is on the current library list:
LANSA REQUEST(RUN) PROCESS(SET_211) PARTITION(<ppp>)

And use the menu option 2