|
Ok, I thought that's what you were trying to do but I just needed to be sure.
Since these kind of files are rexx interpreter files they are not applications and therefore cannot be directly executed from the finder. And while you could get them to open in terminal the terminal has no way of knowing you want to use rexx on them. So you need to encapulate (wrap) them to make them look like they are finder applications.
Z/OS V1R13.0 TSO/E REXX Reference (SA22-7790-10) Manual: Abstract. This document describes the z/OS TSO/E REXX Interpreter (hereafter referred to as the interpreter or language processor) and the REstructured eXtended eXecutor (called REXX) language.This document is intended for experienced programmers, particularly those who have used a block.
Showing 1-20 of 13304 topics. Writing REXX functions in FreePascal on Linux: igorpo.@gmail.com: 5/29/19. The exec can be easily extended to do a lot more. Remember, this is just an example! It also shows how to do file I/O and system calls from within Regina Rexx on Mac OS X 10.6. Works pretty much as one would expect, but then again, Darwin does have it's differences from other.nix derivatives out there. One side item to note.
Regina Rexx Mac Os Manual Download
Regina Rexx Mac Os Manual Free
There are a number of shell command excapulators/wrappers. One of my favorites is Platypus. You can download it from macupdate. Click that macupdate link because it suggests other shell wrappers than you may prefer as alternatives. I'm mentioning this because if the shell commands generates any output (stdout, stderr) then not all of these wrappers handle output. I haven't looked at Platypus for some time so I don't recall if it does or doesn't. Maybe some of the alternatives do.
If the command doesn't generate any stdout/stderr output then Platypus (and many of the others) should work ok. The end result is what looks like a normal finder application that you can execute.
Oh, almost forgot. You could also encapsulate the shell commands using applescript.