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
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*. > >I would like to do this in batch using this format: > >//TSOBTCH1 EXEC PGM=IKJEFT01 >//SYSTSPRT DD SYSOUT=*

Re: Edit Macro

2020-08-07 Thread Bob Bridges
Huh! I looked for it, and missed it anyway. Sorry, all. --- Bob Bridges, robhbrid...@gmail.com, cell 336 382-7313 /* Where there’s marriage without love, there will be love without marriage. -Poor Richard */ -Original Message- From: IBM Mainframe Discussion List

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:40:40 +,

Re: Edit Macro

2020-08-06 Thread Seymour J Metz
on behalf of Bob Bridges Sent: Thursday, August 6, 2020 8:51 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Edit Macro 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

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 "Deep

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 the input.

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. > What language?

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
A more simple solution is to create an ALIAS for the main entry JJ Then create an ALIAS JJ1, JJ2, JJ3 all pointing to JJ Lizette > -Original Message- > From: IBM Mainframe Discussion List On Behalf Of > Steely.Mark > Sent: Monday, October 08, 2018 3:16 PM > To: