Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ISPEXEC RC -3???? - Starting ISPF - How to -

Status
Not open for further replies.

ElpTique

Programmer
Nov 27, 2012
1
0
0
US
Hello All,

New to REXX and tek tips. Any help would be much appreciated.

I am trying to use ISPEXEC to edit and eventually submit a JCL via a REXX CGI. Apparently, I do not have ISPF started as a PARSE SOURCE SRC shows the following:
WE ARE RUNNING IN: TSO COMMAND XAOITES2 SYSEXEC ? ? TSO TSO/E ?

Issuing and ADDRESS ISPEXEC is in itself successful (RC 0) but any subsequent attempt to EDIT returns an RC -3. Even issueing a SUBCOM ISPEXEC returns -3. I even tried to allocate the ISP libraries with similar results:
15 *-* ADDRESS ISPEXEC "LIBDEF ISPMLIB DATASET ID('SYS1.ISPMLIB')"
+++ RC(-3) +++
16 *-* ADDRESS ISPEXEC "LIBDEF ISPPLIB DATASET ID('SYS1.ISPPLIB')"
+++ RC(-3) +++
17 *-* ADDRESS ISPEXEC "LIBDEF ISPSLIB DATASET ID('SYS1.ISPSLIB')"
+++ RC(-3) +++
18 *-* ADDRESS ISPEXEC "LIBDEF ISPTLIB DATASET ID('SYS1.ISPTLIB')"
+++ RC(-3) +++

I am lost on how to properly invoke ISPEXEC. Any help would be highly appreciated.

Thanks. Elp.
 
I presume you're running in background (via JCL) and are unable to do any ISPEXEC operations.

1) are all the required ISPF DDNames present in the JCL (ISPPLIB ISPMLIB ISPSLIB ISPTLIB etc)?
2) is the command activated via ISPSTART? ( ISPSTART XAOITES2 ... ... ... )

Either could be the root cause of your -3 RCs which ALWAYS means "incorrect environment".

Frank Clarke
--America's source for adverse opinions since 1943.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top