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 added to the end of the URL and they are received by the COBOL program as chaining parameters.
For instance, this URL:

   http://localhost:8180/wd2/zk/IsMainZK?PROGRAM=MYPROG&PARAM=ABCDEFGHILMN123456789
will pass the value "ABCDEFGHILMN123456789" to the COBOL program that contains this code:
   ...
       WORKING-STORAGE SECTION.
       01 hlink.
          05 p1 pic x(3).
          05 p2 pic x(9).
          05 p3 pic 9(4).
          05 p4 pic 9(5).
   ...
      PROCEDURE DIVISION chaining hlink.
   ...

Authored by: Veryant Support This question has been viewed 4968 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.