Author: sho7hills
Subject: Running an REXX EXEC implicitly
Posted: Thu Apr 20, 2017 8:14 am (GMT 5.5)
Hi All,
I'm just learning REXX. I tried to run the below REXX to allocate the file "REXX.EXEC" to system file - SYSEXEC.
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.
_________________
Iam a module lead
Subject: Running an REXX EXEC implicitly
Posted: Thu Apr 20, 2017 8:14 am (GMT 5.5)
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.
_________________
Iam a module lead