support: Customer Portal
Focused on delivering choice, investment protection and flexibility to organizations with valuable COBOL assets
 

Veryant Knowledge Base
Home > All Categories > Debugging > How do I specify isCOBOL, Java or application properties on the command line?
Question Title How do I specify isCOBOL, Java or application properties on the command line?

To specify properties for isCOBOL, Java or the application on the java, iscc, isrun, iscrun, isserver or iscserver command line, use either the -D or -J-D option as follows:

On the runtime or isCOBOL Application Server command lines use -J-D followed by property name, equal sign and value without spaces. For example, to specify the Java encoding as cp858 use the following runtime command line:

iscrun -J-Dfile.encoding=cp858 PROG

On the debugger command line make sure that the properties follow the debugger class name (java com.iscobol.debugger.GraphDebugger) or follow the iscrun -d command line option. Also, use -D instead of -J-D. For example, to specify the Java encoding as cp858 use the following debugger command line:

iscrun -d -Dfile.encoding=cp858 PROG

Notice that -d precedes the properties and there is no -J before the -D in the property specification.

You can specify multiple properties by repeating the -J-D or -D command line options. For example,

iscrun -J-Dfile.encoding=cp858 -J-Discobol.encoding=cp858 PROG

Authored by: Veryant Support This question has been viewed 3998 times so far.
Click Here to View all the questions in Debugging category.
File Attachments File Attachments
There are no attachment file(s) related to this question.
How helpful was this article to you?
User Comments User Comments Add Comment
There are no user comments for this question. Be the first to post a comment. Click Here
Related Questions Related Questions
  1. How do I set things up to remote debug just one program when the server executes it?
  2. Why do I get "File not valid" when I run the debugger?
  3. How do I configure the debugger to find source code that is not in CLASSPATH?
  4. Starting a new trace log file for the current run unit
  5. How to tell the Debugger to pause with a different key than the Pause key?
  6. Did you know how to show variables in Debugger using a tree structure?
  7. Did you know you can see the content of variables while debugging?
Article Information Additional Information
Article Number: 160
Created: 2011-01-03 2:11 PM
Rating: 1 Star
 
Article Options Article Options
Print Question Print this Question
Email Question Email Question to Friend
Export to Adobe PDF Export to PDF File
Export to MS Word Export to MS Word
Bookmark Article
Subscribe to Article Subscribe to Article
 
Search Knowledge Base Search Knowledge Base



 
 

© Veryant - All Rights Reserved
Veryant and isCOBOL are trademarks or registered marks of Veryant in the United States and other countries. All other marks are the property of their respective owners.