CALLING A REXX PROG...



TSO Programming, ISPF, SDF, SDSF and PDF, FTP, TCP/IP Concepts, SNA & SNA/IP etc...

CALLING A REXX PROG...

Postby mehi1353 » Sat Apr 20, 2013 5:44 pm

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
mehi1353
 
Posts: 31
Joined: Sun Jan 11, 2009 4:51 pm
Has thanked: 0 time
Been thanked: 0 time

Re: CALLING A REXX PROG...

 

Re: CALLING A REXX PROG...

Postby Mehdi shri » Sat Apr 20, 2013 7:03 pm

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
Mehdi shri
 
Posts: 138
Joined: Sun Jan 16, 2011 6:30 pm
Has thanked: 57 times
Been thanked: 0 time

Re: CALLING A REXX PROG...

Postby enrico-sorichetti » Sat Apr 20, 2013 7:08 pm

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
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2644
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 130 times


Return to TSO & ISPF

 


  • Related topics
    Replies
    Views
    Last post