How to use the ISPEXEC statement in a OPS/MVS OSF Server?
The following error may occur if the REXX program that use ISPF services is called from an OPS/REXX program:
OPS0997T *-* 27: address ispexec "select pgm(isfafd)"
OPS0997T >L> ISPEXEC
OPS0997T >L> select pgm(isfafd)
OPS3092T No ISPF host command environment is available
OPS0997T +++ RC(20)
Release: ALL
Component: OPS/MVS
When trying to run the ISPEXEC statement in an OSF server via a ADDRESS OSF host environment be sure to first invoke ISPSTART in order to establish the TSO TMP session:
ADDRESS 'OSF' "ISPSTART CMD(OI ISPFTEST)"
The ADDRESS ISPEXEC instructions issue commands to control ISPF dialogs.
The ISPF datasets must be pre-allocated to the OSF server. See sample REXX ALLOCSPF in the CCLXSAMP library for detailed instructions.
The sample REXX to allocate the ISPF libraries during the OSF server startup is delivered in the member ALLOCSPF of the CCLXSAMP library