Page 1 of 1

CALLING A REXX PROG...

PostPosted: Sat Apr 20, 2013 5:44 pm
by mehi1353
HI,

I need to execute a rexx program(named CALLMAIN) at the end of my ispf command procedure.so I added this command there:

EX 'RASTGAR.PROG.REXX(CALLMAIN)'


THE "CALLMAIN' SOURCE PROGRAM IS:

/*REXX*/
"ISPEXEC DISPLAY PANEL(HFFORM2)"


BUT EVERYTIME I TRY TO ENTER THE SYSTEM WITH MY COMMAND PROCEDURE,THIS ERROR APPEARS:

ISPMR
ISPS118L SERVICE NOT INVOKED. A VALID ISPF ENVIRONMENT DOES NOT EXIST.
READY



COULD ANYONE HELP ME?

THANKS IN ADVANCE,
MEHRDAD RASTGAR

Re: CALLING A REXX PROG...

PostPosted: Sat Apr 20, 2013 7:03 pm
by Mehdi shri
Dear MEHRDAD RASTGAR
Please check the following link:
http://publib.boulder.ibm.com/infocente ... sg8006.htm
And a question? What is your goal of using ISPF command procedure?
Mehdi-Iran

Re: CALLING A REXX PROG...

PostPosted: Sat Apr 20, 2013 7:08 pm
by enrico-sorichetti
at what time do You get the message...
before ISPF starts, or after ISPF ends ?

the link posted does not tell anything new ...
just how to invoke ISPF services

The TS is trying to invoke an ISPF service without being UNDER ISPF Control