Hi KB,
It's a contraction for "Hash Bang", i.e. a number sign/pound sign/Hash
(Upper Shift 3 on a US Keyboard) followed by an exclamation mark (Upper
Shift 1 on a US Keyboard).
The Shebang is used at the start of a script to tell the *ix shell which
scripting language to invoke. It is similar to placing /* Rexx */ at the
start of an Exec which resides in the //SYSPROC
concatenation.
Regards,
David
On 2022-02-03 04:08, kekronbekron wrote:
What's a shebang by the way?
- KB
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Wednesday, February 2nd, 2022 at 9:20 PM, René Jansen
<[email protected]> wrote:
If you want to start it with ./myexec.rex it needs a shebang.
René.
On 2 Feb 2022, at 15:45, ITschak Mugzach [email protected] wrote:
Co-posted to IBM-MAIN and TSO-REXX I write a small rexx program and place
it in a directory. it onl;y have the following :
/* rexx */
Say 'Hello World'
I start the exec with ./myexec.rex while pwd shows the correct directory
and ls -l shows the exe. it returns BPXW0000I Exec not found
What am I missing?
ITschak Mugzach
|* IronSphere Platform* | *Information Security Continuous Monitoring
for z/OS, x/Linux & IBM I **| z/VM coming soon *
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN
.
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN