Generating the Knowledgeware Index

You must generate the Knowledgeware index manually.

EKL is made up of basic functions that can be read in all cases. Other functions are delivered by apps. The corresponding dlls must be loaded. The index is a link between the EKL function and this dll.

This task shows you how to:

Generating the Index For the Complete Runtime View

You can generate the index for the complete Runtime view.

  1. Open a DOS window.
  2. Enter the following commands:
    // Step 1
    // myEnv: Absolute directory mkdir myEnv 
    						 
    // Step 2 
    // DownloadOfV6: Location/absolute directory of the V6
    						 
    // IndexEnv: Valid file name without suffix. 
    // Workspaces_Concatenation: Valid workspaces/download paths concatenation 
    DownloadOfV6\win_b64\code\bin\setcatenv -e 
    IndexEnv -p Workspaces_Concatenation -d myEnv
    -desktop yes -new yes -a global  
    						 
    // Step 3 without ticket
    DownloadOfV6\win_b64\\code\bin\CATCkeGenerateIdx.exe <provider> <server:port> <username> <password> 
    <role> <index filename without extension> [<path1> ..]
    
    // Step 3 with ticket
    DownloadOfV6\win_b64\\code\bin\CATCkeGenerateIdx.exe -tk <provider> <server:port> <ticket>
     <index filename without extension> [<path1> ..]
    
    

    If your environment is already created, execute only:

    DownloadOfV6\win_b64\code\bin\catstart -env 
    						IndexEnv -direnv myEnv -run CATCkeGenerateIdx 
    						<provider> <server:port> <username> <password> <role> full_path_of_the_index_to_be_generated_without_the_extension

  3. Copy/paste the CATKnowledgeDictionary.CATKweIdx file into the knowledge subdirectory of one of the directories of the <CATKnowledgePath>.

Generating the Index For One Workspace of the Runtime View

If you generate the index for one workspace of the runtime view, only the resources of this workspace are considered.

Before you begin: Perform steps 1 and 2 as described above.
  1. Enter:
    // Step 3 
    						// mydirectory is a temporary directory that will contain the generated index file. 
    						DownloadOfV6\win_b64\code\bin\catstart -env IndexEnv -direnv myEnv -run CATCkeGenerateIdx <provider> 
    						<server:port> <username> <password> <role> mydirectory Workspace_Path 	
  2. Copy the generated index into the knowledge subdirectory of the <CATKnowledgePath> of your workspace.