尝试在中止操作时控制 ISQL/执行 DISPLAYONLY 字段标记?

发布于 2024-09-07 10:42:00 字数 542 浏览 3 评论 0原文

ISQL 7.3 Perform:

在我的 Perform 屏幕中,我有:

dsptag1 = DISPLAYONLY TYPE SMALLINT;
dsptag2 = DISPLAYONLY TYPE DECIMAL;
lastpdate = transaction.last_pymt_date; [DATE]
inttab1   = interest.int_rate1; [DEC(5,2) {from lookup table}]

AFTER QUERY DISPLAY OF transaction
LET dsptag1 = TODAY - lastpdate
LET dsptag2 = inttab1 * dsptag1
[...]

找到所需的行后,我通过输入客户将要支付的月数继续以利息 pymt 更新它,但决定中止 (CTRL- C) 行动。不幸的是,dsptag1dsptag2 值未恢复为 AFTER QUERY DISPLAY 指示其显示的值,以及其他仅显示标记。然而,表列正确地恢复到更新前的值!

ISQL 7.3 Perform:

In my Perform screen I have:

dsptag1 = DISPLAYONLY TYPE SMALLINT;
dsptag2 = DISPLAYONLY TYPE DECIMAL;
lastpdate = transaction.last_pymt_date; [DATE]
inttab1   = interest.int_rate1; [DEC(5,2) {from lookup table}]

AFTER QUERY DISPLAY OF transaction
LET dsptag1 = TODAY - lastpdate
LET dsptag2 = inttab1 * dsptag1
[...]

After I have located the desired row, I proceed to (U)pdate it with an interest pymt by entering the number of months customer is going to pay, but decide to abort (CTRL-C) the action. Unfortunately, the dsptag1 and dsptag2 values weren't restored to what AFTER QUERY DISPLAY told it to display, as well as other displayonly tags. However table-cols properly revert to their pre-update values!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

皓月长歌 2024-09-14 10:42:00

这听起来确实像是一个错误。请将其报告给 IBM 技术支持。

如果您没有使用最新版本的 ISQL(即 7.50.xC4,所以您不是因为您说的是 7.3 - 这是不精确的,因为 7.30.xC1 比 7.32.xC1 早几年发布,但明确不是 ISQL 7.50),它您可能会被要求升级到该版本。如果问题在更新版本中仍然存在,那么您将创建一个错误,并在适当的时候向您发布修复程序。

That sounds like a bug indeed. Please report it to IBM Technical Support.

If you aren't on the latest version of ISQL (which is 7.50.xC4, so you are not since you say 7.3 - which is imprecise since 7.30.xC1 was released years before 7.32.xC1, but unambiguously not ISQL 7.50), it is likely that you will be requested to upgrade to that. If the problem persists in the updated version, then you will get to create a bug, and in due course a fix will be released to you.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文