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

Veryant Knowledge Base
Home > All Categories > Compiler General > Is there a faster way to compile?
Question Title Is there a faster way to compile?

There are several techniques that can increase the speed of compilation.

  1. Split the compilation into two steps
    • First compile all of the source files with -jj (and omit -jc) to produce just the .java intermediate source files.
    • Then compile all of the .java source files into .class files with the JDK compiler using wildcards (e.g. javac *.java)
  2. Split the compilation into two steps and run them in parallel
    • First compile with -jj (and omit -jc) to produce just the .java intermediate source file for a single program (e.g. vcc -jj ... PROG1.cbl)
    • Then compile the .java source into .class files with the JDK compiler in the background (e.g. javac PROG1.java &)
  3. Use the IDE
    • Put your source code into an IDE project
    • Let the IDE build the objects in the background
  4. Use ant
    • Create a build.xml script including dependencies
    • Run the ant utility to compile just the files that require it
  5. Use make
    • Create a makefile
    • Run the make utility to compile just the files that require it
  6. Use iscbatch
    • Ask Veryant Support to help you set up iscbatch
    • Use your current build scripts or a makefile
Authored by: Veryant Support This question has been viewed 4599 times so far.
Click Here to View all the questions in Compiler General 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. Why do I get the error "java.lang.NoClassDefFoundError: com/sun/tools/javac/Main" ?
  2. How do I resolve "Error writing file: too many constants" error?
  3. What compiler options cannot be specified with the >> IMP OPTION compiler directive?
  4. How can I make my Linkage parameters more flexible?
  5. How do I retrieve the version of the Java Compiler and the isCOBOL Compiler that produced a given class file?
  6. Using Regular Expressions to replace text in your program
Article Information Additional Information
Article Number: 183
Created: 2011-09-27 4:02 PM
Rating: 3 Stars
 
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.