• The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
Menu
  • The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
  • Reader Feedback and Insights: Avoiding Object Locks

    July 10, 2002 Timothy Prickett Morgan

    Hey, Ted:

    After reading the January 18 Midrange Guru article, “Avoiding Record Locks in RPG,”I still don’t understand how the record lock is avoided. The program acknowledged the condition by the indicator that was set, but how does this change the fact that the record is locked? Can you enlighten me?

    — Tom

    The technique doesn’t do anything about the lock, Tom. It can’t. But the technique does keep a program from freezing while waiting for a record lock, and it does tell which job has the record locked.

    Of course, since it tells you which job has the record locked, you could make the program cancel the other job by executing ENDJOB with QCMDEXC.

    — Ted

    Sponsored By
    WORKSRIGHT SOFTWARE

    On June 30, 2002,
    $$$$$$$$    Postal Rates went UP!    $$$$$$$$

    On July 1, 2002,
    $$$$$    you wanted your postage bill to go down.    $$$$$

    We have the solution! CASS certify your mailing names
    and addresses and presort your outgoing mail and save. Our CASS certification software ensures that your address files
    have valid ZIP Code and address information. Our presort software ensures that you can properly prepare you mail
    for delivery to your Post Office.

    WorksRight Software,
    Inc. is the number-one source for iSeries and AS/400 CASS,
    presort, ZIP Code, and area code software and data.

    Visit our Web site – www.worksright.com –
    to learn more about our CASS and presorting software, or contact WorksRight Software, Inc., phone 601-856-8337,

    e-mail software@worksright.
    com
    .

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Tags: Tags: mgo_rc, Volume 2, Number 51 -- July 10, 2002

    Sponsored by
    New Generation Software

    FREE Webinar:

    Creating Great Data for Enterprise AI

    Enterprise AI relies on many data sources and types, but every AI project needs a data quality, governance, and security plan.

    Wherever and however you want to analyze your data, adopting modern ETL and BI software like NGS-IQ is a great way to support your effort.

    Webinar: June 26, 2025

    RSVP today.

    www.ngsi.com – 800-824-1220

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Distinct File and Record Names with SQL Reader Feedback and Insights: Service Program Catch-22 Simplified

    Leave a Reply Cancel reply

MGO Volume: 2 Issue: 51

This Issue Sponsored By

    Table of Contents

    • Reader Feedback and Insights: Avoiding Object Locks
    • Use Query/400 to Find IFS Files in BRMS
    • Delete Badly-Named OS/400 IFS Files, Take Two

    Content archive

    • The Four Hundred
    • Four Hundred Stuff
    • Four Hundred Guru

    Recent Posts

    • Public Preview For Watson Code Assistant for i Available Soon
    • COMMON Youth Movement Continues at POWERUp 2025
    • IBM Preserves Memory Investments Across Power10 And Power11
    • Eradani Uses AI For New EDI And API Service
    • Picking Apart IBM’s $150 Billion In US Manufacturing And R&D
    • FAX/400 And CICS For i Are Dead. What Will IBM Kill Next?
    • Fresche Overhauls X-Analysis With Web UI, AI Smarts
    • Is It Time To Add The Rust Programming Language To IBM i?
    • Is IBM Going To Raise Prices On Power10 Expert Care?
    • IBM i PTF Guide, Volume 27, Number 20

    Subscribe

    To get news from IT Jungle sent to your inbox every week, subscribe to our newsletter.

    Pages

    • About Us
    • Contact
    • Contributors
    • Four Hundred Monitor
    • IBM i PTF Guide
    • Media Kit
    • Subscribe

    Search

    Copyright © 2025 IT Jungle