iSeries Remote Systems
v6.0.0

com.ibm.etools.iseries.editor
Class ISeriesEditorRPGILENativeInterface

java.lang.Object
  extended bycom.ibm.etools.iseries.editor.ISeriesEditorNativeInterface
      extended bycom.ibm.etools.iseries.editor.ISeriesEditorRPGILENativeInterface

public class ISeriesEditorRPGILENativeInterface
extends ISeriesEditorNativeInterface

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
ISeriesEditorRPGILENativeInterface()
           
 
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, boolean bOutlineView, 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.editor.ISeriesEditorNativeInterface
convertUrlStringToOsPath, getDllsPath, getMessageFileName, getMessageFilePath, 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

ISeriesEditorRPGILENativeInterface

public ISeriesEditorRPGILENativeInterface()
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,
                                      boolean bOutlineView,
                                      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


iSeries Remote Systems
v6.0.0

Copyright © 2005 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.