• The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
Menu
  • The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
  • Readers Insights and Feedback: Dealing with Record Locks

    July 17, 2002 Timothy Prickett Morgan

    Hey, Ted:

    It’s been over a year, but I had a batch job that would run into a record lock problem . If it encountered a record lock, it would retrieve the job name and send a break message to that device (all problems were caused by interactive jobs) asking the user to release the record being updated (back out of the update screen).

    Also, I modified update programs and screen files to use the INVITE keyword, and I set the device wait to three minutes; if the user had the update screen up for over three minutes, the RPG program would detect the wait expiration and release the record that was locked for update, in addition to backing out of the update screen. Typically people would call an update screen and then leave for lunch; this would cancel their update screen, and they would resume when returning from lunch. It seemed to have solved our problem.

    — Mike

    Sponsored By
    ADVANCED SYSTEMS CONCEPTS

    SEQUEL meets all your iSeries and AS/400 data access needs in a single, integrated solution:

    • Windows, Web or host user interfaces

    • Convert AS/400 data into PC file formats

    • E-mail or FTP query results, reports and spool files
    • Run-time prompted queries and reports for end users

    • IF-THEN-ELSE logic in queries and reports

    • Report, form and label formatting second to none

    • Easily convert date fields, character-to-numeric, numeric-to-character and other data manipulation

    • SORT or JOIN using a calculated field

    • Quick summarization of data with Tabling function

    • Run multiple SEQUEL requests as one with the SEQUEL Scripting function

    • OLAP Business Intelligence at a fraction of the cost of comparable solutions

    Take 6 minutes to view a SEQUEL ViewPoint ScreenCam movie to see how simple Windows-based AS/400 and iSeries data access can be! In just a few short minutes, you can find out ways to make your job easier and improve data access throughout your organization. Download the ViewPoint movie here .

    For more information or a FREE trial of SEQUEL, call 847/605-1311 or visit Advanced Systems Concepts.

    Share this:

    • Share on Reddit (Opens in new window) Reddit
    • Share on Facebook (Opens in new window) Facebook
    • Share on LinkedIn (Opens in new window) LinkedIn
    • Share on X (Opens in new window) X
    • Email a link to a friend (Opens in new window) Email

    Tags: Tags: mgo_rc, Volume 2, Number 53 -- July 17, 2002

    Sponsored by
    JAMS Software

    One Scheduler. IBM i, Windows, Linux, and More.

    IBM i teams trust JAMS to schedule and orchestrate jobs across every platform in their environment. Centralized visibility, cross-platform dependency management, and alerts that reach the right person before the business feels it.

    Fewer than 5% of IBM i shops run IBM i only. The rest are managing cross-platform dependencies — often without a clear picture of how they connect. JAMS draws that map, enforces those dependencies automatically, and gives your team a single place to monitor, manage, and recover when something goes wrong.

    If you are running hundreds of CL scripts and custom RPG processes, bring them as-is. JAMS runs them exactly as they do today — except now they are visible, monitored, and part of an orchestrated workflow instead of scattered across folders only one person knows about.

    No consumption-based pricing. No surprise bills when your workload spikes. You pay based on how many machines JAMS talks to — that’s it.

    Learn More → https://jamsscheduler.com/lp/ibm-i

    Share this:

    • Share on Reddit (Opens in new window) Reddit
    • Share on Facebook (Opens in new window) Facebook
    • Share on LinkedIn (Opens in new window) LinkedIn
    • Share on X (Opens in new window) X
    • Email a link to a friend (Opens in new window) Email

    Scheduling a Job to Run More than Once a Day SQL and System/36 File Names

    Leave a ReplyCancel reply

MGO Volume: 2 Issue: 53

This Issue Sponsored By

    Table of Contents

    • Readers Insights and Feedback: Dealing with Record Locks
    • SQL and System/36 File Names
    • Using Timestamps as Unique Keys

    Content archive

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

    Recent Posts

    • Big Blue Ships Bob 2.0 And Premium Package For IBM i
    • Your IBM i Jobs Don’t Live On An Island Anymore
    • FalconStor Creates Cloud Clean Room To Prove Backup Recoveries Work
    • Talking Git On IBM i With A Bunch Of IBM i Gits
    • IBM i PTF Guide, Volume 28, Number 22
    • More Power Systems Price Hikes, This Time They Are “Directional”
    • AI Is Not Just For Developers, It Is For Everyone At Your Company
    • Guru: Finding Data In The Forest – Exploring Three-Part Naming In SQL
    • Former IBMer’s New Book Puts The Midrange In The Spotlight
    • Have You Tried To Buy A Server Lately?

    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