• The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
Menu
  • The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
  • Admin Alert: A Client Access Mystery Solved. . . with No-Prizes!!!

    July 16, 2008 Joe Hertvik

    In April, I introduced Rick, an admin with a Client Access problem. His 9406-720 AS/400 would not accept more than 70 5250 client sessions. Try as I might, I was unable to solve Rick’s issue. In desperation, I submitted the problem to my legions of readers (at least 50), offering a variation on a Marvel Comics’ No-Prize to anyone who could solve it. Here’s what happened.

    Part One: The Deluge of Answers

    Never in the history of Admin Alert (serving the Power i, iSeries, and AS/400 community since 2002) had I received so large a response to a single column. There were so many responses (50 in all) that it took Rick a full two months to get through all of them and discover his solution. Both Rick and I wanted to thank everyone who wrote in with tricks, techniques, or comments. It was a great display of camaraderie and well appreciated.

    Part Two: The Problem in Detail

    Rick’s problem was that he had seemingly run into a limit on the number of IBM Client Access sessions that his OS/400 V4R4 machine could accept. After hitting the limit, users would open the Client Access software, start a 5250 session, and find they were unable to connect. Rick’s Autoconfigure virtual devices system value (QAUTOVRT) was set to *NOMAX, which allowed his machine to create an unlimited number of QPADEVxxxx devices for his 5250 session users. To make matters worse, PC5250 wasn’t even providing an informative error message to Rick’s users. It just displayed a blank connection screen without a logon box, displaying a simple Line 23 message that no host connection could be made.

    Times were bleak in that shop.

    A Clue, and We Don’t Mean the Board Game

    But there were hints. Rick started noticing that the problem would appear after about 65 to 70 users had logged on to the system. Doing some basic detective work, he started counting the number of open Telnet sessions that were on the machine each time the AS/400 stopped accepting connections. According to Rick, the number varied somewhat. Non-connecting users would sometimes appear when 62 Telnet users were on the machine; sometimes they appeared when there were 68 users.

    “Clue number one was that if the number varied, then it couldn’t be a hard limit,” wrote Rick. “So I began to look for any type of program limit, maybe some program was not allowing additional jobs to start or maybe it was even changing system values. But I did notice that the problem seemed to be most prevalent around lunch time.”

    Hungry for Answers…and a Bagel

    Sensing that whatever was happening was specifically designed to keep him from eating his lunch, Rick took drastic action. He set the limit device session system value (QLMTDEVSSN) to one so that general user access was limited to one and only one device session for each user. He had reduced the problem by reducing the number of sessions on his system.

    “That caused such an outcry from the users that I was almost tarred and feathered by an angry lynch mob,” Rick said. “And finally I was able to eat my lunch in peace, but only twice before [the problem] came up again.”

    Hungry and driven to frustration, Rick was examining a job log associated with a hung session when he asked that user how his session came to be hung. The user replied that his PC locked up and he had to reboot it. When asked if this happened often, Rick felt a chill when the user replied.

    “Yea, just about every day, especially when I get back from lunch.”

    Looking around, Rick found several other examples of users who washed down their lunch with a nice warm system reboot. A pattern was emerging.

    Ding, Dong, the Switch is Dead

    So Rick went for broke, and removed the one device per user limit (by changing the QLMTDEVSSN value back to zero) and instructed the users to open as many sessions as they wanted. He counted 64 open sessions, and waited for someone’s PC to freeze up. But it wasn’t just one PC that went cold. Three other PCs were locked up.

    And the culprit wasn’t his AS/400.

    “It was a faulty switch losing network connectivity that froze the machines,” exclaimed Rick. “After replacing the switch and ending the users’ still active sessions, I looked at the QPADEVxxxx devices [on the machine] and found several that were varied off. BINGO.”

    Rick discovered that after deleting the non-active device descriptions, his users could log on again. It turned out that the AS/400 was having a problem cleaning up older, disconnected QPADEVxxxx device descriptions. Many of the QPADEVxxxx descriptions were varied off, which prevented users from getting a sign-on screen when the device was assigned to an incoming Telnet session. When the devices were varied on, the users started getting sign-on screens again, although the users would sometimes receive pop-up messages about damaged message queues associated with the device.

    “A faulty switch exaggerated the issue, but I still have users who do not log off the system before they close the Client Access software on their PCs,” said a happy, well-fed Rick. “I wrote a program to vary off unused sessions and delete the QPADEVxxxx device descriptions and message queues every night. And if need be, I can run the program during the day to clean up offending devices if I get a call about not being able to get a logon screen.”

    Like many problems, Rick’s issue had multiple causes. Over the years, his AS/400 had accumulated a number of damaged and varied-off QPADEVxxxx devices that were limiting the number of users who could sign on. In addition, his faulty network switch exacerbated the problem by knocking more user sessions off each day during a high traffic period, when users logged on again after lunch. Once these two problems were corrected, life went back to normal, and Rick’s AS/400 was once again able to break the artificial limit of 60 to 70 users. The last time he wrote me, Rick had counted a new high of 93 5250 sessions started on his machine.

    And the No-Prizes Go To. . .

    Although no one suggested that a faulty piece of network equipment might be exacerbating the issue, three readers did suggest that Rick examine his QPADEVxxxx devices and vary on all varied-off devices. In alphabetical order, these stalwart Client Access detective readers were:

    1. Bruce Battersby
    2. Doug Huddleston
    3. Richy Peebles

    All three of you, please stand up and take a bow. And be sure to look for your No-Prize in next week’s email. It will be sent from my secured Swiss No-Account directly to the world’s best No-ISP who will quickly deliver it to No-Email address that belongs to you. To distinguish it from SPAM, the subject line will either read Oil falls below $100 a barrel, Weight Loss, or The best way to meet singles in your city.

    In fact, since I’m feeling generous, I’m going to send Good Try No-Prizes to everyone who entered the contest, including the following people and people-ish names that I derived from the email addresses of the contestants:

    • Art Blose
    • Ben Chizary
    • Bill Cook
    • Bill Robbins
    • Bob Abbot
    • Bud Abbot
    • David Smith, or David Smi, or something like that (unclear name)
    • David Thane (multiple entries)
    • Doug Englander
    • Ernie McCormick
    • Faulkr (also featured in the movie, Meet the Parents)
    • Geert Braem
    • Gerald Zavitz (multiple submissions)
    • Hugo Hurley
    • J. Brown
    • J. D. Salinger
    • J. D. Shaughnessy
    • J. Deming
    • J. Green
    • J. Plamontre
    • Joe Rutledge
    • John Jones
    • John Kinnaird
    • Josef Torok
    • K. Reischl
    • Kevin, just Kevin
    • Larry Hegler (multiple submissions)
    • Louis Armstrong
    • M. Belle
    • M. Broeders
    • M. K. Jenaas
    • Matthew Karwowski
    • Michael Boyer
    • Michael Quigley
    • Mr. Green Jeans
    • Opn Honest
    • Paul Musselman
    • Pewald
    • Pinamount (multiple entries)
    • Quincy McGoo
    • Rich Grega
    • Richard Sherwood
    • Roger Henady
    • Steve, just Steve
    • Stuart, just Stuart
    • The emailer known only as Keppich
    • Tim Linday
    • William Brown

    Thanks, everyone. We’ll have to do this again sometime.

    RELATED STORIES

    Joe Hertvik: Admin Alert

    Solve a Client Access Mystery, Win a No Prize



                         Post this story to del.icio.us
                   Post this story to Digg
        Post this story to Slashdot

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Tags:

    Sponsored by
    WorksRight Software

    Do you need area code information?
    Do you need ZIP Code information?
    Do you need ZIP+4 information?
    Do you need city name information?
    Do you need county information?
    Do you need a nearest dealer locator system?

    We can HELP! We have affordable AS/400 software and data to do all of the above. Whether you need a simple city name retrieval system or a sophisticated CASS postal coding system, we have it for you!

    The ZIP/CITY system is based on 5-digit ZIP Codes. You can retrieve city names, state names, county names, area codes, time zones, latitude, longitude, and more just by knowing the ZIP Code. We supply information on all the latest area code changes. A nearest dealer locator function is also included. ZIP/CITY includes software, data, monthly updates, and unlimited support. The cost is $495 per year.

    PER/ZIP4 is a sophisticated CASS certified postal coding system for assigning ZIP Codes, ZIP+4, carrier route, and delivery point codes. PER/ZIP4 also provides county names and FIPS codes. PER/ZIP4 can be used interactively, in batch, and with callable programs. PER/ZIP4 includes software, data, monthly updates, and unlimited support. The cost is $3,900 for the first year, and $1,950 for renewal.

    Just call us and we’ll arrange for 30 days FREE use of either ZIP/CITY or PER/ZIP4.

    WorksRight Software, Inc.
    Phone: 601-856-8337
    Fax: 601-856-9432
    Email: software@worksright.com
    Website: www.worksright.com

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Sponsored Links

    Vision Solutions:  System i Management Tips Blog - Free i5/OS Tips Each Week!
    Aldon:  Get ITIL compliant with Aldon's Application Lifecycle Management solutions
    COMMON:  Join us at the Focus 2008 workshop conference, October 5 - 8, in San Francisco, California

    IT Jungle Store Top Book Picks

    Easy Steps to Internet Programming for AS/400, iSeries, and System i: List Price, $49.95
    Getting Started with PHP for i5/OS: List Price, $59.95
    The System i RPG & RPG IV Tutorial and Lab Exercises: List Price, $59.95
    The System i Pocket RPG & RPG IV Guide: List Price, $69.95
    The iSeries Pocket Database Guide: List Price, $59.00
    The iSeries Pocket Developers' Guide: List Price, $59.00
    The iSeries Pocket SQL Guide: List Price, $59.00
    The iSeries Pocket Query Guide: List Price, $49.00
    The iSeries Pocket WebFacing Primer: List Price, $39.00
    Migrating to WebSphere Express for iSeries: List Price, $49.00
    iSeries Express Web Implementer's Guide: List Price, $59.00
    Getting Started with WebSphere Development Studio for iSeries: List Price, $79.95
    Getting Started With WebSphere Development Studio Client for iSeries: List Price, $89.00
    Getting Started with WebSphere Express for iSeries: List Price, $49.00
    WebFacing Application Design and Development Guide: List Price, $55.00
    Can the AS/400 Survive IBM?: List Price, $49.00
    The All-Everything Machine: List Price, $29.95
    Chip Wars: List Price, $29.95

    5250 Emulator for iPhone? Mochasoft is On It What the Heck Is the Midrange, Anyway?

    Leave a Reply Cancel reply

Volume 8, Number 26 -- July 16, 2008
THIS ISSUE SPONSORED BY:

WorksRight Software
ProData Computer Services
COMMON

Table of Contents

  • API Fun Time
  • Conditional Inserts with JDBC Prepared Statements
  • Admin Alert: A Client Access Mystery Solved. . . with No-Prizes!!!

Content archive

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

Recent Posts

  • Meet The Next Gen Of IBMers Helping To Build IBM i
  • Looks Like IBM Is Building A Linux-Like PASE For IBM i After All
  • Will Independent IBM i Clouds Survive PowerVS?
  • Now, IBM Is Jacking Up Hardware Maintenance Prices
  • IBM i PTF Guide, Volume 27, Number 24
  • Big Blue Raises IBM i License Transfer Fees, Other Prices
  • Keep The IBM i Youth Movement Going With More Training, Better Tools
  • Remain Begins Migrating DevOps Tools To VS Code
  • IBM Readies LTO-10 Tape Drives And Libraries
  • IBM i PTF Guide, Volume 27, Number 23

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