And you can't create an Edit Macro to help you solve your problem, because once inserted, the message lines can't be referenced (probably because they have no line number). And macros can't use Make Data to turn the messages into referenceable lines.
-----Original Message----- From: IBM Mainframe Discussion List <[email protected]> On Behalf Of Pommier, Rex Sent: Monday, April 10, 2023 4:58 PM To: [email protected] Subject: Re: [EXTERNAL] Re: ISPF usage question Thanks, Bob, I have 1 of the developers in the habit of doing just that, but I can already hear the howls from some of the others when they're in edit instead of view and accidentally overlay their JCL with the cluttered up version. :-) That's why I was asking if there was some way of getting the search capability from within edit w/o the possibility of saving the messages and notes as data. Rex -----Original Message----- From: IBM Mainframe Discussion List <[email protected]> On Behalf Of Bob Bridges Sent: Monday, April 10, 2023 4:41 PM To: [email protected] Subject: [EXTERNAL] Re: ISPF usage question Not what you're looking for, perhaps, but if I don't want to change my code accidentally I've managed to thoroughly habituate myself to using View rather than Edit. Pretty much all the functions you can use in Edit also work in View, so I expect you'll still be able to see notes and msgs. And you can make them data without worrying about saving them accidentally. There may be a more direct method; I don't want to forestall any better answers. --- Bob Bridges, [email protected], cell 336 382-7313 /* If our religion is something objective, then we must never avert our eyes from those elements in it which seem puzzling or repellent; for it will be precisely the puzzling or the repellent which conceals what we do not yet know and need to know. -CS Lewis, "The Weight of Glory" */ -----Original Message----- From: IBM Mainframe Discussion List <[email protected]> On Behalf Of Pommier, Rex Sent: Monday, April 10, 2023 17:26 Yes, this is an ISPF question but I don't know of anybody in the z/OS world that doesn't use ISPF - and I don't know if the ISPF list (if it is still operational) has much traffic. So here goes. Running certain ISPF macros and/or commands, we get lines added to the ISPF edit screen with "=NOTE=" or "==MSG>" lines. Is there a way to make these lines searchable without converting them to full data lines? The specific instance I'm asking about is running a third party JCL checker, the lines output from the checker are typically notes or messages. The nice thing about them being such, is they aren't really part of the member being edited/checked so if I save the member, these lines aren't included in the member being saved. The drawback of them is that they aren't searchable, so for example, if I'm looking at output with a called PROC, and I want to search for a particular piece of substituted JCL, I can't do so (that I know of) unless I do a full "make data" on the member, which then makes me vulnerable to accidentally saving the member with all the notes and messages still there. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- The information contained in this message is confidential, protected from disclosure and may be legally privileged. If the reader of this message is not the intended recipient or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any disclosure, distribution, copying, or any action taken or action omitted in reliance on it, is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by replying to this message and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
