[Migrated content. Thread originally posted on 15 November 2011]
Hello,I've created a remote Cobol project with Visual Cobol Eclipse; this project only have one Cobol program that display "HELLO WORLD!!". I can debug this program successfully, because I have installed "Develpment Hub" in the remote system and "ViewNow X" in my local system.
Now, I want to have an executable of this program that display its output in my local system...
I think that to do this, I have to follow this steps...
-I guess I should create an "X Client" in "X Control Panel" of my local system, to execute the remote program by passing the parameter "Display" (it will be the Identifier for the X server that will display the program output)
-So I will need to modify the program to accept and process the parameter "Display".
To do this I supose that I will need to add a X11 protocol library...
Are these the correct steps to follow?
What changes should be made in the program? Which X11 protocol library should I use?
Cobol Program:
program-id. Program8 as "Program8".
environment division.
configuration section.
data division.
working-storage section.
01 TECLA PIC X(10).
procedure division.
DISPLAY "HELLO WORLD!!!!".
display "DISPLAY" upon environment-name.
accept VAL from environment-value.
display "DISPLAY: ", VAL.
ACCEPT TECLA.
goback.
end program Program8.
Thank you