If I create a simple REXX exec with either VIM or XEDIT I get the following error:
parallels@parallels-vm:~$ rexx filevim
7 *-* say SysGetpid();
REX0099E: Error 99 running /home/parallels/filevim.rex line 7: Translation error
REX0520E: Error 99.916: Unrecognized directive instruction
:::
From source code:
#!/usr/bin/rexx /*************************************************************************/ /* first we call unix command */ /*************************************************************************/
::requires "rxunixsys" LIBRARY;
say SysGetpid();
:::
But I execute one of the example provided commands such as /usr/share/ooRexx/qdate.rex
and it works fine.
All this leads me to believe that I can not use VIM or Xedit to create a plaintext Rexx exec... but the ::requires statement is recognized!
Suggestions?
What am I missing?
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 429 |
Nodes: | 16 (3 / 13) |
Uptime: | 119:11:15 |
Calls: | 9,057 |
Calls today: | 4 |
Files: | 13,398 |
Messages: | 6,016,723 |
Posted today: | 1 |