Working with Remote Projects
A common scenario for an isCOBOL developer is the need to develop and maintain programs on their personal computer, but compile and/or test them from a central development server.
For instance, your programs could be batch programs using resources from the server, or they might need to interact with specific software that might not be installed on your local PC.
isCOBOL's IDE can now compile and run your programs on another computer by using isCOBOL Server as an IDE remote server. Here are the steps to set this up.
Start isCOBOL server on the remote server with the special "-ide" switch.
You can start it from a working folder for the IDE project.
You can also pass the port number with "-port" if you want to specify a port other than the default 10999, as well as pass configuration variables in a properties file.
Here's an example of the IDE's remote server starting on port 10995 on a Windows machine:
On your development PC, add a new server to your isCOBOL IDE.
There is a Servers view on the bottom left corner of the IDE window.
Click the "+" icon to add a new server connection. Set the hostname and port where you started the isCOBOL server.
The name for the server can be anything useful to you. It will look similar to the following:
Assign the project(s) that you want to compile and run on that remote server.
Not all of the projects in your workspace need to be assigned to the remote server, just the ones that you configure in this way.
Right click the project name in the File view and select "isCOBOL Remote Servers".
Choose the server that you want to assign to that project.
The project is almost ready now to work with the remote server, but you still need to change the current compile and runtime modes from the default to the new remote server modes.
Use the "Project > Properties > isCOBOL Settings > Compile/runtime options" menu and click the "Change" button at the right of the "Current mode" field. Select the @ServerName.Debug entry.
The following screenshot shows how it looks:
Next, select the Runtime tab on that same configuration screen and change the current mode to @ServerName.Run
Click the "Apply and Close" button.
And you're done!
The next time you compile and run a program in that project, it will create the class on the remote server and run it from there in thin-client mode.
For instance, if your program creates a file, the file will be created on the server side.
If your program has a GUI screen, that will show on your development PC.
Here's a simple program that will create the text sequential file on the server and show the display output in the IDE's console view.
select myfile assign to random "seqfile.txt"
organization is line sequential.
01 myrec pic x(50).
77 mytime pic x(8).
open output myfile
move "seq line 1" to myrec perform write-rec
move "this is 2nd line" to myrec perform write-rec
move "now line # iii" to myrec perform write-rec
display "File created with 3 records!"
accept mytime from time
string mytime " - " myrec into myrec end-string
by: Veryant Support
This question has been viewed 89 times so far.
Here to View all the questions in isCOBOL IDE
|There are no attachment file(s) related to this question.
| User Comments
|There are no user comments for this question. Be the first to post a comment. Click Here
| Related Questions
- How do I set up a CVS repository and access it from Eclipse and the isCOBOL IDE?
- How do I resolve the error "Unhandled event loop exception"?
- How to filter the problems view to avoid seeing the errors of so many different programs in a project?
- isCOBOL IDE or Eclipse error "Workspace in use or cannot be created, choose a different one"
- Can you recommend a book for learning the Eclipse based isCOBOL IDE?
- How do I make an isCOBOL program that will run on a mobile device, like iPad?
- isCOBOL IDE Eclipse Troubleshooting
- Does Veryant provide a plugin to Eclipse or did Veryant customize Eclipse to be the IDE for isCOBOL?
- What are the steps to add an external tool or integrate a utility such as JDBC2FD into the isCOBOL IDE?
- How do I install support for Subversion (SVN) in Eclipse or isCOBOL IDE?
- On which version of Eclipse are the isCOBOL 's built?
- Generate stopped working after upgrading the isCOBOL IDE
- What is the current working directory when I launch my program from the IDE?
- How do I configure the IDE to put logs and other files in separate project folders?
- How do I install new plugins received from Veryant Support?
- Were you aware of the ability of "block selection" in the isCOBOL Editor under Eclipse?
- Toggling comments in the properties file editor
- Is there a way to stop the pop up from coming up when I start to type in code in the program?
- How to create groups of fields on the IDE screen painter, that use the same area on the screen, but visible at different moments?
- How can I work with the java property 'file.encoding' inside the isCOBOL IDE?
- Did you know you can compare text files using the isCOBOL IDE?
- How to generate and compile an isCOBOL IDE workspace in background-mode
- How can we avoid having to select the way a program will be "Run As" or "Debug As" in the IDE each time we run it?
- How to create a report with the IDE Report Designer
- How to use existing FD/SL copybooks in the Screen Programs without generating FD/SL from IDE Data View
- How to run batch programs on a Linux server and compile and debug them from the IDE
- Guide to update the isCOBOL development environment