public interface CICSContext
Channel
s and Container
s, ProgramLinker
s,
and access information about the environment.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
Copyright
|
Modifier and Type | Method and Description |
---|---|
ProgramLinker |
createProgramLinker(java.lang.String programName)
Create a ProgramLinker for invoking a program without input or output
|
ChannelProgramLinker |
createProgramLinkerWithChannel(java.lang.String programName,
Channel channel)
Create a ProgramLinker for invoking a program with a specific Channel instance
|
default ChannelProgramLinker |
createProgramLinkerWithChannel(java.lang.String programName,
java.lang.String channelName)
Create a ProgramLinker for invoking a program using a channel with a specific name
|
Channel |
getChannel(java.lang.String channelName)
Create a channel with the supplied name.
|
static CICSContext |
getCICSContext()
Get an instance of the current
CICSContext . |
java.lang.Integer |
getTaskNumber()
Get the task number of the currently executing CICS task
|
Channel |
getTransactionChannel()
Get the transaction Channel, if any.
|
static final java.lang.String COPYRIGHT
java.lang.Integer getTaskNumber()
Channel getChannel(java.lang.String channelName)
channelName
- The name of the channelChannel getTransactionChannel()
ProgramLinker createProgramLinker(java.lang.String programName)
programName
- Name of the program to targetProgramLinker
capable of invoking the program with the supplied namedefault ChannelProgramLinker createProgramLinkerWithChannel(java.lang.String programName, java.lang.String channelName)
programName
- Name of the program to targetchannelName
- Name of the channel to use for input and outputChannelProgramLinker
capable of invoking the programChannelProgramLinker createProgramLinkerWithChannel(java.lang.String programName, Channel channel)
programName
- Name of the program to targetchannel
- Channel to use for input and outputstatic CICSContext getCICSContext()
CICSContext
.