I have not worked with output from the command line in awhile, but I recall you can receive messages back into the job executing the command and then do with them as you wish (probably display them back to the browser). For the command dsplnk, in a batch environment it creates print file qsysprt with the information. Within CGI, the print file will probably be something else (there was another thread about that in here). You could try something similar to what I've done to display indented program listing within the browser. I retrieve the print file, convert it into a physical file, and then read it back into the CGI program and build the html to display with it. I used the CGIDEV2 program that displays source as a base, and went from there. For basic commands I assume you will be running them, so vaildation will not be needed. Retrieve the command from the browser perform a process to hold any generated spool file, perform a docmd, then create a qtemp/xxxxxxx random fi
le copy the print to the file and get what you need from that. It wasn't alot of work and for basic commands it should be enough for your purposes.
YAHOO! GROUPS LINKS