support: Customer Portal
Focused on delivering choice, investment protection and flexibility to organizations with valuable COBOL assets
 

Veryant Knowledge Base
Home > All Categories > Web Enablement > isCOBOL Web Direct 2.0 > How can I receive parameters in the first program working with isCOBOL Web Direct?
Question Title How can I receive parameters in the first program working with isCOBOL Web Direct?

The parameters must be read from the isCOBOL program using the statement:

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
Authored by: Veryant Support This question has been viewed 4912 times so far.
Click Here to View all the questions in isCOBOL Web Direct 2.0 category.
File Attachments File Attachments
There are no attachment file(s) related to this question.
How helpful was this article to you?
User Comments User Comments Add Comment
There are no user comments for this question. Be the first to post a comment. Click Here
Related Questions Related Questions
  1. How can I embed a web page in a screen using isCOBOL Web Direct 2.0?
Article Information Additional Information
Article Number: 223
Created: 2013-11-26 10:02 AM
Rating: No Rating
 
Article Options Article Options
Print Question Print this Question
Email Question Email Question to Friend
Export to Adobe PDF Export to PDF File
Export to MS Word Export to MS Word
Bookmark Article
Subscribe to Article Subscribe to Article
 
Search Knowledge Base Search Knowledge Base



 
 

© Veryant - All Rights Reserved
Veryant and isCOBOL are trademarks or registered marks of Veryant in the United States and other countries. All other marks are the property of their respective owners.