Re: REXX address environments

2010-11-28 Thread Shmuel Metz (Seymour J.)
In aanlktikvd7zaagjjkjrjcff70nds7wtdmm_=a5ggh...@mail.gmail.com, on 11/26/2010 at 02:17 PM, Tony Harminc t...@harminc.net said: As I said, IBM is inconsistent with its terminology. The TSO/E REXX Users Guide, and the corresponding REXX Reference, define and use the term Host Command

Re: Regular Expressions (was: REXX address environments)

2010-11-26 Thread Shmuel Metz (Seymour J.)
In 1290731429.1383.22.ca...@mckown5.johnmckown.net, on 11/25/2010 at 06:30 PM, John McKown joa...@swbell.net said: Yes. I would like the Perl variant, but I would be satisfied with POSIX compliant regexs. I think that the POSIX is more likely because the IBM C compiler implements them. So the

Re: REXX address environments

2010-11-26 Thread Shmuel Metz (Seymour J.)
In aanlktimge05znbnt-ipegryugahsypvw60uhck8w1...@mail.gmail.com, on 11/25/2010 at 08:13 PM, Tony Harminc t...@harminc.net said: A REXX environment is initialized by one of several means, and is represented by a REXX environment block (macro IRXENVB). It has one or more host command

Re: REXX address environments

2010-11-26 Thread Tony Harminc
On 26 November 2010 13:41, Shmuel Metz (Seymour J.) shmuel+ibm-m...@patriot.net wrote: In aanlktimge05znbnt-ipegryugahsypvw60uhck8w1...@mail.gmail.com, on 11/25/2010   at 08:13 PM, Tony Harminc t...@harminc.net said: A REXX environment is initialized by one of several means, and is represented

Re: REXX address environments

2010-11-25 Thread Shmuel Metz (Seymour J.)
In aanlktimk8gdnepidhrssqbdcwpj_xr4anvg-gmr1a...@mail.gmail.com, on 11/24/2010 at 01:15 PM, Tony Harminc t...@harminc.net said: I think you are confusing REXX environments with REXX Host Command Environments. Then what do you mean by HCE? -- Shmuel (Seymour J.) Metz, SysProg and JOAT

Re: REXX address environments

2010-11-25 Thread Shmuel Metz (Seymour J.)
Please send to the list of offline, not both. In 20101124194915.3apsz.22626.r...@hrndva-web15-z02, on 11/24/2010 at 07:49 PM, Eric Bielefeld eric-ibmm...@wi.rr.com said: And before the first ISPF, there was SPF - I think it stood for Structured Programming Facility. The progression went

Re: REXX address environments

2010-11-25 Thread Shmuel Metz (Seymour J.)
In aanlkti=nz9ieq1tyizwkdyd2pagr6hzfnhpq-wz4w...@mail.gmail.com, on 11/24/2010 at 03:57 PM, zMan zedgarhoo...@gmail.com said: Just curious -- what does that mean? I don't know ISPF/PDF well enough to understand. 4 This is a data shift (4 This is a column shift --

Re: Regular Expressions (was: REXX address environments)

2010-11-25 Thread Shmuel Metz (Seymour J.)
In blu149-w47ab9a6c83f241ad1d5161a1...@phx.gbl, on 11/24/2010 at 04:26 PM, Dave Salt ds...@hotmail.com said: some of the constructs of regular expressions. Better than nothing, but I still want full bore pattern matching, e.g., F R'(?!REG/b)[[:alpha]]{3}\d*' to find a string containing

Re: Regular Expressions (was: REXX address environments)

2010-11-25 Thread John McKown
On Thu, 2010-11-25 at 11:20 -0500, Shmuel Metz (Seymour J.) wrote: In blu149-w47ab9a6c83f241ad1d5161a1...@phx.gbl, on 11/24/2010 at 04:26 PM, Dave Salt ds...@hotmail.com said: some of the constructs of regular expressions. Better than nothing, but I still want full bore pattern

Re: REXX address environments

2010-11-25 Thread Tony Harminc
On 25 November 2010 10:47, Shmuel Metz (Seymour J.) shmuel+ibm-m...@patriot.net wrote: In aanlktimk8gdnepidhrssqbdcwpj_xr4anvg-gmr1a...@mail.gmail.com, on 11/24/2010   at 01:15 PM, Tony Harminc t...@harminc.net said: I think you are confusing REXX environments with REXX Host Command

Re: Regular Expressions (was: REXX address environments)

2010-11-25 Thread zMan
On Thu, Nov 25, 2010 at 11:20 AM, Shmuel Metz (Seymour J.) shmuel+ibm-m...@patriot.net wrote: Better than nothing, but I still want full bore pattern matching, e.g.,  F R'(?!REG/b)[[:alpha]]{3}\d*' to find a string containing three letters and a string of digits, where the three letters are

Re: REXX address environments

2010-11-24 Thread Shmuel Metz (Seymour J.)
In aanlkti=2kwjmhcbttxmwkx4-tbsuhvhg0gtabu-8e...@mail.gmail.com, on 11/19/2010 at 03:39 PM, Tony Harminc t...@harminc.net said: An HCE such as the proposed FTP one might well want to add its own routines to handle I/O or message processing, but those services are unavailable if the REXX

Re: REXX address environments

2010-11-24 Thread Shmuel Metz (Seymour J.)
In listserv%201011191553181273.0...@bama.ua.edu, on 11/19/2010 at 03:53 PM, Paul Gilmartin paulgboul...@aim.com said: Is that much different from address ISREDIT END or address ISREDIT CANCEL, which I've seen (mis-)used in edit macros. Those only make sense if you don't try to use any other

Re: REXX address environments

2010-11-24 Thread Shmuel Metz (Seymour J.)
In 1290208612.27170.70.ca...@mckown5.johnmckown.net, on 11/19/2010 at 05:16 PM, John McKown joa...@swbell.net said: Don't I need XEDIT first? Il va sans dire; that was my way of saying that I want XEDIT under TSO, preferably under ISPF. XEDIT beats the stuffing out of PDF edit as far as I'm

Re: REXX address environments

2010-11-24 Thread Shmuel Metz (Seymour J.)
In 23326c108987498c818a941ac4a05...@ericnbpc, on 11/19/2010 at 09:00 PM, Eric Bielefeld eric-ibmm...@wi.rr.com said: I've always liked ISPF edit much more than XEDIT. You said PDF edit - I'm not sure if you mean something different than ISPF edit. There was a time when IBM split SPF into

Re: REXX address environments

2010-11-24 Thread Tony Harminc
On 23 November 2010 15:48, Shmuel Metz (Seymour J.) shmuel+ibm-m...@patriot.net wrote: In aanlkti=2kwjmhcbttxmwkx4-tbsuhvhg0gtabu-8e...@mail.gmail.com, on 11/19/2010 at 03:39 PM, Tony Harminc t...@harminc.net said: An HCE such as the proposed FTP one might well want to add its own routines to

Re: REXX address environments

2010-11-24 Thread Eric Bielefeld
And before the first ISPF, there was SPF - I think it stood for Structured Programming Facility. 026? I remember an 029 and an 024(I think). But we were talking about editors when I made the comment about you like what you first learned. Of course that would depend on the editor. Some

Re: REXX address environments

2010-11-24 Thread zMan
On Tue, Nov 23, 2010 at 3:59 PM, Shmuel Metz (Seymour J.) shmuel+ibm-m...@patriot.net wrote: XEDIT only has one kind of shift. Just curious -- what does that mean? I don't know ISPF/PDF well enough to understand. -- zMan -- I've got a mainframe and I'm not afraid to use it

Re: REXX address environments

2010-11-24 Thread Steve Comstock
On 11/24/2010 1:57 PM, zMan wrote: On Tue, Nov 23, 2010 at 3:59 PM, Shmuel Metz (Seymour J.) shmuel+ibm-m...@patriot.net wrote: XEDIT only has one kind of shift. Just curious -- what does that mean? I don't know ISPF/PDF well enough to understand. ISPF Edit has data shift and column shift.

Re: REXX address environments

2010-11-24 Thread zMan
On Wed, Nov 24, 2010 at 4:01 PM, Steve Comstock st...@trainersfriend.com wrote: ISPF Edit has data shift and column shift. Data shift will not let you shift non-blank data off the line; it also has a little awareness of language specific comments etc. Column shift does what you ask,

Regular Expressions (was: REXX address environments)

2010-11-24 Thread Dave Salt
Although I would be mollified if PDF edit would enhance the FIND, RFIND, CHANGE, and RCHANGE to include POSIX regular expressions.It's not exactly what you want but SimpList has a command called FEX (Find EXpression) that's totally free for anyone to use. It enhances ISPF picture strings by

Re: REXX address environments

2010-11-24 Thread Anne Lynn Wheeler
shmuel+ibm-m...@patriot.net (Shmuel Metz , Seymour J.) writes: I generally preferred XEDIT but I missed having two kinds of shift. But I'm a tool-building guy and XEDIT had better facilities for building edit macros than ISPF/PDF EDIT has. there were several internally developed

Re: Editors (was: REXX address environments)

2010-11-23 Thread Shmuel Metz (Seymour J.)
In listserv%201011201119082596.0...@bama.ua.edu, on 11/20/2010 at 11:19 AM, Paul Gilmartin paulgboul...@aim.com said: The one thing that infuriates me about XEDIT What you need to understand about editors is that a lot of the evaluation criteria are matters of personal preference; what you

Re: REXX address environments

2010-11-20 Thread John McKown
Same editor. Poor choice of words on my part. I still want POSIX regular expressions. And my first IBM full screen editor was EDGAR on VM/370, the precursor to XEDIT. Well, it was the second one actually. My first was SPIN under CICS/VS on OS/VS1 - IIRC, SPIN was the CICS transaction id. It's real

Re: REXX address environments

2010-11-20 Thread zMan
Editors are religion, this entire discussion might should belong in alt.theology, but I have to admit I'm surprised that anyone likes SPF EDIT over XEDIT, simply because there's very little in SPF EDIT that you can't also do in XEDIT, and a lot more. Perhaps the antipathy comes from years of

Re: REXX address environments

2010-11-20 Thread John McKown
Our version of the emacs vs. vi wars. Hey, if you can't use TSO EDIT, well ... grin. And I recently read about an author of books who has abandoned word processors for the UNIX ed editor because it doesn't get in the way of the creative flow of words. Each to his own, having respect for others

Editors (was: REXX address environments)

2010-11-20 Thread Paul Gilmartin
On Sat, 20 Nov 2010 08:53:40 -0500, zMan wrote: Editors are religion, this entire discussion might should belong in alt.theology, but I have to admit I'm surprised that anyone likes SPF EDIT over XEDIT, simply because there's very little in SPF EDIT that you can't also do in XEDIT, and a lot

Re: REXX address environments

2010-11-19 Thread Robert Birdsall
This sounds similar to the use of 'address' in the Amiga version of Rexx. It seemed to work well there. Personally, I think address MVS ought to cover basic OS functions like catalog, while 'hosts' should be able to be provided for other functions, e.g. address CA7, address CICS, address

Re: REXX address environments

2010-11-19 Thread Edward Jaffe
On 11/19/2010 7:29 AM, Robert Birdsall wrote: It also would be nice if address initialized the host interface on first call, so SysCalls('ON'), etc. would not be necessary. I think this would be a nice enhancement. I believe the problem here is that there is no mapping from the host command

Re: REXX address environments

2010-11-19 Thread McKown, John
- From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of Edward Jaffe Sent: Friday, November 19, 2010 12:25 PM To: IBM-MAIN@bama.ua.edu Subject: Re: REXX address environments On 11/19/2010 7:29 AM, Robert Birdsall wrote: It also would be nice if address

Re: REXX address environments

2010-11-19 Thread Tony Harminc
On 19 November 2010 13:57, McKown, John john.mck...@healthmarkets.com wrote: I know that I'm missing something, but that seems to be addressed here: http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ikj4a370/14.14 [Statically adding Host Command Environments] Yes, you can do this

Re: REXX address environments

2010-11-19 Thread Shmuel Metz (Seymour J.)
In listserv%201011190929367313.0...@bama.ua.edu, on 11/19/2010 at 09:29 AM, Robert Birdsall bsqu...@umich.edu said: Personally, I think address MVS ought to cover basic OS functions like catalog, Not if that name is already taken. while 'hosts' should be able to be provided for other

Re: REXX address environments

2010-11-19 Thread Shmuel Metz (Seymour J.)
In a6b9336cdb62bb46b9f8708e686a7ea005d5e05...@nrhmms8p02.uicnrh.dom, on 11/18/2010 at 07:43 AM, McKown, John john.mck...@healthmarkets.com said: There are a number of environments for REXX which are accessed via the ADDRESS command. Eg: ADDRESS TSO ; ADDRESS SDSF; ADDRESS SYSCALL; ADDRESS

Re: REXX address environments

2010-11-19 Thread Paul Gilmartin
On Fri, 19 Nov 2010 16:14:32 -0500, Shmuel Metz (Seymour J.) wrote: As a nonstandard extension to Rexx, it would also be nice to terminate a host interface, That wouldn't make a lot of sense, because it's the host that call REXX in the first place. What would it mean to cancel, e.g., address

Re: REXX address environments

2010-11-19 Thread John McKown
On Fri, 2010-11-19 at 16:01 -0500, Shmuel Metz (Seymour J.) wrote: In a6b9336cdb62bb46b9f8708e686a7ea005d5e05...@nrhmms8p02.uicnrh.dom, on 11/18/2010 at 07:43 AM, McKown, John john.mck...@healthmarkets.com said: There are a number of environments for REXX which are accessed via the

Re: REXX address environments

2010-11-19 Thread Edward Jaffe
On 11/19/2010 10:57 AM, McKown, John wrote: I know that I'm missing something, but that seems to be addressed here: http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ikj4a370/14.14 Based on the following table entry, I'm not sure why rc=syscalls('ON') is required: SUBCOMT11_ENTRY

Re: REXX address environments

2010-11-19 Thread Paul Gilmartin
On Fri, 19 Nov 2010 15:17:00 -0800, Edward Jaffe wrote: Based on the following table entry, I'm not sure why rc=syscalls('ON') is required: SUBCOMT11_ENTRY EQU */* Set up 11th SUBCOMTB entry @P1A*/ SUBCOMT11_NAME

Re: REXX address environments

2010-11-19 Thread Mark Zelden
On Fri, 19 Nov 2010 15:17:00 -0800, Edward Jaffe edja...@phoenixsoftware.com wrote: On 11/19/2010 10:57 AM, McKown, John wrote: I know that I'm missing something, but that seems to be addressed here: http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ikj4a370/14.14 Based on the

Re: REXX address environments

2010-11-19 Thread Paul Gilmartin
On Fri, 19 Nov 2010 17:41:49 -0600, Mark Zelden wrote: Based on a quick test of SLEEP from TSO without rc=syscalls('ON'), it looks like it isn't required. Maybe since z/OS 1.8. I assume you mean sleep 0. Fortunately that doesn't mean sleep forever, as some languages quirkily treat null

Re: REXX address environments

2010-11-19 Thread Mark Zelden
On Fri, 19 Nov 2010 17:52:18 -0600, Paul Gilmartin paulgboul...@aim.com wrote: On Fri, 19 Nov 2010 17:41:49 -0600, Mark Zelden wrote: Based on a quick test of SLEEP from TSO without rc=syscalls('ON'), it looks like it isn't required. Maybe since z/OS 1.8. I assume you mean sleep 0.

Re: REXX address environments

2010-11-19 Thread Edward Jaffe
On 11/19/2010 3:41 PM, Mark Zelden wrote: Based on a quick test of SLEEP from TSO without rc=syscalls('ON'), it looks like it isn't required. Maybe since z/OS 1.8. Sadly, it appears that SYSCALLS initializes some important REXX variables. If you don't call it, they never get initialized.

Re: REXX address environments

2010-11-19 Thread Paul Gilmartin
On Fri, 19 Nov 2010 16:18:58 -0800, Edward Jaffe wrote: Sadly, it appears that SYSCALLS initializes some important REXX variables. If you don't call it, they never get initialized. :-( Even worse, if one relies on PROCEDURE EXPOSE to isolate variable scopes, one must put SYSCALLS('ON') in many

Re: REXX address environments

2010-11-19 Thread Edward Jaffe
On 11/19/2010 10:57 AM, McKown, John wrote: I know that I'm missing something, but that seems to be addressed here: http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ikj4a370/14.14 These are instructions for updating IBM's TSO/E REXX environment parameters modules. The difficulty in

Re: REXX address environments

2010-11-19 Thread Eric Bielefeld
I've always liked ISPF edit much more than XEDIT. You said PDF edit - I'm not sure if you mean something different than ISPF edit. My theory is that what you learn to use first is usually what you like best. I first learned SPF edit back around 1979. I was the VM systems programmer for 5 or

Re: REXX address environments

2010-11-19 Thread Don Williams
I learned Wylbur first. I still miss it. -Original Message- From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of Eric Bielefeld Sent: Friday, November 19, 2010 10:01 PM To: IBM-MAIN@bama.ua.edu Subject: Re: REXX address environments I've always liked

REXX address environments

2010-11-18 Thread McKown, John
There are a number of environments for REXX which are accessed via the ADDRESS command. Eg: ADDRESS TSO ; ADDRESS SDSF; ADDRESS SYSCALL; ADDRESS ISPEXEC; ADDRESS ISREDIT. So, I my mind was wandering around without a keeper the other day and started thinking about what other environments might

Re: REXX address environments

2010-11-18 Thread McLaren Phil
be wrong FTP would be good! Phil -Original Message- From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of McKown, John Sent: 18 November 2010 13:43 To: IBM-MAIN@bama.ua.edu Subject: REXX address environments There are a number of environments for REXX which

Re: REXX address environments

2010-11-18 Thread Scott Ford
I agree John, the REXX Address environments listed would be also great to have. Rexx is general is a great tool and very useful for a lot of scripting.   Scott J Ford   From: McKown, John john.mck...@healthmarkets.com To: IBM-MAIN@bama.ua.edu Sent: Thu

Re: REXX address environments

2010-11-18 Thread Roberto Halais
John: Your ideas are great. Sign me in. We sure need those environments from Rexx. On Thu, Nov 18, 2010 at 9:43 AM, McKown, John john.mck...@healthmarkets.com wrote: There are a number of environments for REXX which are accessed via the ADDRESS command. Eg: ADDRESS TSO ; ADDRESS SDSF; ADDRESS

Re: REXX address environments

2010-11-18 Thread Paul Gilmartin
On Thu, 18 Nov 2010 07:43:03 -0600, McKown, John wrote: There are a number of environments for REXX which are accessed via the ADDRESS command. Eg: ADDRESS TSO ; ADDRESS SDSF; ADDRESS SYSCALL; ADDRESS ISPEXEC; ADDRESS ISREDIT. So, I my mind was wandering around without a keeper the other day

Re: REXX address environments

2010-11-18 Thread McKown, John
[mailto:ibm-m...@bama.ua.edu] On Behalf Of Paul Gilmartin Sent: Thursday, November 18, 2010 1:40 PM To: IBM-MAIN@bama.ua.edu Subject: Re: REXX address environments On Thu, 18 Nov 2010 07:43:03 -0600, McKown, John wrote: There are a number of environments for REXX which are accessed via

Re: REXX address environments

2010-11-18 Thread Frank Swarbrick
VSE supports ADDRESS JCL. Very useful. But I suppose the way JCL is implemented on MVS would probably not allow this. Ah well. Frank -- Frank Swarbrick Applications Architect - Mainframe Applications Development FirstBank Data Corporation - Lakewood, CO USA P: 303-235-1403 The

Re: REXX address environments

2010-11-18 Thread McKown, John
: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of Frank Swarbrick Sent: Thursday, November 18, 2010 1:57 PM To: IBM-MAIN@bama.ua.edu Subject: Re: REXX address environments VSE supports ADDRESS JCL. Very useful. But I suppose the way JCL is implemented on MVS would

Re: REXX address environments

2010-11-18 Thread Don Leahy
For IMS there is REXXIMS, REXXDLI and IMSSPOC. On Thu, Nov 18, 2010 at 08:52, McLaren Phil phil.mcla...@axawinterthur.co.uk wrote: John, There is a Rexx/CICS EXCI interface - CA1D. Just set it up here and it works well. http://www-01.ibm.com/support/docview.wss?rs=1083uid=swg24009233

Re: REXX address environments

2010-11-18 Thread John McKown
Gil, Thanks for the URL. And for letting me down easy. That API looks complete to me. Perhaps now quite as simple as I was envisioning, but complete enough to use as-is without me messing it up. -- John McKown -- For IBM-MAIN