Re: REXX error

2008-10-22 Thread Shmuel Metz (Seymour J.)
In [EMAIL PROTECTED], on 10/17/2008 at 11:20 PM, Kenneth E Tomiak [EMAIL PROTECTED] said: That depends on the Rexx interpreter being used. Not if that interpreter never gets called. On my windows/XP system I need nothing on the first line. I'd be very surprised if you didn't need a

Re: REXX error

2008-10-19 Thread Phil Smith III
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.

Re: REXX error

2008-10-19 Thread Scott Ford
. -Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Phil Smith III Sent: Sunday, October 19, 2008 10:51 AM To: IBM-MAIN@BAMA.UA.EDU Subject: Re: REXX error Paul Gilmartin wrote, re running Rexx programs on Windows without a leading indicator of the language

Re: REXX error

2008-10-19 Thread Paul Gilmartin
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

Re: REXX error

2008-10-19 Thread Scott Ford
[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

Re: REXX error

2008-10-18 Thread Paul Gilmartin
On Fri, 17 Oct 2008 23:20:36 -0500, Kenneth E Tomiak wrote: That depends on the Rexx interpreter being used. On my windows/XP system I need nothing on the first line. It is surprising how many people who know Rexx so well, know so little. How does the system recognize that it's Rexx and not some

Re: REXX error

2008-10-17 Thread Hunkeler Peter (KIUK 3)
I don't see neither an error nor REXX code? What is your problem? Pleaes take your time to write sufficient information so others are able to help instead of wasting time trying to guess what you want. -- Peter Hunkeler CREDIT SUISSE

Re: REXX error

2008-10-17 Thread Claudio Marcio
PROTECTED] Newsgroups: bit.listserv.ibm-main To: IBM-MAIN@BAMA.UA.EDU Sent: Friday, October 17, 2008 4:52 AM Subject: Re: REXX error I don't see neither an error nor REXX code? What is your problem? Pleaes take your time to write sufficient information so others are able to help instead of wasting time

Re: REXX error

2008-10-17 Thread Scott Ford
. -Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Claudio Marcio Sent: Friday, October 17, 2008 8:08 PM To: IBM-MAIN@BAMA.UA.EDU Subject: Re: REXX error when I run my exec REXX the error appears: 1 +++ ? IRX0013I Error running BRAS

Re: REXX error ***** I WIN!!!!!! ******

2008-10-17 Thread Claudio Marcio
, 2008 4:52 AM Subject: Re: REXX error I don't see neither an error nor REXX code? What is your problem? Pleaes take your time to write sufficient information so others are able to help instead of wasting time trying to guess what you want. -- Peter Hunkeler CREDIT SUISSE

Re: REXX error

2008-10-17 Thread Claudio Marcio
Sent: Friday, October 17, 2008 11:47 PM Subject: Re: REXX error Claudio, How are you executing your clist ??? Option # 6 as 'exec clist-pds(clistname)' or How ? Also what are the dcb parameters of your clist pds ? Scott Ford Senior Systems Engineer [p] 678.266.3399 x304[m] 609-346

Re: REXX error

2008-10-17 Thread Paul Gilmartin
On Fri, 17 Oct 2008 22:08:19 -0200, Claudio Marcio wrote: when I run my exec REXX the error appears: 1 +++ ? IRX0013I Error running BRAS, line 1: Invalid character in program Have you repaired the conflicts in DCB attributes? The error above could easily result from an RDW's being

Re: REXX error ***** I WIN!!!!!! ******

2008-10-17 Thread Kenneth E Tomiak
Don't change settings you don't understand. On Fri, 17 Oct 2008 22:53:21 -0200, Claudio Marcio [EMAIL PROTECTED] wrote: I got it!!! run the pack off command inside member the now it´s OK! very, very thank´s to all what helped me! regards

Re: REXX error

2008-10-17 Thread Kenneth E Tomiak
That depends on the Rexx interpreter being used. On my windows/XP system I need nothing on the first line. It is surprising how many people who know Rexx so well, know so little. On Mon, 13 Oct 2008 06:21:22 -0400, Shmuel Metz (Seymour J.) [EMAIL PROTECTED] wrote: I use Rexx on other

Re: REXX error

2008-10-16 Thread Claudio Marcio
, 2008 11:23 AM Subject: Re: REXX error On Mon, 13 Oct 2008 06:35:59 -0400, Shmuel Metz (Seymour J.) wrote: say 'first part' || 'second part' Note that in this case the comma is permissible but not necessary. Necessary. [EMAIL PROTECTED]:132$ head `whence cont.rexx` /dev/null == /u

Re: REXX error

2008-10-13 Thread Shmuel Metz (Seymour J.)
In [EMAIL PROTECTED], on 10/08/2008 at 08:20 AM, Mark Zelden [EMAIL PROTECTED] said: You need a single quote at the end of line 100 and a comma after that to continue the SAY to a second line - line 200. That's appropriate only if he wants a space inserted[1]. If he needs to break between

Re: REXX error

2008-10-13 Thread Paul Gilmartin
On Mon, 13 Oct 2008 06:35:59 -0400, Shmuel Metz (Seymour J.) wrote: say 'first part' || 'second part' Note that in this case the comma is permissible but not necessary. Necessary. [EMAIL PROTECTED]:132$ head `whence cont.rexx` /dev/null == /u/user/bin/cont.rexx == /* Rexx */ signal

Re: REXX error

2008-10-13 Thread Shmuel Metz (Seymour J.)
In [EMAIL PROTECTED], on 10/07/2008 at 11:48 AM, Hardee, Charles H [EMAIL PROTECTED] said: Can you post the first 5 or 6 lines in a fixed pitch font like Courier? The font is controlled by the viewer, not by the sender. -- Shmuel (Seymour J.) Metz, SysProg and JOAT ISO position;

Re: REXX error

2008-10-13 Thread Shmuel Metz (Seymour J.)
In [EMAIL PROTECTED], on 10/07/2008 at 06:26 PM, P S [EMAIL PROTECTED] said: Ah. That would be a TSO requirement -- that the first line have REXX in it? That depends on where the code came from. If it's SYSEXEC, then any comment will do, but if it's SYSPROC then you need the REXX string to

Re: REXX error

2008-10-13 Thread Shmuel Metz (Seymour J.)
In [EMAIL PROTECTED], on 10/13/2008 at 08:23 AM, Paul Gilmartin [EMAIL PROTECTED] said: Are you confusing with, perhaps, JCL continuation syntax? No, I was simply confused about the rules for implicit semicolons in REXX. I was thinking that trailing operators suppressed implicit semicolons.

Re: REXX error

2008-10-13 Thread Paul Gilmartin
On Mon, 13 Oct 2008 14:07:20 -0400, Shmuel Metz (Seymour J.) wrote: Are you confusing with, perhaps, JCL continuation syntax? No, I was simply confused about the rules for implicit semicolons in REXX. I was thinking that trailing operators suppressed implicit semicolons. No, but there are many

Re: REXX error

2008-10-12 Thread Claudio Marcio
** | | A command entered or contained in a CLIST has invalid syntax. what can be? regards - Original Message - From: Paul Gilmartin [EMAIL PROTECTED] Newsgroups: bit.listserv.ibm-main To: IBM-MAIN@BAMA.UA.EDU Sent: Saturday, October 11, 2008 8:35 PM Subject: Re: REXX error On Sat, 11 Oct

Re: REXX error

2008-10-12 Thread Paul Gilmartin
On Sun, 12 Oct 2008 15:52:28 -0200, Claudio Marcio wrote: I´m using the ex command see below: VIEW BRATIME.TIME.CHRIST--- my dataset Command === Name Prompt Size Created ___EX__ BRAS*Edited 34 2008/09/09 - dataset member

Re: REXX error

2008-10-12 Thread Claudio Marcio
, 2008 4:30 PM Subject: Re: REXX error On Sun, 12 Oct 2008 15:52:28 -0200, Claudio Marcio wrote: I´m using the ex command see below: VIEW BRATIME.TIME.CHRIST--- my dataset Command === Name Prompt Size Created ___EX__ BRAS*Edited

Re: REXX error

2008-10-12 Thread Rick Fochtman
the next step?? regards - Original Message - From: Paul Gilmartin [EMAIL PROTECTED] Newsgroups: bit.listserv.ibm-main To: IBM-MAIN@BAMA.UA.EDU Sent: Sunday, October 12, 2008 4:30 PM Subject: Re: REXX error On Sun, 12 Oct 2008 15:52:28 -0200, Claudio Marcio wrote: I´m using the ex

Re: REXX error

2008-10-11 Thread Kenneth E Tomiak
No, you do not need rexx in a comment. It depends. TSO will read them from SYSEXEC and run them without rexx in the comment. z/OS UNIX Services, in my limited testing, requires rexx to be lower case where any other environment/platform could care less about the case. So RExx, REXX, REXx, rexX,

Re: REXX error

2008-10-11 Thread Claudio Marcio
correcting... a debug command? regards - Original Message - From: Claudio Marcio [EMAIL PROTECTED] To: IBM Mainframe Discussion List IBM-MAIN@BAMA.UA.EDU Sent: Saturday, October 11, 2008 10:14 AM Subject: Re: REXX error How do on trace to find my problems and how see this listserv

Re: REXX error

2008-10-11 Thread Kenneth E Tomiak
I put my money on he is changing it. To get the first error I did a cut and paste of his code and changed the leading x40 to x20 and got the same first error. It then works. Changing anything outside the apostrophes caused the same problem. Thus his second error is coming from somewhere else.

Re: REXX error

2008-10-11 Thread Claudio Marcio
Message - From: Kenneth E Tomiak [EMAIL PROTECTED] Newsgroups: bit.listserv.ibm-main To: IBM-MAIN@BAMA.UA.EDU Sent: Saturday, October 11, 2008 9:05 AM Subject: Re: REXX error I put my money on he is changing it. To get the first error I did a cut and paste of his code and changed the leading

Re: REXX error

2008-10-11 Thread Scott Ford
of the email by you is prohibited. -Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Kenneth E Tomiak Sent: Saturday, October 11, 2008 8:11 AM To: IBM-MAIN@BAMA.UA.EDU Subject: Re: REXX error No, you do not need rexx in a comment. It depends. TSO

Re: REXX error

2008-10-11 Thread Paul Gilmartin
On Sat, 11 Oct 2008 07:11:12 -0500, Kenneth E Tomiak wrote: No, you do not need rexx in a comment. It depends. TSO will read them from SYSEXEC and run them without rexx in the comment. z/OS UNIX Services, in my limited testing, requires rexx to be lower case where any other environment/platform

Re: REXX error

2008-10-08 Thread Mark Zelden
On Wed, 8 Oct 2008 01:30:37 -0300, Claudio Marcio [EMAIL PROTECTED] wrote: hi, see the first lines of the my exec rexx ** * Top of Data ** ==MSG -Warning- The UNDO command is not available until you change ==MSG your edit

Re: REXX error

2008-10-08 Thread Don Leahy
If you use the ISPF Editor's HILITE REXX command most of your syntax problems will be highlighted. I find it to be a great help, especially when matching up quotes, double quotes, commas etc. -- For IBM-MAIN subscribe / signoff

Re: REXX error

2008-10-08 Thread Hardee, Charles H
Luis, That is not quite correct. You can use double quotes or the apostrophe as long as they are paired. If you start a literal with an apostrophe, you must end the literal with an apostrophe. If you start it with the double quote character, then you must end it with a double quote character:

Re: REXX error

2008-10-08 Thread Paul Gilmartin
On Wed, 8 Oct 2008 08:20:18 -0500, Mark Zelden wrote: On Wed, 8 Oct 2008 01:30:37 -0300, Claudio Marcio wrote: see the first lines of the my exec rexx ** * Top of Data ** ==MSG -Warning- The UNDO command is not available until you

Re: REXX error

2008-10-08 Thread P S
Well, technically he's OK with the lack of continuation, but it's poor style. That shouldn't be causing the message. On Wed, Oct 8, 2008 at 9:20 AM, Mark Zelden [EMAIL PROTECTED] wrote: You need a single quote at the end of line 100 and a comma after that to continue the SAY to a second line -

Re: REXX error

2008-10-07 Thread Hunkeler Peter (KIUK 3)
when I run my exec REXX the error appears: 1 +++ ? IRX0013I Error running BRAS, line 1: Invalid character in program what is this?? An invalid character as the message says. The question mark suggests that it may be an unprintable character from REXX' point of view. -- Peter Hunkeler

Re: REXX error

2008-10-07 Thread Paul Gilmartin
On Tue, 7 Oct 2008 08:25:09 -0400, P S wrote: Or just replace the first line of the program with /**/ and you'll know it's good (less scientific, but easier!). Ummm. If the program was loaded from SYSPROC, this will cause it to be treated as a CLIST rather than an EXEC, and the OP is not likely

Re: REXX error

2008-10-07 Thread P S
Or just replace the first line of the program with /**/ and you'll know it's good (less scientific, but easier!). On Tue, Oct 7, 2008 at 7:59 AM, Lizette Koehler [EMAIL PROTECTED] wrote: Under ISPF, edit your REXX using ISPF Picture Strings. Issue the command on the command line:F P'.'

Re: REXX error

2008-10-07 Thread Lizette Koehler
Under ISPF, edit your REXX using ISPF Picture Strings. Issue the command on the command line:F P'.' If there is a hex character the upper Right Hand corner of your ISPF Edit session should tell you what the character is. The Cursor should be on the section of your code with the hex data in

Re: REXX error

2008-10-07 Thread Hardee, Charles H
Can you post the first 5 or 6 lines in a fixed pitch font like Courier? -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at

Re: REXX error

2008-10-07 Thread Claudio Marcio
quer saber ?' 000900 pull year regards - Original Message - From: Hardee, Charles H [EMAIL PROTECTED] Newsgroups: bit.listserv.ibm-main To: IBM-MAIN@BAMA.UA.EDU Sent: Tuesday, October 07, 2008 12:48 PM Subject: Re: REXX error Can you post the first 5 or 6 lines in a fixed pitch font

Re: REXX error

2008-10-07 Thread P S
Ummm. If the program was loaded from SYSPROC, this will cause it to be treated as a CLIST rather than an EXEC, and the OP is not likely to know it's good. Ah. That would be a TSO requirement -- that the first line have REXX in it? If so, then my apologies. I use Rexx on other platforms.

Re: REXX error

2008-10-07 Thread Claudio Marcio
Message - From: Paul Gilmartin [EMAIL PROTECTED] Newsgroups: bit.listserv.ibm-main To: IBM-MAIN@BAMA.UA.EDU Sent: Tuesday, October 07, 2008 11:16 AM Subject: Re: REXX error On Tue, 7 Oct 2008 08:25:09 -0400, P S wrote: Or just replace the first line of the program with /**/ and you'll know

Re: REXX error

2008-10-07 Thread Luis Monge
: bit.listserv.ibm-main To: IBM-MAIN@BAMA.UA.EDU Sent: Tuesday, October 07, 2008 11:16 AM Subject: Re: REXX error On Tue, 7 Oct 2008 08:25:09 -0400, P S wrote: Or just replace the first line of the program with /**/ and you'll know it's good (less scientific, but easier!). Ummm. If the program

Re: REXX error

2008-10-07 Thread Scott Ford
Subject: Re: REXX error Hola Claudio, Your problem is that it should be encased in double quotes...ie say Este programa informa em que dia da semana foi ou sera o Natal em determinado ano, que ano quer saber ? Saludos Claudio Marcio wrote: hi, see the first lines of the my exec rexx

Re: REXX Error (Was: action in UK33496)

2008-04-29 Thread Shmuel Metz (Seymour J.)
In [EMAIL PROTECTED], on 04/21/2008 at 09:18 PM, Paul Gilmartin [EMAIL PROTECTED] said: Reference to an uninitialized variable is a failure. Only if NOVALUE is enabled. The classic behavior with NOVALUE disabled is useful. I have _never_ coded a SIGNAL. Partly hangover from the 3 decades

Re: REXX Error (Was: action in UK33496)

2008-04-29 Thread Shmuel Metz (Seymour J.)
In [EMAIL PROTECTED], on 04/23/2008 at 12:04 AM, Ted MacNEIL [EMAIL PROTECTED] said: LEAVE ITERATE only manage the current level. Hogwash! -- Shmuel (Seymour J.) Metz, SysProg and JOAT ISO position; see http://patriot.net/~shmuel/resume/brief.html We don't care. We don't have

Re: REXX Error (Was: 'action' in UK33496)

2008-04-23 Thread Gary Green
re Of course, being 51 may have something to do with it. Or as we say, C.R.S ;) -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search

Re: REXX Error (Was: action in UK33496)

2008-04-23 Thread Patrick O'Keefe
On Wed, 23 Apr 2008 00:15:59 +, Ted MacNEIL [EMAIL PROTECTED] wrote: ... Of course, being 51 may have something to do with it. ... Ah. I see. Your mind is still too young and unruly. Well, don't worry. You'll grow out of it. Pat O'Keefe

Re: REXX Error (Was: action in UK33496)

2008-04-23 Thread Edward Jaffe
Paul Gilmartin wrote: Consider: /* I do this all the time... */ do phonyblock = 1 for 1 ... if Bailout then leave phonyblock ... end phonyblock o I put a name = 1 for 1 on all my large blocks, and use a matching end name - the interpreter checks that my ends match my dos. -

Re: REXX Error (Was: action in UK33496)

2008-04-23 Thread Edward Jaffe
Ted MacNEIL wrote: I should have said: LEAVE ITERATE should only be used to manage the current level. Use flags/semiphores to continue to exit. At least, that way you know what you have. The intent of structured programming techniques, since their need was recognized 40 years ago, has

Re: REXX Error (Was: action in UK33496)

2008-04-23 Thread Ted MacNEIL
Languages like REXX and Structured HLASM provide LEAVE and ITERATE as a means of reducing program complexity. Both statements allow for the specification of which of several nested constructs is to be exited or iterated. This facility is important and, when used appropriately, will reduce

Re: REXX Error (Was: action in UK33496)

2008-04-22 Thread Patrick O'Keefe
On Mon, 21 Apr 2008 21:18:17 -0500, Paul Gilmartin [EMAIL PROTECTED] wrote: ... My technique for picking up the pieces after a failure is to improve the code so that it no longer fails. A nonzero return code is not a failure. Reference to an uninitialized variable is a failure. I couldn't

Re: REXX Error (Was: action in UK33496)

2008-04-22 Thread Ted MacNEIL
I think abuse of ITERATE and LEAVE to be a much milder crime. I don't know what you mean by abuse, but when I studied modular/structured programming at the University of Waterloo, these were considered valid constructs. Sometimes, you've done all you can with the data, so you have to either

Re: REXX Error (Was: action in UK33496)

2008-04-22 Thread Patrick O'Keefe
On Tue, 22 Apr 2008 22:41:49 +, Ted MacNEIL [EMAIL PROTECTED] wrote: I think abuse of ITERATE and LEAVE to be a much milder crime. I don't know what you mean by abuse, but when I studied modular/structured programming at the University of Waterloo, these were considered valid constructs.

Re: REXX Error (Was: action in UK33496)

2008-04-22 Thread Ted MacNEIL
In fact, I'm not sure that I would ever use SIGNAL to break out of a complex nested loop structure even if it DID greatly simplify the logic. It doesn't necessarily. You can end up with indeterminate results. In fact, I don't even like named LEAVE; I leave each level seperately. LEAVE

Re: REXX Error (Was: action in UK33496)

2008-04-22 Thread Edward Jaffe
Ted MacNEIL wrote: LEAVE ITERATE only manage the current level. LEAVE and ITERATE are for whichever level you specify. The default, if no operand is specified, is the current level. -- Edward E Jaffe Phoenix Software International, Inc 5200 W Century Blvd, Suite 800 Los Angeles, CA

Re: REXX Error (Was: action in UK33496)

2008-04-22 Thread Ted MacNEIL
LEAVE ITERATE only manage the current level. LEAVE and ITERATE are for whichever level you specify. The default, if no operand is specified, is the current level. You're correct, and I realised it as soon as I sent the message. I have never supplied an operand, so I forgot. Of course,

Re: REXX Error (Was: action in UK33496)

2008-04-22 Thread Paul Gilmartin
On Tue, 22 Apr 2008 18:18:14 -0500, Patrick O'Keefe wrote: On Tue, 22 Apr 2008 22:41:49 +, Ted MacNEIL [EMAIL PROTECTED] wrote: I think abuse of ITERATE and LEAVE to be a much milder crime. I don't know what you mean by abuse, but when I studied modular/structured programming at the

REXX Error (Was: action in UK33496)

2008-04-21 Thread Patrick O'Keefe
On Mon, 21 Apr 2008 11:15:05 -0500, Paul Gilmartin [EMAIL PROTECTED] wrote: ... Every well-designed language, application, programming system should have a way to force an error. IDCAMS has such; HLASM has MNOTE; zSeries has x'00'. Rexx lacks such; I resort to dividing by zero or accessing an

Re: REXX Error (Was: action in UK33496)

2008-04-21 Thread Paul Gilmartin
On Mon, 21 Apr 2008 15:44:20 -0500, Patrick O'Keefe wrote: Maybe I misunderstand what you would want REXX to do. If you're talking about some way of invoking an On-condition block, REXX obviously has it: you SIGNAL or CALL the block's label. If you want to verify an exec's ability to handle an