Focal Point
[CLOSE]Mainframe Focus-Error running ISPF commands from Native Focus using Rexx/Clist

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/91110648

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,


FOCUS 7.2.3
Platform: IBM system Z9 Business class
O/P formats: Flat files, excel and CSV files
April 18, 2009, 08:50 PM
Jim Morrow
You 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.


Jim Morrow
Web Focus 7.6.10 under Windows 2003
MVS 7.3.3



April 19, 2009, 06:09 PM
Waz
Digging 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.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!