Rational Developer for Power Systems Software
V7.6

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

java.lang.Object
  extended by com.ibm.etools.iseries.edit.jni.IBMiEditorNativeInterface
      extended by com.ibm.etools.iseries.edit.jni.IBMiEditorRPGILENativeInterface

public class IBMiEditorRPGILENativeInterface
extends IBMiEditorNativeInterface

This is the interface between this package and ILE RPG and syntax chekcer 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
           
 
Constructor Summary
IBMiEditorRPGILENativeInterface()
           
 
Method Summary
static boolean getProgramVerifierLoadStatusRPGILE()
          Returns the whether an attempt was made to load the program verifier libraries
static int getProgramVerifierStatusRPGILE()
          Returns the status of the program verifier
static int getSyntaxCheckerStatusRPGILE()
          Returns the status of the syntax checker
static void loadPVLibraries()
          Loads the DLL that contains the interface to the program verifier.
static void loadSCLibraries()
          Loads the DLL that contains the interface to the syntax checker.
static int syntaxCheckRPGILE(ISeriesEditorRPGILESyntaxChecker syntaxChecker, int iLineStart, int iLineEnd, byte[] baHostAlias, byte[] baSpecialChars, byte[] baSourceType, int iHostCommunicationsPort, boolean bOffline, boolean bSyntaxCheckSQL)
          Syntax checks RPG ILE.
static int verifyProgramRPGILE(VerifierRPGILE verifier, byte[] baHostServer, byte[] baHostFile, byte[] baEventFilename, byte[] baHostMember, boolean bConvertDateTimeTimestamp, boolean bConvertVariableLengthField, boolean bConvertDbcsGraphic, boolean bConvertVariableDbcsGraphic, int iEnumAllowNullValue, boolean bGenerateListing, boolean bShowCrossReference, boolean bShowCopyStatements, boolean bShowDDSStatements, boolean bShowExternalProceduresAndFields, byte[] baFile, byte[] baPath, byte[] baListing, byte[] baSourceListingIndentation, int iLinesPerPage, int iLanguageIdentifier, int iSortSequenceIndex, byte[] baSortSequenceString, int iSortSequenceLibraryIndex, byte[] baSortSequenceLibraryString, byte[] baDocumentNumber, int iNumberOfConditionalDefines, int iLengthOfEachConditionalDefine, byte[] baConditionalDefines, byte[] baLanguageIdentifier, int iNumberOfIncludeDirectories, int iLengthOfEachIncludeDirectory, byte[] baIncludeDirectories, boolean bCheckIfADM, boolean bLocal, int iMode, byte[] baOutlineViewFilename, boolean bpgminfo, boolean bcmdflag, byte[] baPgmInfoFilename, byte[] baPCMLLibrary, byte[] baPCMLPgmMod, int iRSECommPort, byte[] baSpecialCharacters, boolean bIFSFile, boolean bSqlrpgle, byte[] baDataAreaFileName)
          Program verifies RPG 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 String copyright
Constructor Detail

IBMiEditorRPGILENativeInterface

public IBMiEditorRPGILENativeInterface()
Method Detail

loadPVLibraries

public static void loadPVLibraries()
Loads the DLL that contains the interface to the program verifier.


loadSCLibraries

public static void loadSCLibraries()
Loads the DLL that contains the interface to the syntax checker.


getProgramVerifierStatusRPGILE

public static int getProgramVerifierStatusRPGILE()
Returns the status of the program verifier


getProgramVerifierLoadStatusRPGILE

public static boolean getProgramVerifierLoadStatusRPGILE()
Returns the whether an attempt was made to load the program verifier libraries


getSyntaxCheckerStatusRPGILE

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


syntaxCheckRPGILE

public static int syntaxCheckRPGILE(ISeriesEditorRPGILESyntaxChecker syntaxChecker,
                                    int iLineStart,
                                    int iLineEnd,
                                    byte[] baHostAlias,
                                    byte[] baSpecialChars,
                                    byte[] baSourceType,
                                    int iHostCommunicationsPort,
                                    boolean bOffline,
                                    boolean bSyntaxCheckSQL)
Syntax checks RPG ILE.


verifyProgramRPGILE

public static int verifyProgramRPGILE(VerifierRPGILE verifier,
                                      byte[] baHostServer,
                                      byte[] baHostFile,
                                      byte[] baEventFilename,
                                      byte[] baHostMember,
                                      boolean bConvertDateTimeTimestamp,
                                      boolean bConvertVariableLengthField,
                                      boolean bConvertDbcsGraphic,
                                      boolean bConvertVariableDbcsGraphic,
                                      int iEnumAllowNullValue,
                                      boolean bGenerateListing,
                                      boolean bShowCrossReference,
                                      boolean bShowCopyStatements,
                                      boolean bShowDDSStatements,
                                      boolean bShowExternalProceduresAndFields,
                                      byte[] baFile,
                                      byte[] baPath,
                                      byte[] baListing,
                                      byte[] baSourceListingIndentation,
                                      int iLinesPerPage,
                                      int iLanguageIdentifier,
                                      int iSortSequenceIndex,
                                      byte[] baSortSequenceString,
                                      int iSortSequenceLibraryIndex,
                                      byte[] baSortSequenceLibraryString,
                                      byte[] baDocumentNumber,
                                      int iNumberOfConditionalDefines,
                                      int iLengthOfEachConditionalDefine,
                                      byte[] baConditionalDefines,
                                      byte[] baLanguageIdentifier,
                                      int iNumberOfIncludeDirectories,
                                      int iLengthOfEachIncludeDirectory,
                                      byte[] baIncludeDirectories,
                                      boolean bCheckIfADM,
                                      boolean bLocal,
                                      int iMode,
                                      byte[] baOutlineViewFilename,
                                      boolean bpgminfo,
                                      boolean bcmdflag,
                                      byte[] baPgmInfoFilename,
                                      byte[] baPCMLLibrary,
                                      byte[] baPCMLPgmMod,
                                      int iRSECommPort,
                                      byte[] baSpecialCharacters,
                                      boolean bIFSFile,
                                      boolean bSqlrpgle,
                                      byte[] baDataAreaFileName)
Program verifies RPG ILE


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.