|
View previous topic :: View next topic
|
| Author |
Message |
kalais
New User

Joined: 18 Apr 2006 Posts: 22
|
|
|
|
I WANT COMPRESS A PDS IN MY REXX PROGRAM.
HI HOW CAN I USE THE FOLLOWING ISPF COMMANDS IN MY REXX PROGRAM?
| Code: |
"ISPEXEC LMINIT DATAID(ID) DATASET('"DSN"') ENQ(EXCLU)"
"ISPEXEC LMCOMP DATAID("ID")"
"ISPEXEC LMFREE DATAID("ID")"
|
When i am embedding it in my program it gives RC=20.
how i can fix that? |
|
| Back to top |
|
 |
superk
Global Moderator

Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
| An RC of 20 for an ISPF Services call is a Severe Error. Without knowing more, I can only speculate that, for a Server Error to occur, ISPF has not been started prior to using these services, or is just not available/not installed. |
|
| Back to top |
|
 |
Marso
REXX Moderator

Joined: 13 Mar 2006 Posts: 1356 Location: Israel
|
|
|
|
Can you display the values of ZERRSM and ZERRLM when you receive the return code of 20?
These are system variables and maybe there's something there. |
|
| Back to top |
|
 |
|
|