Title: Is there any equivalent to COPY RESOURCE?
Question:

I got the following compiler warning. Is there any equivalent for the COPY RESOURCE functionality?
--W: Directive ignored: COPY RESOURCE; file = smSWLOGON.CO, line = 1783, col 
Answer: 
The isCOBOL compiler ignores the COPY RESOURCE statement to avoid creating a .jar file for each program.
We suggest putting the resouce files (.bmp for example) in the same folder as the .class files. You can create a myapplication.jar file that contains all .class and resource files.

For more information see the isCOBOL 2015 R1 Documentation: isCOBOL Evolve : The Basics : isCOBOL and Java : JAR Files and the Jar Utility

Authored by: Veryant Support on Wed, Sep 2nd, 2009 at 7:00 PM
This question has been viewed 6553 times so far.
Online URL: http://support.veryant.com/support/phpkb/question.php?ID=63

Powered by PHPKB Knowledge Base Software