April 17, 2009, 10:47 AM
Shrikant[CLOSE]Mainframe Focus-Error running ISPF commands from Native Focus using Rexx/Clist
When I try to run ISPF commands in mainframe Native Focus using Rexx/Clist, I encounter below error:
ISPS118S SERVICE NOT INVOKED. A VALID ISPF ENVIRONMENT DOES NOT EXIST.
These are the commands I have coded in Rexx code:
/* REXX */
address ispexec
"vget ZSYSID shared"
Can anyone help me in finding how can I link to ISPF from Native Focus.
-Shrikant
This message has been edited. Last edited by: Kerry, April 18, 2009, 08:50 PM
Jim MorrowYou have to call FOCUS with an ISPF start command or if you have already loaded ISPF use the
ISPFEXEC PGM(FOCUS)
The FOCUS load libraries have to be allocated to ISPLLIB or STEPLIB / JOBLIB
Send me a private message and I can send you a some sampe CLIST code.
April 19, 2009, 06:09 PM
WazDigging into me memory from many many years ago, Jim is right.
Either run FOCUS from ISPF or If you run FOCUS out side ISPF, you will have to start ISPF to get into it.