Gil ---

Here is a test clist on z/OS 1.9
I execute is in TSO option # 6 as ex 'adcds.clist.library(testit)'


  File  Edit  Edit_Settings  Menu  Utilities  Compilers  Test  Help
 
¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢
¢¢¢
 EDIT       ADCDS.CLIST.LIBRARY(TESTIT) - 01.02             Columns 00001
00072
 ****** ***************************** Top of Data
******************************
 000001 say ' hhhhhhhhhhhhhhhhhhhh',
 000002     ' hhhhhhhhhhhhhhhhhhhh'
 ****** **************************** Bottom of Data
****************************


Here is the error without the leading /* rexx */.........

  Menu  List  Mode  Functions  Utilities  Help
 
¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢¢
¢¢
                               ISPF Command Shell
 Enter TSO or Workstation commands below:
 
 ===> exec 'adcds.clist.library(testit)'
 
 
 
 Place cursor on choice and press enter to Retrieve command
 
 => exec 'adcds.clist.library(testit)'
 => exec 'adcds.clist.library(CPUID)'
 => exec 'adcds.clist.library(rexxins)'
 => exec 'adcds.clist.library(CONSOLE)'
 => IND$FILE GET 'adcds.clist.library(rexxins)' ASCII CRLF NOTRUNC
 => D$FILE GET adcds.clist.library(rexxins)' ASCII CRLF NOTRUNCIND$FILE GET
'ad
 => IND$FILE GET adcds.clist.library(rexxins)' ASCII CRLF NOTRUNC
 => free
 => free 'sford.test.file'
 IKJ56479I COMMAND SAY NOT FOUND OR REXX IDENTIFIER IS MISSING+
 IKJ56479I SUPPLY '/* REXX */' AS THE FIRST RECORD TO EXECUTE AS A REXX EXEC
OR,
 FOR AN EXPLICIT EXEC, SUPPLY THE EXEC KEYWORD ON THE EXEC COMMAND
 ***


Regards,
Scott Ford
Senior Systems Engineer

 
[p] 678.266.3399 x304    [m] 609-346-0399  identityforge.com



This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information. If you have
received it in error, please notify the sender immediately or let us know at

[EMAIL PROTECTED] or [EMAIL PROTECTED], and then delete the
original.  Any other use of the email by you is prohibited.


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf
Of Paul Gilmartin
Sent: Sunday, October 19, 2008 5:38 PM
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: REXX error

On Sun, 19 Oct 2008 10:50:37 -0400, Phil Smith III wrote:

>Paul Gilmartin wrote, re running Rexx programs on Windows without a leading
>indicator of the language:
>>How does the system recognize that it's Rexx and not some other language?
>
>Excellent question. Because (a) it has a file extension associated with
>rexx.exe, or (b) because you said "rexx <fn>".
>
(a) relies on a distinguished part of the namespace, and as
    such is akin to invoking an EXEC from the distinguished
    DDNAME SYSEXEC.

(b) relies on a distinctive calling sequence, and as such is
    akin to invoking an EXEC via the Rexx API.

Neither of these requires a leading language indicator in z/OS.
In situations where the context does not so indicate the language,
(as from SYSPROC in TSO/E, or from PATH in z/OS Unix), a leading
indicator of the language is generally required.

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to