Re: EDIT MACRO REQUEST

2024-01-09 Thread Paul Gilmartin
On Tue, 9 Jan 2024 22:41:50 +, Steely.Mark wrote: >I would like to check each member of a PDS and if it is empty (0 Lines) - I >would like to add a line with the text of *NONE*. > What requirement does this satisfy? After you do this, how will you know whether a member containing the

Re: EDIT MACRO REQUEST

2024-01-09 Thread Glenn Knickerbocker
On Tue, 9 Jan 2024 23:31:10 +, Schmitt, Michael wrote: >3. LMMLIST LIST STATS(YES) to create a list of the members, with statistics > While LMMLIST rc = 0 > If ZLCNORC = 0 > LMPUT to write your NONE line Of course, that assumes that there *are* already statistics. If the

Re: EDIT MACRO REQUEST

2024-01-09 Thread Jon Perryman
On Tue, 9 Jan 2024 22:41:50 +, Steely.Mark wrote: > ISPSTART CMD(%EDITREXX XX.TSS.CTM.DATA(PADM3) EMPTREXX) > ISPSTART CMD(%EDITREXX XX.TSS.CTM.DATA(PPCT3) EMPTREXX) You don't want to start and stop ISPF for each member (ISPSTART). There are far better methods to process specific

Re: EDIT MACRO REQUEST

2024-01-09 Thread Schmitt, Michael
- From: IBM Mainframe Discussion List On Behalf Of Mark Zelden Sent: Tuesday, January 9, 2024 4:54 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: EDIT MACRO REQUEST On Tue, 9 Jan 2024 22:41:50 +, Steely.Mark wrote: >I would like to check each member of a PDS and if it is empty (0 Li

Re: EDIT MACRO REQUEST

2024-01-09 Thread Steely.Mark
I have the EDITREXX part. That works. Only need help with the EMPTREXX issue. Thanks -Original Message- From: IBM Mainframe Discussion List On Behalf Of Mark Zelden Sent: Tuesday, January 09, 2024 4:54 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: EDIT MACRO REQUEST CAUTION! EXTERNAL

Re: EDIT MACRO REQUEST

2024-01-09 Thread Mark Zelden
;EDITREXX" part, see "EDMACALL" on my web site / CBT file 434. URL of my web site below. The source code has a simple example of an edit macro. Regards, Mark -- Mark Zelden - Zelden Consulting Services - z/OS, OS/390 an

EDIT MACRO REQUEST

2024-01-09 Thread Steely.Mark
I would like to check each member of a PDS and if it is empty (0 Lines) - I would like to add a line with the text of *NONE*. I would like to do this in batch using this format: //TSOBTCH1 EXEC PGM=IKJEFT01 //SYSTSPRT DD SYSOUT=* //SYSLIST DD SYSOUT=* //ISPLOGDD DSN=, //

Re: ISPF: How to remove highlighting of a FIND/SEEK result in an EDIT MACRO

2023-01-04 Thread Wayne Bickerdike
lf > Of > Bob Bridges > Sent: Sunday, 1 January 2023 11:39 AM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: ISPF: How to remove highlighting of a FIND/SEEK result in an > EDIT MACRO > > I don't think I've ever run across this. The Edit Macro manual says this > about RES

Re: ISPF: How to remove highlighting of a FIND/SEEK result in an EDIT MACRO

2023-01-03 Thread Gary Freestone
IBM Mainframe Discussion List On Behalf Of Bob Bridges Sent: Sunday, 1 January 2023 11:39 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: ISPF: How to remove highlighting of a FIND/SEEK result in an EDIT MACRO I don't think I've ever run across this. The Edit Macro manual says this about RESET FIND: &

Re: ISPF: How to remove highlighting of a FIND/SEEK result in an EDIT MACRO

2022-12-31 Thread Paul Gilmartin
On Sun, 1 Jan 2023 00:49:52 +0200, Binyamin Dissen wrote: >I have an EDIT MACRO that is doing a SEEK (but the same results with FIND). >There does not seem to be an obvious way to reset the high-lit result. > Why is highlighting undesirable? Terminal sensitivity? BTW, I'm suddenl

Re: ISPF: How to remove highlighting of a FIND/SEEK result in an EDIT MACRO

2022-12-31 Thread Bob Bridges
I don't think I've ever run across this. The Edit Macro manual says this about RESET FIND: "Turns off highlighting of FIND strings until the next FIND, RFIND, CHANGE, or RCHANGE command. However, SEEK and EXCLUDE do not return the highlighting of FIND strings in this manner. &

ISPF: How to remove highlighting of a FIND/SEEK result in an EDIT MACRO

2022-12-31 Thread Binyamin Dissen
I have an EDIT MACRO that is doing a SEEK (but the same results with FIND). There does not seem to be an obvious way to reset the high-lit result. I tried RESET FIND and RESET with no luck. What obvious command am I missing? -- Binyamin Dissen http://www.dissensoftware.com Director, Dissen

Re: Clist question - edit macro

2022-09-21 Thread Shaffer, Terri
ldwide – Telecommuter H(412-766-2697) C(412-519-2592) terri.shaf...@aciworldwide.com -Original Message- From: IBM Mainframe Discussion List On Behalf Of Paul Gilmartin Sent: Wednesday, September 21, 2022 10:54 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Clist question - edit macro EXTERNAL EMA

Re: Clist question - edit macro

2022-09-21 Thread Paul Gilmartin
On Wed, 21 Sep 2022 13:04:37 +, Shaffer, Terri wrote: > > So I need to change an edit macro to add a function, and most I have figured > reading the RTFM, except for this one, if its possible. > >If this was REXX, and not in a MACRO, I have done this 100 t

Clist question - edit macro

2022-09-21 Thread Shaffer, Terri
Hi, So I need to change an edit macro to add a function, and most I have figured reading the RTFM, except for this one, if its possible. If this was REXX, and not in a MACRO, I have done this 100 times, however. So I am doing this to find the string, which it does, add I do adds

Re: ispf edit macro "HX" line command

2021-09-19 Thread Seymour J Metz
, 2021 4:12 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: ispf edit macro "HX" line command I remembered that (:) prefix command line (primary command) can execute line command Command ===> :hx Command ===> :i Command ===> :r etc ... https://www.ibm.com/docs/en/zos/2.1.0?topic=co

Re: ispf edit macro "HX" line command

2021-09-19 Thread Weizman arbel
I remembered that (:) prefix command line (primary command) can execute line command Command ===> :hx Command ===> :i Command ===> :r etc ... https://www.ibm.com/docs/en/zos/2.1.0?topic=commands-line You can enter edit line commands as primary commands on the command line by prefixing them with

Re: ispf edit macro "HX" line command

2021-09-12 Thread Hank Oerlemans
Sloppy coding then but it answers the original "is there is a way to execute "HX" line command from edit macro ? " Pick a different label name and add smarts for determining the line number. Hank -- Fo

Re: ispf edit macro "HX" line command

2021-09-10 Thread Seymour J Metz
Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Hank Oerlemans [03c4d8bf55f3-dmarc-requ...@listserv.ua.edu] Sent: Friday, September 10, 2021 12:48 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: ispf edit macro "HX" line command /* Rexx */ Address isredit "macro" "

Re: ispf edit macro "HX" line command

2021-09-09 Thread Hank Oerlemans
/* Rexx */ Address isredit "macro" "label 4 = .HX" "FLIP .HX" flips line 4. Hank -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to

Re: ispf edit macro "HX" line command

2021-09-09 Thread Seymour J Metz
I, D, C, CC, RR and DD are not ISREDIT commands or assignment statements. The issue is whether there is a way to issue line commands from an EDIT macro, not whether you can issuethem from a keyboard. There is an ISREDIT INSERT command that has the same effect as an I line command

Re: ispf edit macro "HX" line command

2021-09-09 Thread Joe Monk
Actually they are: https://www.ibm.com/docs/en/zos/2.2.0?topic=macros-performing-line-command-functions Here's the HEX command edit macro: https://www.ibm.com/docs/en/zos/2.2.0?topic=statements-hexset-query-hexadecimal-mode Joe On Thu, Sep 9, 2021 at 2:02 PM Carmen Vitullo wrote: > well

Re: ispf edit macro "HX" line command

2021-09-09 Thread Carmen Vitullo
Answering myself, IBM doc at 2.1 and I'm pretty sure 2.4 see's these commands as edit line commands https://www.ibm.com/docs/en/zos/2.1.0?topic=reference-edit-line-commands <https://www.ibm.com/docs/en/zos/2.1.0?topic=reference-edit-line-commands> HX being one edit and edit macr

Re: ispf edit macro "HX" line command

2021-09-09 Thread Carmen Vitullo
Subject: Re: ispf edit macro "HX" line command I'll have to believe you didn't find it, but I've used edit line commands in macros, like insert, repeat,copy, delete, and assign a label to a line, range(s) if I made an assumption HX is valid then that was a bad assumption Carmen On 9/9/202

Re: ispf edit macro "HX" line command

2021-09-09 Thread Seymour J Metz
] on behalf of Carmen Vitullo [cvitu...@hughes.net] Sent: Thursday, September 9, 2021 1:55 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: ispf edit macro "HX" line command I'll have to believe you didn't find it, but I've used edit line commands in macros, like insert, repeat,copy, delete,

Re: ispf edit macro "HX" line command

2021-09-09 Thread Seymour J Metz
To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: ispf edit macro "HX" line command long before edit CUT and PASTE were readily available in ISPF I picked up a rexx exec from some toolbox online, I don't recall where, but cut and paste were a good example of using edit line commands in a macr

Re: ispf edit macro "HX" line command

2021-09-09 Thread Carmen Vitullo
my explanation was lost in the post, but before CUT and PASTE were available in ISPF I picked up that rexx from some MVS toolkit, it has some examples of using edit line commands in an edit macro, from that example I have used the line command in other macros when needed. Carmen On 9/9/2021

Re: ispf edit macro "HX" line command

2021-09-09 Thread Carmen Vitullo
/* REXX ***/ /*** */ /*** ISPF/PDF edit macro to write lines from a file to the user */ /*** PROFILE pool for later inclusion by the PASTE macro

Re: ispf edit macro "HX" line command

2021-09-09 Thread Carmen Vitullo
assignment statements" and "Chapter 11. Edit macro commands and assignment statements" in z/OS 2.4 ISPF Edit and Edit Macros, SC19-3621-40, and couldn't find any way for an edit macro to issue a line command. What did you do with the variable CMD to treat its value as

Re: ispf edit macro "HX" line command

2021-09-09 Thread Seymour J Metz
I checked Edit assignment statements" and "Chapter 11. Edit macro commands and assignment statements" in z/OS 2.4 ISPF Edit and Edit Macros, SC19-3621-40, and couldn't find any way for an edit macro to issue a line command. What did you do with the variable CMD to treat its

Re: ispf edit macro "HX" line command

2021-09-09 Thread Carmen Vitullo
, September 7, 2021 10:12 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: ispf edit macro "HX" line command Like I said I never used this line command, my syntax was not correct but a quick check; ISREDIT (CMD) = 'HX' should work -I've not tested you need to have the cursor positioned to wher

Re: ispf edit macro "HX" line command

2021-09-09 Thread Seymour J Metz
men Vitullo [cvitu...@hughes.net] Sent: Tuesday, September 7, 2021 10:12 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: ispf edit macro "HX" line command Like I said I never used this line command, my syntax was not correct but a quick check; ISREDIT (CMD) = 'HX' should work -I've not tes

Re: ispf edit macro "HX" line command

2021-09-07 Thread Lionel B. Dyck
My understanding of the OP's initial request was the ability to display a line in hex from within an edit macro, which is probably doing a lot more than just the hex display as it is very easy to do the HX on the line while in edit/view. Unfortunately there are a very limited number of line

Re: ispf edit macro "HX" line command

2021-09-07 Thread Carmen Vitullo
for the misunderstanding I did not know the option "quote original message" and It's tapping me to comment On Thu, 2 Sep 2021 10:55:00 -0500, Carmen Vitullo wrote: I do not understand your response, you asked; there is a way to execute "HX" line command >from e

Re: ispf edit macro "HX" line command

2021-09-05 Thread Weizman arbel
ng me to comment On Thu, 2 Sep 2021 10:55:00 -0500, Carmen Vitullo wrote: >I do not understand your response, you asked; > >there is a way to execute "HX" line command >from edit macro ? >ISREDIT HX .ZCSR > >- is a line command > >now you are askin

Re: ispf edit macro "HX" line command

2021-09-02 Thread Carmen Vitullo
I do not understand your response, you asked; there is a way to execute "HX" line command from edit macro ? ISREDIT HX .ZCSR - is a line command now you are asking command line ? so ISREDIT (CMD) - 'HEX' Carmen On 9/2/2021 10:14 AM, Weizman arbel wrote: ISREDIT HX .ZCSR s

Re: ispf edit macro "HX" line command

2021-09-02 Thread Seymour J Metz
, 2021 7:35 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: ispf edit macro "HX" line command hi, there is a way to execute "HX" line command from edit macro ? -- For IBM-MAIN subscribe / signoff / archive acces

Re: ispf edit macro "HX" line command

2021-09-02 Thread Weizman arbel
ISREDIT HX .ZCSR should work this is command line and there is Does not exist HX in command line (the command is hex on / hex off) -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to

Re: ispf edit macro "HX" line command

2021-09-02 Thread Weizman arbel
So I understand it's impossible execute "HX" line command from edit macro I know the way to do it myself in the code -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@lists

Re: ispf edit macro "HX" line command

2021-09-02 Thread Carmen Vitullo
, Lionel B. Dyck wrote: You can turn HEX ON or OFF in an Edit macro but you can't do it for a specific record. You can do it yourself in your edit macro and insert the hex info as a note or message line below the real record. I cobbled this together - it is a quick/dirty example of an edit

Re: ispf edit macro "HX" line command

2021-09-02 Thread Lionel B. Dyck
You can turn HEX ON or OFF in an Edit macro but you can't do it for a specific record. You can do it yourself in your edit macro and insert the hex info as a note or message line below the real record. I cobbled this together - it is a quick/dirty example of an edit command that will add

Re: ispf edit macro "HX" line command

2021-09-02 Thread Richards, Robert B. (CTR)
2, 2021 7:36 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: ispf edit macro "HX" line command hi, there is a way to execute "HX" line command from edit macro ? -- For IBM-MAIN subscribe / signoff / archive acces

Re: ispf edit macro "HX" line command

2021-09-02 Thread Carmen Vitullo
, there is a way to execute "HX" line command from edit macro ? -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- /I am not bo

ispf edit macro "HX" line command

2021-09-02 Thread Weizman arbel
hi, there is a way to execute "HX" line command from edit macro ? -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Re: ISPF Edit Macro Regular Expression

2021-05-30 Thread Seymour J Metz
IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Paul Gilmartin [000433f07816-dmarc-requ...@listserv.ua.edu] Sent: Sunday, May 30, 2021 1:55 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: ISPF Edit Macro Regular Expression On Sat, 29 May 2021 20:15:17 -0700, Charles Mills wr

Re: ISPF Edit Macro Regular Expression

2021-05-30 Thread Paul Gilmartin
On Sat, 29 May 2021 20:15:17 -0700, Charles Mills wrote: >That's why we get the big bucks. > Ah! EBCDIC belongs top the Full Employment Program for coders! On Sun, 30 May 2021 15:48:01 +, Seymour J Metz wrote: >> That's not cheating; > >Of course it is cheating; it's not a faithful

Re: ISPF Edit Macro Regular Expression

2021-05-30 Thread Seymour J Metz
816-dmarc-requ...@listserv.ua.edu] Sent: Saturday, May 29, 2021 11:07 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: ISPF Edit Macro Regular Expression On Sun, 30 May 2021 01:03:04 +, Seymour J Metz wrote: >> I hate EBCDIC issue, it's a multiple code page set issue!. Pop quiz: when >&g

Re: ISPF Edit Macro Regular Expression

2021-05-30 Thread David Spiegel
t's why we get the big bucks. Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Seymour J Metz Sent: Saturday, May 29, 2021 6:03 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: ISPF Edit Macro Regular Expression I hate EBCDIC i

Re: ISPF Edit Macro Regular Expression

2021-05-30 Thread Sean Gleann
Message- > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On > Behalf Of Seymour J Metz > Sent: Saturday, May 29, 2021 6:03 PM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: ISPF Edit Macro Regular Expression > > > I hate EBCDIC issue, it's a multiple

Re: ISPF Edit Macro Regular Expression

2021-05-29 Thread Charles Mills
That's why we get the big bucks. Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Seymour J Metz Sent: Saturday, May 29, 2021 6:03 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: ISPF Edit Macro Regular Expression > I hate EBC

Re: ISPF Edit Macro Regular Expression

2021-05-29 Thread Paul Gilmartin
On Sun, 30 May 2021 01:03:04 +, Seymour J Metz wrote: >> I hate EBCDIC issue, it's a multiple code page set issue!. Pop quiz: when >> using REXX on a PC, is � 'AA'X or 'AC'X? And, yes, you can cheat and use \ > That's not cheating; it's USASCII. Porrtable. >... so you don't have to care

Re: ISPF Edit Macro Regular Expression

2021-05-29 Thread Seymour J Metz
From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Tom Brennan [t...@tombrennansoftware.com] Sent: Saturday, May 29, 2021 1:10 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: ISPF Edit Macro Regular Expression Hi Greg, That's probably what I'm

Re: ISPF Edit Macro Regular Expression

2021-05-29 Thread Seymour J Metz
Friday, May 28, 2021 7:50 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: ISPF Edit Macro Regular Expression (This thread would better go on ISPF-L.) On Fri, 28 May 2021 13:27:23 -0400, David Spiegel wrote: > >I'm trying to write a Rexx ISPF Edit Macro which contains a FIND Regular >Expression

Re: ISPF Edit Macro Regular Expression

2021-05-29 Thread Tom Brennan
Nice! I like the SYMSET character map too. For me, hex is no problem - I still have a couple of Casio CM-100 calculators from the 1980's, which are far above any others I used in ease of use. http://edspi31415.blogspot.com/2017/02/retro-review-casio-cm-100-computer-math.html On 5/29/2021

Re: ISPF Edit Macro Regular Expression

2021-05-29 Thread Greg Price
On 5/28/2021 10:10 PM, Tom Brennan wrote: I see my current code page 1047 showing up as 0417 hex - highlighted at the bottom of this image: http://www.mildredbrennan.com/mvs/termtest.png Right... Well done to spot it there! SYMSET0 should break that out (still in hex sorry to say) on the

Re: ISPF Edit Macro Regular Expression

2021-05-28 Thread Tom Brennan
Hi Greg, That's probably what I'm thinking of, or maybe in the back of my mind it was something under ISPF written by Doug Nadel. I forgot! But I just tried your program and I see my current code page 1047 showing up as 0417 hex - highlighted at the bottom of this image:

Re: ISPF Edit Macro Regular Expression

2021-05-28 Thread Greg Price
On 29/05/2021 7:30 am, Tom Brennan wrote: But years ago I remember a bit of free code that displayed many more terminal characteristics.  I'm not talking ISPF terminal types (I'd recommend using type 3 with PCOMM, some others tell ISPF to sends graphic characters to the screen).  I'm talking

Re: ISPF Edit Macro Regular Expression

2021-05-28 Thread Paul Gilmartin
(This thread would better go on ISPF-L.) On Fri, 28 May 2021 13:27:23 -0400, David Spiegel wrote: > >I'm trying to write a Rexx ISPF Edit Macro which contains a FIND Regular >Expression. >... >I turned HEX ON so that my square brackets can be displayed. (I used >x'AD' and x'

Re: ISPF Edit Macro Regular Expression

2021-05-28 Thread Seymour J Metz
From: IBM Mainframe Discussion List on behalf of Tom Brennan Sent: Friday, May 28, 2021 5:30 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: ISPF Edit Macro Regular Expression There is a variable. I found this old panel of mine: ** * Top of Data

Re: ISPF Edit Macro Regular Expression

2021-05-28 Thread Tom Brennan
[IBM-MAIN@LISTSERV.UA.EDU] on behalf of David Spiegel [dspiegel...@hotmail.com] Sent: Friday, May 28, 2021 2:01 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: ISPF Edit Macro Regular Expression Hi R'Shmuel AMV"SH, I am using PCOMM. How do I display the Code Page? ISPF Option 0: Log

Re: ISPF Edit Macro Regular Expression

2021-05-28 Thread David Spiegel
: Re: ISPF Edit Macro Regular Expression Hi R'Shmuel AMV"SH, I am using PCOMM. How do I display the Code Page? ISPF Option 0: Log/List Function keys Colors Environ Workstation Identifier Help s

Re: ISPF Edit Macro Regular Expression

2021-05-28 Thread Seymour J Metz
From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of David Spiegel [dspiegel...@hotmail.com] Sent: Friday, May 28, 2021 2:01 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: ISPF Edit Macro Regular Expression Hi R'Shmuel AMV"SH, I am using PCOMM. How do I di

Re: ISPF Edit Macro Regular Expression

2021-05-28 Thread David Spiegel
LISTSERV.UA.EDU] on behalf of David Spiegel [dspiegel...@hotmail.com] Sent: Friday, May 28, 2021 1:27 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: ISPF Edit Macro Regular Expression Hi, I'm trying to write a Rexx ISPF Edit Macro which contains a FIND Regular Expression. I'm getting a ISRE997 on this line

Re: ISPF Edit Macro Regular Expression

2021-05-28 Thread David Spiegel
cussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of David Spiegel [dspiegel...@hotmail.com] Sent: Friday, May 28, 2021 1:27 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: ISPF Edit Macro Regular Expression Hi, I'm trying to write a Rexx ISPF Edit Macro which contains a FIND Regular Expression. I'm getting

Re: ISPF Edit Macro Regular Expression

2021-05-28 Thread Seymour J Metz
id Spiegel [dspiegel...@hotmail.com] Sent: Friday, May 28, 2021 1:27 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: ISPF Edit Macro Regular Expression Hi, I'm trying to write a Rexx ISPF Edit Macro which contains a FIND Regular Expression. I'm getting a ISRE997 on this line: &qu

ISPF Edit Macro Regular Expression

2021-05-28 Thread David Spiegel
Hi, I'm trying to write a Rexx ISPF Edit Macro which contains a FIND Regular Expression. I'm getting a ISRE997 on this line: "ISREDIT FIND R'ÝABCDEFGHIJKLMNOPQRSTUVWXYZ@#$¨'" 3 7CEDCCCE4CCDC4D7ACD775B774F444 F92954930695409DD12345678912345678923456789CBBD

Re: Edit Macro

2020-08-07 Thread Bob Bridges
@LISTSERV.UA.EDU] On Behalf Of Paul Gilmartin Sent: Thursday, August 6, 2020 22:38 > It was mentioned and addressed: --- On Thu, 6 Aug 2020 20:51:42 -0400, Bob Bridges wrote: >No one else has mentioned it, so I may be all wet, but don't you have to >have an ISPF environment to run an ISPF E

Re: Edit Macro

2020-08-07 Thread Jeremy Nicoll
On Thu, 6 Aug 2020, at 23:40, Steely.Mark wrote: > //SYSTSIN DD * > PROFILE PREFIX(xx) > ISPSTART CMD(%EDITREX1 XXX0111.DATA(DATAXX) - EICUPDT PARM(1)) So the command being issued once ispf is up is %EDITREX1 XXX0111.DATA(DATAXX) - EICUPDT PARM(1) > Here is EDITREX1: > PARSE ARG

Re: Edit Macro

2020-08-06 Thread Paul Gilmartin
On Thu, 6 Aug 2020 20:51:42 -0400, Bob Bridges wrote: >No one else has mentioned it, so I may be all wet, but don't you have to >have an ISPF environment to run an ISPF Edit macro? IKJEFT01 won't do >itI thought. > It was mentioned and addressed: On Thu, 6 Aug 2020 22

Re: Edit Macro

2020-08-06 Thread Seymour J Metz
You are correct; you have to call an EDIT macro from within EDIT. However, you can write a macro that tests how it was invoked and behaves accordingly. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List

Re: Edit Macro

2020-08-06 Thread Bob Bridges
No one else has mentioned it, so I may be all wet, but don't you have to have an ISPF environment to run an ISPF Edit macro? IKJEFT01 won't do itI thought. --- Bob Bridges, robhbrid...@gmail.com, cell 336 382-7313 /* Never dare your little brother to paint the family car. -from "

Re: Edit Macro

2020-08-06 Thread Joe Monk
>> >> I did add that - but the process is not executing the macro. >> >> So that is not the problem. >> >> Thanks >> >> >> >> -Original Message- >> From: IBM Mainframe Discussion List On Behalf >> Of Joe Monk >&g

Re: Edit Macro

2020-08-06 Thread Joe Monk
t; To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: Edit Macro > > ATTENTION: This e-mail came from an external source. Do not open > attachments or click on links from unknown or unexpected emails. > > > Well... > > The first thing youve got to do is fix your edit macro

Re: Edit Macro

2020-08-06 Thread Steely.Mark
@LISTSERV.UA.EDU Subject: Re: Edit Macro ATTENTION: This e-mail came from an external source. Do not open attachments or click on links from unknown or unexpected emails. Well... The first thing youve got to do is fix your edit macro. When you run an edit macro in batch, it has to end with "ISREDIT END&

Re: Edit Macro

2020-08-06 Thread Joe Monk
Well... The first thing youve got to do is fix your edit macro. When you run an edit macro in batch, it has to end with "ISREDIT END". So, you might have two different versions, one for batch and one for online. Second, when you run ISREDIT in batch, you have to use a macro to supply

Edit Macro

2020-08-06 Thread Steely.Mark
Send again hope it keeps the formatting. I have this edit macro EICUPDT: * Top of Data ISREDIT MACRO (NUM1) ISREDIT COPY EICLIST 20 20 BEFORE 1 ISREDIT COPY EICLIST BEFORE 1 EXIT: + EXIT CODE(0) Bottom of Data ** When I am

Edit Macro

2020-08-06 Thread Steely.Mark
I have this edit macro EICUPDT: * Top of Data ISREDIT MACRO (NUM1) ISREDIT COPY EICLIST 20 20 BEFORE 1 ISREDIT COPY EICLIST BEFORE 1 EXIT: + EXIT CODE(0) Bottom of Data ** When I am in a edit member session and I enter

Re: [ISPF-L] "macro_msg" edit macro command not working for "COMPARE" command?

2020-02-04 Thread Jeremy Nicoll
ast new keyword was > added on 2018-07-31) keywords from 1) > > 3) A "master" exec/edit macro that reads 1), and updates the keyword tables > inside the "handful of others" > > > Why don't you leave the execs alone and make them read their data from > &

Re: [ISPF-L] "macro_msg" edit macro command not working for "COMPARE" command?

2020-02-04 Thread Robert Prins
process its contents. The "master" exec/edit macro (it's both) just extracts all the relevant data, and passes it on to the various per-exec/edit macro subroutines. It has no clue whether the data to be processed by any of these other exec/edit macros has changed. That's confusing. Earlie

Re: [ISPF-L] "macro_msg" edit macro command not working for "COMPARE" command?

2020-02-04 Thread Jeremy Nicoll
he input file for the affected execs does change, but the changes may not > affect all of the REXX execs/edit macros that are used to process its > contents. > The "master" exec/edit macro (it's both) just extracts all the relevant data, > and passes it on to the various per-ex

Re: [ISPF-L] "macro_msg" edit macro command not working for "COMPARE" command?

2020-02-04 Thread Robert Prins
s change-log entries ... then you won't have the 'compare' problem? The input file for the affected execs does change, but the changes may not affect all of the REXX execs/edit macros that are used to process its contents. The "master" exec/edit macro (it's both) just extracts all

Re: [ISPF-L] "macro_msg" edit macro command not working for "COMPARE" command?

2020-02-04 Thread Jeremy Nicoll
On Tue, 4 Feb 2020, at 11:44, Robert Prins wrote: > It also updates the change-logs in each of the affected execs, and as > we keep a few generations of older versions around, it's irritating > that compares show that the change-log has been updated, but > that there are no other changes. So

Re: [ISPF-L] "macro_msg" edit macro command not working for "COMPARE" command?

2020-02-04 Thread Robert Prins
On 2020-02-03 21:52, Bob Bridges wrote: I've never used the COMPARE command. (Never used MACRO_MSG, either.) What message were you expecting from COMPARE? "Files are the same" or of course the message that tells me they're not. It would allow me to cancel the update that in fact isn't an

Re: [ISPF-L] "macro_msg" edit macro command not working for "COMPARE" command?

2020-02-03 Thread Bob Bridges
I've never used the COMPARE command. (Never used MACRO_MSG, either.) What message were you expecting from COMPARE? --- Bob Bridges, robhbrid...@gmail.com, cell 336 382-7313 /* By 2005 or so, it will be clear that the Internet's impact on the economy has been no greater than the fax

"macro_msg" edit macro command not working for "COMPARE" command?

2020-02-03 Thread Robert Prins
I've been using this for ages, and in case you've never heard of it: MACRO_MSG Set or Query the Macro Message switch The MACRO_MSG assignment statement sets or retrieves the value of the macro_msg switch, which controls whether macro processing delivers ISPF messages to the macro. Syntax

Re: ISPF edit macro behaivor in SDSF

2019-03-29 Thread Dana Mitchell
ata for the "get first/next" record request from EDIF. > >I have just executed the following simple REXX EDIT macro in SDSF SJ and SE in >2.2 and 2.3 and the results were as expected: > >address ISREDIT "MACRO" >address ISREDIT "(CU

Re: ISPF edit macro behaivor in SDSF

2019-03-29 Thread Rob Scott
Dana I would double-check your REXX exec code - perhaps paste to the forum? "SE" and "SJ" use ISPF "EDIF" services - pretty much all SDSF does is supply the data for the "get first/next" record request from EDIF. I have just executed the following

ISPF edit macro behaivor in SDSF

2019-03-29 Thread Dana Mitchell
I have an edit macro that I've used in one form or another for many years, it's my version of the point and shoot edit. Place the cursor on a dataset name in a jcl member for instance, hit the PFK set to ';CA' and you are taken to edit of that dataset. It discerns the dataset name

Re: EDIT Macro

2018-10-08 Thread Paul Gilmartin
On Mon, 8 Oct 2018 22:16:16 +, Steely.Mark wrote: >I have a JCL Check product that uses an EDIT Macro to check the JCL. This EDIT >Macro has been copied under different member names through the years. The >customers uses whatever process was provided when hired. > W

Re: EDIT Macro

2018-10-08 Thread Steely.Mark
I really don't want to do that but may be the only option. Thanks -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Lizette Koehler Sent: Monday, October 08, 2018 5:41 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: EDIT Macro A more

Re: EDIT Macro

2018-10-08 Thread Lizette Koehler
t; To: IBM-MAIN@LISTSERV.UA.EDU > Subject: EDIT Macro > > I have a JCL Check product that uses an EDIT Macro to check the JCL. This > EDIT Macro has been copied under different member names through the years. > The customers uses whatever process was provided when hired. > > The quest

EDIT Macro

2018-10-08 Thread Steely.Mark
I have a JCL Check product that uses an EDIT Macro to check the JCL. This EDIT Macro has been copied under different member names through the years. The customers uses whatever process was provided when hired. The question is can I call another edit macro within another edit macro. Ex. JJ1

Re: :Re: Message IRX0006I running an edit macro CLIST

2017-09-01 Thread Jesse 1 Robinson
List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Dan D Sent: Friday, September 01, 2017 12:44 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: (External):Re: :Re: Message IRX0006I running an edit macro CLIST Hi Skip, Have you checked the ISPF command table for your command? =3.9 then change the table

Re: :Re: Message IRX0006I running an edit macro CLIST

2017-09-01 Thread Dan D
Hi Skip, Have you checked the ISPF command table for your command? =3.9 then change the table to ISP. We have quite a few CLISTs there ... WHOAMI3 SELECT CMD(%WHOAMI) Then a WHOAMI CLIST that checks for ISPF and pops up a window with user info. If it's not within ISPF it just WRITES

Re: Message IRX0006I running an edit macro CLIST

2017-08-29 Thread CM Poncelet
gt; From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On > Behalf Of CM Poncelet > Sent: Monday, August 28, 2017 6:04 PM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: (External):Re: :Re: Message IRX0006I running an edit macro CLIST > > FWIW > > The oddity is that

Re: Message IRX0006I running an edit macro CLIST

2017-08-29 Thread Jesse 1 Robinson
@LISTSERV.UA.EDU] On Behalf Of CM Poncelet Sent: Monday, August 28, 2017 6:04 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: (External):Re: :Re: Message IRX0006I running an edit macro CLIST FWIW The oddity is that there are *no* edit macro statements after "ISREDIT MACRO (PARMSTR)". So why is an

Re: :Re: Message IRX0006I running an edit macro CLIST

2017-08-28 Thread Paul Gilmartin
;preceding "ISREDIT MACRO" statement. >  But you might risk a "NOT AN EDIT MACRO" error in its absence. >BTW I use "ADDRESS" only for "ADDRESS IPCS", to avoid having to juggle >between "ADDRESS TSO/MVS/ISREDIT/ISPEXEC/whatever-else". >  D

Re: :Re: Message IRX0006I running an edit macro CLIST

2017-08-28 Thread CM Poncelet
*Any* commands that can be issued in a Clist or REXX proc (e.g. "ISPEXEC SELECT PGM(J00YCKAL) PARM(JLRCL)" etc.)can also be issued in an edit macro. But *only edit* statements (e.g. "EXCLUDE ALL P'¬'" then "CHANGE ALL P'.' ' ' NX" etc.) can be issued in edit

Re: :Re: Message IRX0006I running an edit macro CLIST

2017-08-28 Thread Paul Gilmartin
On Tue, 29 Aug 2017 02:04:25 +0100, CM Poncelet wrote: >FWIW > >The oddity is that there are *no* edit macro statements after "ISREDIT >MACRO (PARMSTR)". So why is an edit macro declared in the Clist? >  >E.g. "ISPEXEC SELECT PGM(J00YCKAL) PARM(JLRCL)" etc.

Re: :Re: Message IRX0006I running an edit macro CLIST

2017-08-28 Thread CM Poncelet
FWIW The oddity is that there are *no* edit macro statements after "ISREDIT MACRO (PARMSTR)". So why is an edit macro declared in the Clist?   E.g. "ISPEXEC SELECT PGM(J00YCKAL) PARM(JLRCL)" etc.can be issued directly from the Clist proc and does not need an edit macro to d

  1   2   >