If you code with an If block, in debug mode you will see immediately that the line is skipped when 99 is *OFF:
If ( *in99 ) ;
EXFMT FORMATA ;
EndIf ;
__________________________________________________
Michael Steigman
i5 (AS/400) Programmer & Administrator Migdal Ha'Emeq
IT Israel
Information Technology
tel. +972 4 6447788
fax. +972 4 6447788
mobile +972 54 3000169
website www.Vishay.com
intranet intra.globalit.Vishay.com
Vishay Israel, Ltd.
Ramat Gabriel, P.O.B. 852, Migdal HaEmeq, 10500, Israel
__________________________________________________
-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Bill Howie
Sent: Friday, 04 September, 2015 16:15
To: RPG programming on the IBM i (AS/400 and iSeries)
Subject: Does line actually execute in debug?
Hello all,
I have a question. I'm running a program in debug and trying to figure out
if a particular display format is being executed. I've set a breakpoint
on the line and the program does stop there. However the actual execution
of the line is dependent on an indicator like so:
99 EXFMT FORMATA
and the indicator is OFF at the time. I'm thinking that I'm correct in
saying that the debug processor stops before the execution of the actual line. So technically if the indicator is off, this line is NOT getting
executed in any way. This program has several display formats that are
almost identical, and I check the open files directly after this statement and it does not show this format being displayed.
Thoughts?
Thanks!
Bill
--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.