I found it: 
"(a,b) = session" (in quotes) works,

Kees.

> -----Original Message-----
> From: Vernooij, Kees (ITOPT1) - KLM
> Sent: 20 April, 2017 13:49
> To: 'IBM Mainframe Discussion List' <[email protected]>
> Subject: RE: Editmacro, am I in VIEW or EDIT?
> 
> Thanks,
> Kees.
> 
> > -----Original Message-----
> > From: IBM Mainframe Discussion List [mailto:[email protected]]
> On
> > Behalf Of Binyamin Dissen
> > Sent: 20 April, 2017 12:35
> > To: [email protected]
> > Subject: Re: Editmacro, am I in VIEW or EDIT?
> >
> > (A,B) = SESSION
> >
> > On Thu, 20 Apr 2017 09:50:06 +0000 "Vernooij, Kees (ITOPT1) - KLM"
> > <[email protected]> wrote:
> >
> > :>An IMACRO is executed both in VIEW and in EDIT. My macro a.o. does a
> > RENUM, which is useless in VIEW, because it is not going to be saved,
> > but after PF3 I get the prompt that changes will not be saved. If I
> > could do nothing in my IMACRO when it runs in VIEW mode, this will
> > eliminate the prompt. However, I cannot find how to determine if I am
> in
> > VIEW or EDIT mode. Is this possible?
> >
> > --
> > Binyamin Dissen <[email protected]>
> > http://www.dissensoftware.com
> >
> > Director, Dissen Software, Bar & Grill - Israel
> >
> >
> > Should you use the mailblocks package and expect a response from me,
> > you should preauthorize the dissensoftware.com domain.
> >
> > I very rarely bother responding to challenge/response systems,
> > especially those from irresponsible companies.
> >
> > ----------------------------------------------------------------------
> > For IBM-MAIN subscribe / signoff / archive access instructions,
> > send email to [email protected] with the message: INFO IBM-MAIN
********************************************************
For information, services and offers, please visit our web site: 
http://www.klm.com. This e-mail and any attachment may contain confidential and 
privileged material intended for the addressee only. If you are not the 
addressee, you are notified that no part of the e-mail or any attachment may be 
disclosed, copied or distributed, and that any other action related to this 
e-mail or attachment is strictly prohibited, and may be unlawful. If you have 
received this e-mail by error, please notify the sender immediately by return 
e-mail, and delete this message. 

Koninklijke Luchtvaart Maatschappij NV (KLM), its subsidiaries and/or its 
employees shall not be liable for the incorrect or incomplete transmission of 
this e-mail or any attachments, nor responsible for any delay in receipt. 
Koninklijke Luchtvaart Maatschappij N.V. (also known as KLM Royal Dutch 
Airlines) is registered in Amstelveen, The Netherlands, with registered number 
33014286
********************************************************

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to