Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.edit.jni
Class IBMiEditorCOBOLNativeInterface

java.lang.Object
  extended by com.ibm.etools.iseries.edit.jni.IBMiEditorNativeInterface
      extended by com.ibm.etools.iseries.edit.jni.IBMiEditorCOBOLNativeInterface
All Implemented Interfaces:
IISeriesEditorNativeConstants

public class IBMiEditorCOBOLNativeInterface
extends IBMiEditorNativeInterface
implements IISeriesEditorNativeConstants

This is the interface between this package and COBOL program verifier and syntax checker DLLs. Each method in this class has a corresponding native method of the same name appended with the string 'Native'. All methods return one of the listed return codes.


Field Summary
static String copyright
           
 
Fields inherited from interface com.ibm.etools.iseries.edit.IISeriesEditorNativeConstants
CODE400_ERROR_LOADING_CODE_INTERFACE_LIBRARY, CODE400_ERROR_LOADING_CODE_LIBRARY, CODE400_ERROR_LOADING_CODE_METHOD, CODE400_ERROR_LOADING_REGISTRY_KEY_ADTS_INSTALL, CODE400_ERROR_LOADING_REGISTRY_KEY_WDT_DIRECTORY, CODE400_OK, NATIVE_ERROR_LOADING_NATIVE_INTERFACE_LIBRARY, NATIVE_ERROR_LOADING_NATIVE_LIBRARY, NATIVE_ERROR_LOADING_NATIVE_METHOD, NATIVE_ERROR_NO_PATH_GIVEN, NATIVE_ERROR_RESOLVING_PLUGIN_PATH, NATIVE_OK
 
Constructor Summary
IBMiEditorCOBOLNativeInterface()
           
 
Method Summary
static String getMessageFile()
           
static boolean getProgramVerifierLoadStatusCOBOLILE()
          Returns the whether an attempt was made to load the required DLLs
static int getProgramVerifierStatusCobolILE()
          Returns the status of the syntax checker
static int getSyntaxCheckerStatusCobolILE()
          Returns the status of the syntax checker
static int syntaxCheckCobolILE(ISeriesEditorCobolSyntaxChecker syntaxChecker, int iLineStart, int iLineEnd)
          Syntax checks Cobol ILE.
static int verifyProgramCobolILE(VerifierCobolILE verifier, VerifierCobolILEOptions PVoptions)
          Program verifies Cobol ILE
 
Methods inherited from class com.ibm.etools.iseries.edit.jni.IBMiEditorNativeInterface
convertUrlStringToOsPath, getDllsPath, getMessageFileName, getMessageFilePath, getQSYSSubSystemDllPath, issueMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

copyright

public static final String copyright
See Also:
Constant Field Values
Constructor Detail

IBMiEditorCOBOLNativeInterface

public IBMiEditorCOBOLNativeInterface()
Method Detail

getProgramVerifierLoadStatusCOBOLILE

public static boolean getProgramVerifierLoadStatusCOBOLILE()
Returns the whether an attempt was made to load the required DLLs


getProgramVerifierStatusCobolILE

public static int getProgramVerifierStatusCobolILE()
Returns the status of the syntax checker


getSyntaxCheckerStatusCobolILE

public static int getSyntaxCheckerStatusCobolILE()
Returns the status of the syntax checker


syntaxCheckCobolILE

public static int syntaxCheckCobolILE(ISeriesEditorCobolSyntaxChecker syntaxChecker,
                                      int iLineStart,
                                      int iLineEnd)
Syntax checks Cobol ILE.


verifyProgramCobolILE

public static int verifyProgramCobolILE(VerifierCobolILE verifier,
                                        VerifierCobolILEOptions PVoptions)
Program verifies Cobol ILE


getMessageFile

public static String getMessageFile()

Rational Developer for Power Systems Software
V7.6

Copyright © 2011 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.