I installed SDK for my Cognos BI 10.2.0 environment. Now I try to compile and run a Java program provided by IBM
https://www-304.ibm.com/support/docview.wss?uid=swg21340789 (https://www-304.ibm.com/support/docview.wss?uid=swg21340789)
to recover the My Folders of users that no longer exist in the Authentication Provider. When I try compile this program I get an error
GetOrphanMyFolders.java:96: cannot find symbol
symbol : variable PropEnum
location: class GetOrphanMyFolders
PropEnum.canBurst ,
^
GetOrphanMyFolders.java:97: cannot find symbol
symbol : variable PropEnum
location: class GetOrphanMyFolders
PropEnum.capabilities ,
^
I have set the classpath variable to CLASSPATH=C:\Program Files\ibm\cognos\c10_64\sdk\java\lib. What is the cause for this error. How to correct the code to get this work?
Hi,
You have to set the class path fot jar files from the lib directory .
in your case C:\Program Files\ibm\cognos\c10_64\sdk\java\lib\axis.jar ; C:\Program Files\ibm\cognos\c10_64\sdk\java\lib\axisCognosClient.jar;..... and so on
The error PropEnum.canBurst , is because it was not able to find PropEnum class
^
try to set the class path to all the jar files from the location C:\Program Files\ibm\cognos\c10_64\sdk\java\lib\xxxxxxx.jar
and compile the program
8)