View previous topic :: View next topic
|
Author |
Message |
sho7hills
New User
Joined: 18 Apr 2014 Posts: 1 Location: India
|
|
|
|
Hi All,
I'm just learning REXX. I tried to run the below REXX to allocate the file "REXX.EXEC" to system file - SYSEXEC.
Code: |
"EXECUTIL SEARCHDD(YES)"
"ALLOC FILE(SYSEXEC) DATASET(REXX.EXEC,",
"'SYS3.EDS.TSO.SYSEXEC')SHR REUSE"
IF RC = 0 THEN
SAY 'ALLOCATION TO SYSEXEC IS COMPLETED.'
ELSE
SAY 'ALLOCATION TO SYSEXEC IS FAILED.'
|
I have allocated the file "REXX.EXEC" to SYSEXEC by running the above program in ready prompt.I'm getting as "ALLOCATION TO SYSEXEC IS COMPLETED." but still unable to run the exec command implicitly by just typing the member present in "REXX.EXEC" in Ready prompt or in command prompt.
Could you please let me know what i need to do for running exec implicitly. |
|
Back to top |
|
|
Willy Jensen
Active Member
Joined: 01 Sep 2015 Posts: 712 Location: Denmark
|
|
|
|
What error message do you get?
Do a LISTA ST after you execute your SYSEXEC reallocation and verify that the SYSEXEC allocation is as you expect. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
Back to top |
|
|
prino
Senior Member
Joined: 07 Feb 2009 Posts: 1306 Location: Vilnius, Lithuania
|
|
|
|
Quote: |
but still unable to run the exec command implicitly by just typing the member present in "REXX.EXEC" in Ready prompt or in command prompt. |
You can never (not true, but those in the know know the exception) run an exec implicitly from an ISPF command prompt, unless you've added it to a command table! |
|
Back to top |
|
|
|