|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use CobolException | |
com.microfocus.cobol | |
com.microfocus.cobol.lang | |
com.microfocus.cobol.lang.internal | |
mfcobol |
Uses of CobolException in com.microfocus.cobol |
Subclasses of CobolException in com.microfocus.cobol | |
class |
CobolProgramNotFoundException
This exception is thrown when a COBOL can not be found |
class |
CobolRuntimeException
This exception is thrown when the COBOL runtime has caused an exception |
Methods in com.microfocus.cobol that throw CobolException | |
static void |
RuntimeSystem.cobcall(Object retCode,
String program,
Object[] array,
int[] usageDescription,
boolean passJNIEnv_and_self)
Calls a COBOL program with a set of parameters which returns an object * as a parameter |
static void |
RuntimeSystem.cobcall(Object retCode,
String program,
Object[] array,
int[] usageDescription,
boolean passJNIEnv_and_self,
int srvControl)
Calls a COBOL program with a set of parameters which returns an object * as a parameter |
static void |
RuntimeSystem.cobcall(Object retCode,
String program,
Object[] array,
int[] usageDescription)
Calls a COBOL program with a set of parameters which returns an object * as a parameter |
static int |
RuntimeSystem.cobcall(String program,
ParameterList parameters)
Calls a COBOL program with a specifed ParameterList |
static void |
RuntimeSystem.cobcall(Object retCode,
String program,
ParameterList parameters)
Calls a COBOL program with a specifed ParameterList and updates a return-code object. |
static int |
RuntimeSystem.cobcall(String program)
Calls a COBOL program with no parameters. |
static void |
RuntimeSystem.ccall(Object retCode,
String program,
Object[] array,
int[] usageDescription)
Calls a C function with a set of parameters which returns an object as a parameter |
static int |
RuntimeSystem.ccall(String program,
Object[] array,
int[] usageDescription)
Calls a c function with a set of parameters which returns an object as a parameter |
static void |
RuntimeSystem.cobrcall(Object retCode,
String program,
ParameterList parameters)
Calls a COBOL program with a set of parameters, then updates the retCode object with return-code NB: This method allows the user to call legacy COBOL programs without requiring changes |
static void |
RuntimeSystem.cobrcall(Object retCode,
String program,
ParameterList parameters,
int srvCtl)
Calls a COBOL program with a set of parameters and server control flags, then updates the retCode object with return-code NB: This method allows the user to call legacy COBOL programs without requiring changes NB: Server control flags modify behaviour of runtime system to allow execution in context of a Java app server |
static void |
RuntimeSystem.cobcall_Object(Object retValue,
String program,
Object[] array)
Calls a COBOL program with a set of parameters, then it updates the retCode object with return-code. |
static String |
RuntimeSystem.cobgetenv(String name)
Allows you to find a COBOL/System environment variable |
static int |
RuntimeSystem.cobputenv(String name)
Allows you to dynamically change the COBOL environment a Runtime |
static void |
RuntimeSystem.cobclear()
Clears the screen and positions the cursor at line 0, column 0 strings. |
static void |
RuntimeSystem.cobaddstr(String name)
Displays the specified string on the screen at the virutal cursor's current position. |
static void |
RuntimeSystem.cobaddstr(int attribute,
String name)
Displays the specified string on the screen at the virutal cursor's current position. |
static char |
RuntimeSystem.cobgetch()
Gets a character from the keyboard |
static int |
RuntimeSystem.cobcols()
Returns the number of columns on the screen |
static int |
RuntimeSystem.coblines()
Returns the number of lines on the screen |
static void |
RuntimeSystem.cobmove(int y,
int x)
Move to the row, column on the screen |
static int |
RuntimeSystem.cobrescanenv()
Causes the Runtime to rescan the environment for COBOL environment strings. |
static void |
RuntimeSystem.cobcancel(String program)
Causes the Runtime to CANCEL the program specified. |
static void |
RuntimeSystem.cobtidy()
Causes the Runtime to tidy itself up. |
static int |
RuntimeSystem.cobthreadtidy()
Causes the COBOL thread associated with the currently running Java thread to be cleanly finalized. |
static int |
RuntimeSystem.cobcall_int(String program,
Object[] array)
Calls a COBOL program with a set of parameters which returns a int |
static int |
RuntimeSystem.cobcall(String program,
Object[] array)
Calls a COBOL program with a set of parameters which returns a int |
static byte |
RuntimeSystem.cobcall_byte(String program,
Object[] array)
Calls a COBOL program with a set of parameters which returns a String |
static boolean |
RuntimeSystem.cobcall_boolean(String program,
Object[] array)
Calls a COBOL program with a set of parameters which returns a boolean |
static short |
RuntimeSystem.cobcall_short(String program,
Object[] array)
Calls a COBOL program with a set of parameters which returns a short |
static float |
RuntimeSystem.cobcall_float(String program,
Object[] array)
Calls a COBOL program with a set of parameters which returns a float |
static Integer |
RuntimeSystem.cobcall_Integer(String program,
Object[] array)
Calls a COBOL program with a set of parameters which returns a Integer |
static Byte |
RuntimeSystem.cobcall_Byte(String program,
Object[] array)
Calls a COBOL program with a set of parameters which returns a Byte |
static Boolean |
RuntimeSystem.cobcall_Boolean(String program,
Object[] array)
Calls a COBOL program with a set of parameters which returns a Boolean |
static Short |
RuntimeSystem.cobcall_Short(String program,
Object[] array)
Calls a COBOL program with a set of parameters which returns a Short |
static Float |
RuntimeSystem.cobcall_Float(String program,
Object[] array)
Calls a COBOL program with a set of parameters which returns a Float |
static String |
RuntimeSystem.cobcall_String(String program,
Object[] array)
Calls a COBOL program with a set of parameters which returns a String |
protected void |
RuntimeSystem.updateParameters(Object[] old,
Object[] update)
Method declaration |
boolean |
RuntimeSystem.cobinvoke_boolean(String methodName,
Object[] params)
Invokes a COBOL instance with a set of parameters returning a boolean |
byte |
RuntimeSystem.cobinvoke_byte(String methodName,
Object[] params)
Invokes a COBOL instance with a set of parameters returning a byte |
char |
RuntimeSystem.cobinvoke_char(String methodName,
Object[] params)
Invokes a COBOL instance with a set of parameters returning a char |
short |
RuntimeSystem.cobinvoke_short(String methodName,
Object[] params)
Invokes a COBOL instance with a set of parameters returning a short |
int |
RuntimeSystem.cobinvoke_int(String methodName,
Object[] params)
Invokes a COBOL instance with a set of parameters returning an int |
long |
RuntimeSystem.cobinvoke_long(String methodName,
Object[] params)
Invokes a COBOL instance with a set of parameters returning a long |
float |
RuntimeSystem.cobinvoke_float(String methodName,
Object[] params)
Invokes a COBOL instance with a set of parameters returning a float |
double |
RuntimeSystem.cobinvoke_double(String methodName,
Object[] params)
Invokes a COBOL instance with a set of parameters returning a double |
void |
RuntimeSystem.cobinvoke_void(String methodName,
Object[] params)
Invokes a COBOL instance with a set of parameters |
Object |
RuntimeSystem.cobinvoke_object(String methodName,
Object[] params)
Invokes a COBOL instance with a set of parameters returning an object |
static boolean |
RuntimeSystem.cobinvokestatic_boolean(Class classObject,
String methodName,
Object[] params)
Invokes a COBOL class with a set of parameters returning a boolean |
static byte |
RuntimeSystem.cobinvokestatic_byte(Class classObject,
String methodName,
Object[] params)
Invokes a COBOL class with a set of parameters returning a byte |
static char |
RuntimeSystem.cobinvokestatic_char(Class classObject,
String methodName,
Object[] params)
Invokes a COBOL class with a set of parameters returning a char |
static short |
RuntimeSystem.cobinvokestatic_short(Class classObject,
String methodName,
Object[] params)
Invokes a COBOL class with a set of parameters returning a short |
static int |
RuntimeSystem.cobinvokestatic_int(Class classObject,
String methodName,
Object[] params)
Invokes a COBOL class with a set of parameters returning an int |
static long |
RuntimeSystem.cobinvokestatic_long(Class classObject,
String methodName,
Object[] params)
Invokes a COBOL class with a set of parameters returning a long |
static float |
RuntimeSystem.cobinvokestatic_float(Class classObject,
String methodName,
Object[] params)
Invokes a COBOL class with a set of parameters returning a float |
static double |
RuntimeSystem.cobinvokestatic_double(Class classObject,
String methodName,
Object[] params)
Invokes a COBOL class with a set of parameters returning a double |
static void |
RuntimeSystem.cobinvokestatic_void(Class classObject,
String methodName,
Object[] params)
Invokes a COBOL class with a set of parameters |
static Object |
RuntimeSystem.cobinvokestatic_object(Class classObject,
String methodName,
Object[] params)
Invokes a COBOL class with a set of parameters returning an object |
int |
CobolBean.cobcall(String program)
Calls a COBOL program with no parameters, return-code is returned as a int. |
protected void |
CobolBean.throwExceptionIfStatusCodeFailed()
Method declaration |
int |
CobolBean.cobcall(String program,
ParameterList parameters)
Calls a COBOL program with a ParameterList and returns return-code as a int. |
void |
CobolBean.cancel()
Performs a cancel on any COBOL programs used with in this bean. |
int |
CobolBean.cobrcall(String program)
Calls a COBOL program with no parameters which returns the return-code as a int NB: This method allows the user to call unchanged COBOL programs. |
int |
CobolBean.cobrcall(String program,
ParameterList parameters)
Calls a COBOL program with a set of parameters which returns the return-code as a int NB: This method allows the user to call unchanged COBOL programs. |
long |
CobolBean.cobload(String program)
Preload a cobol program without calling the program-id. |
void |
CobolBean.dispose()
Dispose this instance of a CobolBean. |
protected static byte[] |
CobolBean.allocContext()
Method declaration |
protected static int |
CobolBean.getKeySize()
getKeySize get size of context (size of void *) |
protected static int |
CobolBean.createContext(byte[] attachKey)
createContext |
protected static int |
CobolBean.attachContext(byte[] attachKey)
attachContext |
protected static int |
CobolBean.detatchContext(byte[] detatchKey)
detachContext |
protected static int |
CobolBean.destroyContext(byte[] detatchKey)
Method declaration |
protected static int |
CobolBean.setContext(byte[] setKey)
setContext |
protected static int |
CobolBean.getContext(byte[] getKey)
Method declaration |
protected static int |
CobolBean.freeContext(byte[] getKey)
Method declaration |
Constructors in com.microfocus.cobol that throw CobolException | |
CobolBean()
Constructor for a CobolBean Usage: |
Uses of CobolException in com.microfocus.cobol.lang |
Methods in com.microfocus.cobol.lang that throw CobolException | |
DataTypeArray |
DataTypeArray.add(Object[] elements)
Add a set of Objects[] to the DataTypeArray Below is a example:
DataTypeArray myArray = new DataTypeArray()
.add(firstArray)
.add(secondSecondArray);
|
byte[] |
DataTypeArray.getBytes()
Returns the byte[] representation of the DataTypeArray |
void |
DataTypeArray.synchronizeData()
synchronizeData calls all elements synchronizeData() methods inside a DataTypeArray |
byte[] |
DataType.getBytes()
getBytes() is a callback method that is called from the COBOL Runtime to access the byte[] representation of the Java instance. |
void |
DataType.synchronizeData()
synchronizeData() is a callback method that allows a user defined Java COBOL datatype class to synchronize its internal fields with the updated byte[] representation. |
byte[] |
CobolTime.getBytes()
public method called by the COBOL Runtime to allow the CobolTime instance to update its Java represenation of the CobolTime field. |
void |
CobolTime.synchronizeData()
public method called by the COBOL Runtime to allow the CobolTime instance to update its Java represenation of the CobolTime field. |
byte[] |
CobolNational.getBytes()
get the byte[] of a Cobol National field |
void |
CobolNational.synchronizeData()
called by runtime when the CobolNational field (this.nationalBytes) is changed |
byte[] |
CobolDate.getBytes()
getBytes() public method to return bytes[] representation of a CobolDate field |
void |
CobolDate.synchronizeData()
public method called by the COBOL Runtime to allow the CobolDate instance to update its Java represenation of the CobolDate field. |
byte[] |
CobolBigInteger.getBytes()
get the comp3 representation of a CobolBigInteger |
void |
CobolBigInteger.synchronizeData()
synchronizeData the COBOL represention of a CobolBigInteger with the Java internal representation. |
byte[] |
CobolBigDecimal.getBytes()
get the comp3 representation of a CobolBigDecimal |
void |
CobolBigDecimal.synchronizeData()
synchronizeData the COBOL represention of a CobolBigDecimal with the Java internal representation. |
Constructors in com.microfocus.cobol.lang that throw CobolException | |
DataTypeArray()
Construct a array of DataType objects |
|
DataTypeArray(Object[] elements)
Construct a DataTypeArray given a Object[] |
Uses of CobolException in com.microfocus.cobol.lang.internal |
Subclasses of CobolException in com.microfocus.cobol.lang.internal | |
class |
CobolEntryException
|
class |
CobolRecordException
|
Methods in com.microfocus.cobol.lang.internal that throw CobolException | |
long |
CobolEntry.call(Object[] parms)
|
long |
CobolEntry.call(Object[] parms,
int srvCtl)
|
Uses of CobolException in mfcobol |
Subclasses of CobolException in mfcobol | |
class |
COBOLException
Deprecated. replaced by com.microfocus.cobol.CobolException |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Copyright © 2000 Micro Focus International Limited. All rights reserved.
This document and the proprietary marks and names used herein are protected by international law.