Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.rse.util.clprompter
Class CLSyntaxCheck

java.lang.Object
  extended by com.ibm.etools.iseries.rse.util.clprompter.CLSyntaxCheck

public class CLSyntaxCheck
extends Object

Use this class to verify the syntax of an iSeries CL command without having to prompt.

Since:
5.0

Field Summary
static String Copyright
           
 
Constructor Summary
CLSyntaxCheck(IBMiConnection iSeries)
          Constructor for CLSyntaxCheck.
CLSyntaxCheck(IBMiConnection iSeries, String command)
          Deprecated.  
 
Method Summary
 SystemMessage checkSyntax()
           
 void setCCSID(int CCSID)
          Sets up the CCSID to use for Syntax Checking
 void setCommand(String command)
           
 void setMode(int mode)
          Sets up the mode to use for syntax checking.....
 void setUsePromptOverrides(boolean value)
          Tells the syntax checker to ignore or use prompt override programs
 
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

CLSyntaxCheck

public CLSyntaxCheck(IBMiConnection iSeries,
                     String command)
Deprecated. 

Constructor for CLSyntaxCheck.

Parameters:
iSeries - the iSeries to use to check the syntax (cache info will be used if available)
command - the command string to check syntax

CLSyntaxCheck

public CLSyntaxCheck(IBMiConnection iSeries)
Constructor for CLSyntaxCheck.

Parameters:
iSeries - the iSeries to use to check the syntax (cache info will be used if available)
Method Detail

setCommand

public void setCommand(String command)

checkSyntax

public SystemMessage checkSyntax()

setUsePromptOverrides

public void setUsePromptOverrides(boolean value)
Tells the syntax checker to ignore or use prompt override programs

Parameters:
value - true if the syntax checker should run the prompt overrides program, false otherwise

setMode

public void setMode(int mode)
Sets up the mode to use for syntax checking..... one of

Parameters:
mode - the mode to use
Since:
6.0 56182
See Also:
com.ibm.etools.iseries.core.util.clprompter.CLPrompter

setCCSID

public void setCCSID(int CCSID)
Sets up the CCSID to use for Syntax Checking

Parameters:
CCSID - The CCSID to use
Since:
6.0

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.