Mr SCott:
I work with my database on a Unisys mainframe, accessed by COBOL, and at the fron-end is a web page to querry and update the DB. The internet page is built with HTML & JS.
THe utility that I am referring to is WEBPCM that sits in between the client, the mainframe and the server. It verifies the request from the client, pulls the data from the mainframe and send it to the server. The mainframe is Unisys system. We have a number of applications with HTML, JavaScript & COBOL accessing data and editing the data on the mainframe.
The web service itself is menu-driven, in the sense: we have a number of options on the home page. Each option has links and input fields to "SUBMIT" to the server to get the results. The system works fine.
Just as we fill the input fields and then submit the request, I need a drop-down box the values of which need to be dynamically filled (by pulling the data from the database at the time of initial handshake) and then submit the querry request.
To be more specific, if the data against the query is availabke for the months of October 2006 through March 2007, The drop down box for the month will display only October, November, December, January, February & March. The drop down box for the year will have only 2006 & 2007.
I have no problem in getting these months and years to the COBOL at the instant of initial hand-shake. But how to move them to the HTML drop down box?
Shall be grateful for the solution.
Main Topics
Browse All Topics





by: b0lsc0ttPosted on 2008-01-25 at 10:20:30ID: 20744867
cvfrancis,
What is the relation of the utility to the page where you want the drop down? Does the web server support a server language (e.g. ASP, PHP, Perl, Coldfusion)? Is the utility accessible to the web server and how? Is this an Internet page or part of some intranet page?
HTML on its own isn't dynamic and can't "create" a drop down. Clientside script can do it but usually won't be able to access data on the web server, especially if the page is an Internet page. Please provide answers to the questions above and those details will hopefully clear this up and let us answer better.
Let me know if you have any questions or need more information.
b0lsc0tt