epihceci - EPI (HLI) Issuing CECI Commands
This application uses the Higher Level Interface (HLI) to the EPI
to issue a CECI LINK PROGRAM command.
The order of commands is:
- Connect a terminal to CICS
- Enter a CECI LINK PROGRAM command
- Execute the CECI command
- Exit CECI command
- Disconnect terminal from CICS
The default program is SRVTIME which returns the time and datestamp
in the commarea to the client application.
Parameters can be overridden via command line.
It is important that a model terminal definition suitable for
a CICS Client is available on the CICS server
For example, use:
- DFLT on CICS for OS/2
- ibm-cics-client on CICS for AIX
- MT1A on CICS for OS/390 (Hursley Test Systems)
Issue "ecihceci -?" for help and default settings.
Sample Input
java jgtest.epi.epihceci -j local: -m ibm-cics-client
Sample Output
epihceci - EPI (HLI) Issuing CECI Commands
-j JGate -> local:
-r JGate port -> 2006
-list list systems only -> false
-model model/device type -> ibm-cics-client
-s CICS server -> (not specified)
-a application -> SRVTIME
-i # iterations -> 1
-u userid -> SYSAD
-p password -> SYSAD
-d delay -> 0 seconds
-x exit on EPI error -> false
-! debug -> false
-? Display settings only
--- epihceci started 18/06/98 17:38
--- Successfully created JavaGateway connection ---
--- Using CICS Region: NETBTCLR
---------------------------------------------------
epihceci --- Iteration: 1 of 1
---------------------------------------------------
--> Connect terminal to CICS
NetName .................. CL01C000
DeviceType ............... null
Connected to server ...... NETBTCLR
Terminal state ........... idle
Associated screen ........ ibm.cics.jgate.epi.Screen@17f4
Current transaction ...... null
ATI state ................ disabled
--> Enter CECI
Current transaction ...... null
CECI command ............. CECI LINK PROGRAM(SRVTIME) COMM(&DFHW) LEN(18)
CECI Status .............. About to execute command
Old commarea (18 chars) .. WRITEQ TS QUEUE(CE
--> Hit
Current transaction ...... null
CECI Status .............. Command execution complete
New commarea (18 chars) .. 18/06/98 17:38:20.
CICS Response field ...... Normal
--> Exit via PF3
--> Disconnect EPI session from CICS
--- Successfully closed JavaGateway connection ---
--- epihceci completed 18/06/98 17:38
--- Calls successful ... 1 out of 1
--- Iterations run ..... 1 out of 1
History log:
- Written : Dec 97 - Alan Hollingshead
- Updated : Apr 98 - uses common classes