I've put this thing in debug and LR is not on at the end of the INZSR.
It does seem to go through the detail c-specs once but none of the input
indicators (that would be set on by reading the primary and secondary files)
are on. It's like maybe it's doing a 1P cycle? And then LR just comes on.
-----Original Message-----
From: RPG400-L <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of
DEnglander--- via RPG400-L
Sent: Tuesday, December 10, 2024 11:27 AM
To: rpg400-l@xxxxxxxxxxxxxxxxxx
Cc: DEnglander@xxxxxxxxxxxxxxx
Subject: Re: RPG Cycle doesnt work, then it does
Tom,
There must be something in *INZSR that is turning on LR. I have situations
in cycle programs where that is intentionally done, such as a required
control record is not present, or some other error in *INZSR. In that case,
in addition to LR, it also sets a return parameter, which normally
conditions any subsequent processing. Then, when LR is on in *INZSR, the
program bypasses everything and shuts down. It also would execute any cLR
lines too.
Hope that helps.
Doug
"CONFIDENTIALITY NOTICE: This e-mail transmission (and/or the attachments
accompanying it) contain confidential information belonging to the sender.
The information is intended only for the use of the intended recipient. If
you are not the intended recipient, you are hereby notified that any
disclosure, copying, distribution or the taking of any action in reliance on
the contents of the information is strictly prohibited. Any unauthorized
interception of this transmission is illegal under the law. If you have
received this transmission in error, please promptly notify the sender by
reply e-mail, and then destroy all copies of the transmission."
--
This is the RPG programming on IBM i (RPG400-L) mailing list To post a
message email: RPG400-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or
change list options,
visit:
https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.
As an Amazon Associate we earn from qualifying purchases.