|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.di.fc.Function
com.ibm.di.fc.zOSTSOCommandLine
public class zOSTSOCommandLine
Field Summary | |
---|---|
static String |
ENTRY_ATTR_APPC_RETCODE
|
static String |
ENTRY_ATTR_CMD
|
static String |
ENTRY_ATTR_COMMAND_OUTPUT
|
static String |
ENTRY_ATTR_TSO_CMD_RETCODE
|
static boolean |
isLibLoaded
|
static String |
LIB_NAME
|
int |
mATBOK
|
static String |
MSG_NO_RESPONSE
|
static int[] |
PARAMS_LEN
|
static String |
PARM_DEST_LU_NAME
|
static int |
PARM_DEST_LU_NAME_ID
|
static String |
PARM_MODE_NAME
|
static int |
PARM_MODE_NAME_ID
|
static String |
PARM_PARTNERTP
|
static int |
PARM_PARTNERTP_ID
|
static String |
PARM_SRC_LU_NAME
|
static int |
PARM_SRC_LU_NAME_ID
|
static String |
PARM_USER_ID
|
static int |
PARM_USER_ID_ID
|
static String |
PARM_USER_PSW
|
static int |
PARM_USER_PSW_ID
|
Fields inherited from class com.ibm.di.fc.Function |
---|
logger |
Constructor Summary | |
---|---|
zOSTSOCommandLine()
|
Method Summary | |
---|---|
void |
debug(String msg)
Writes a message to the log if debug/detailed logging is turned on |
protected String |
executeTSO(String aTsoCmd)
Executes the TSO command passed as parameter. |
String |
getVersion()
|
void |
initAndPrepareForConversation()
|
void |
initialize(Object aParam)
This method is/should be called once after the object has been given its configuration |
static void |
loadLibrary()
|
void |
logmsg(String msg)
Logs the msg string value to the currently used log |
Object |
perform(Object aInObject)
This is the main method of a Function Component. |
protected void |
readZOSParam(String aParamName,
int aParamId,
boolean aRequired,
boolean aToLog,
boolean aToUpperCase)
|
void |
terminate()
This method is/should be called once before the object is released |
Methods inherited from class com.ibm.di.fc.Function |
---|
getConfiguration, getContext, getLog, getParam, getUI, initialize, setConfiguration, setContext, setLog, setParam, updateSchema, verifyInitialized |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String LIB_NAME
public static final String PARM_PARTNERTP
public static final String PARM_DEST_LU_NAME
public static final String PARM_SRC_LU_NAME
public static final String PARM_MODE_NAME
public static final String PARM_USER_ID
public static final String PARM_USER_PSW
public static final int PARM_PARTNERTP_ID
public static final int PARM_DEST_LU_NAME_ID
public static final int PARM_SRC_LU_NAME_ID
public static final int PARM_MODE_NAME_ID
public static final int PARM_USER_ID_ID
public static final int PARM_USER_PSW_ID
public static final int[] PARAMS_LEN
public static final String ENTRY_ATTR_CMD
public static final String ENTRY_ATTR_COMMAND_OUTPUT
public static final String ENTRY_ATTR_APPC_RETCODE
public static final String ENTRY_ATTR_TSO_CMD_RETCODE
public static final String MSG_NO_RESPONSE
public static boolean isLibLoaded
public int mATBOK
Constructor Detail |
---|
public zOSTSOCommandLine()
Method Detail |
---|
public void initialize(Object aParam) throws Exception
Function
initialize
in interface FunctionInterface
initialize
in class Function
aParam
- this object provides information to the Function Component needed on initialization
Exception
- An exception is thrown if the initialization fails.protected void readZOSParam(String aParamName, int aParamId, boolean aRequired, boolean aToLog, boolean aToUpperCase) throws Exception
Exception
public void initAndPrepareForConversation() throws Exception
Exception
public static void loadLibrary()
public Object perform(Object aInObject) throws Exception
FunctionInterface
aInObject
- the input to the function
Exception
- An exception is thrown if this method fails.protected String executeTSO(String aTsoCmd) throws Exception
aTsoCmd
- The TSO command to be executed.
Exception
public void terminate() throws Exception
Function
terminate
in interface FunctionInterface
terminate
in class Function
Exception
- An exception is thrown if this method fails.public void logmsg(String msg)
Function
logmsg
in interface FunctionInterface
logmsg
in class Function
msg
- The message appearing in the logpublic void debug(String msg)
Function
debug
in interface FunctionInterface
debug
in class Function
msg
- The messagepublic String getVersion()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |