Re: REXX error



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

IdFinfo@xxxxxxxxxxxxxxxxx or identityforge@xxxxxxxxx, and then delete the
original. Any other use of the email by you is prohibited.


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@xxxxxxxxxxx] On Behalf
Of Paul Gilmartin
Sent: Sunday, October 19, 2008 5:38 PM
To: IBM-MAIN@xxxxxxxxxxx
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 listserv@xxxxxxxxxxx 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 listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

.



Relevant Pages

  • Re: wScript.Shell Problems
    ... the completion of the underlying process. ... However, the Exec procedure is ... Here is why i went to the RUN command, it is my understanding that the ... EXEC command does not allow for the BOOLEAN indicating wether the ...
    (microsoft.public.scripting.vbscript)
  • Re: Problem in calling c programs and compiling them in tcl/tk
    ... Are you using Tcl's glob command to do this? ... using exec gcc filename.c and later exec ./a.out filename.c. ... the execution of a command that might generate a Tcl error. ... i can call a c program and compile it? ...
    (comp.lang.tcl)
  • Re: xp_cmdshell default path (system32) problem
    ... exec xp_cmdshell @cmd1 ... - specify the full path in the del command ... ensure that xp_cmdshell ALWAYS executes under the security context of ... I haven't executed the actual erase statements yet but rather have been ...
    (microsoft.public.sqlserver.programming)
  • Re: Sleep freezing
    ... >> man exec. ... > form of a standard shell pipeline where each arg becomes one ... > word of a command, and each distinct command becomes a sub- ... The word "execute" means to replace the program running in the calling ...
    (comp.unix.shell)
  • Re: Literal pipes in [open "|cmd..."]
    ... If it's not an [exec] directive, ... away with the intermediary pipe directives entirely also (or more ... As for a new command with a clean syntax, the only way you're going to ... fileevent $ou write $arg ...
    (comp.lang.tcl)