Skip to main content

[archive] Using Acu as an html generation tool?

  • May 16, 2008
  • 1 reply
  • 0 views

[Migrated content. Thread originally posted on 16 May 2008]

I was wondering if there was any tools for Acu that would allow it's objects to be called to generate html? Since this may not make a lot of sense I'll try to give an example of what we are looking for...

If I was on my intranet site and went to localhome.com I would want the server to understand that it needed to run an Acu program. The program would take any information provided, access data bases and return the html for the browser to show in the browser window.

I'm not looking to have an active-x in our application or to call IE from the application. I was wondering if Acu objects could be used more like ASP or JSP where they are called to create the final html code for a browser.

It's possible this could be done with C Script in unix to do a run cobol I think but I was hoping for something a bit cleaner that would not require extra scripting in the background.

EG: url/home.asp knows to use the asp script to generate a final output page. JSP pages are compiled objects and work the same way.

thanks, Mike

1 reply

[Migrated content. Thread originally posted on 16 May 2008]

I was wondering if there was any tools for Acu that would allow it's objects to be called to generate html? Since this may not make a lot of sense I'll try to give an example of what we are looking for...

If I was on my intranet site and went to localhome.com I would want the server to understand that it needed to run an Acu program. The program would take any information provided, access data bases and return the html for the browser to show in the browser window.

I'm not looking to have an active-x in our application or to call IE from the application. I was wondering if Acu objects could be used more like ASP or JSP where they are called to create the final html code for a browser.

It's possible this could be done with C Script in unix to do a run cobol I think but I was hoping for something a bit cleaner that would not require extra scripting in the background.

EG: url/home.asp knows to use the asp script to generate a final output page. JSP pages are compiled objects and work the same way.

thanks, Mike
Check out the Acu documentation A Programmer's Guide to the Internet

Chapter 4: Launching Applications on a Web Server With CGI

CGI provides a method where an HTML page contains a tag that launches a CGI process (in this case a COBOL program), the COBOL program can either fill in a HTML template or create an HTML page on it's own.