The parameters must be read from the isCOBOL program using the statement: ACCEPT DEST-ITEM FROM COMMAND-LINE
ACCEPT DEST-ITEM FROM COMMAND-LINE
From the web-browser you have to use link like this: http://localhost:8180/wd2/zk/IsMainZK?PROGRAM=MYPROG&PARAM=ABCDEFGHILMN123456789 where DEST-ITEM in MYPROG1.cbl is declared with: 01 hlink. 05 p1 pic x(3). 05 p2 pic x(9). 05 p3 pic 9(4). 05 p4 pic 9(5). and in the procedure section: accept hlink from command-line
http://localhost:8180/wd2/zk/IsMainZK?PROGRAM=MYPROG&PARAM=ABCDEFGHILMN123456789
01 hlink. 05 p1 pic x(3). 05 p2 pic x(9). 05 p3 pic 9(4). 05 p4 pic 9(5).
accept hlink from command-line