Running a COBOL/SQL (Oracle) application from the command line

Once your application is ready to be distributed:
  • In the Navigator View, right-click on your project > Export > Elastic COBOL Deploy Wizard
  • Choose a name for your .jar file (e.g. myapp.jar)
  • Ensure the "Include the selected runtime elements within the export archive" check-box is deselected
  • Export your application and click Finish
In the export directory you should now have: ecobol.jar & myapp.jar -- to execute:
c:> java -cp .;\your-location-of\ojdbc14.jar;ecobol.jar;myapp.jar mainprogram
Where "mainprogram" is the main entry point for your application.
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request


Please sign in to leave a comment.
Powered by Zendesk