You need a Telnet Exit Program.

Google it. I know I've written two or three articles on how to do this
(code samples) over the years and probably others have too so you'll find
one pretty easy I'd think.

It's very easy to do the exit pgm for this but make sure you have everything
correct because it's also easy to screw it up and lock everyone out of

TIP: Make sure you keep one or two sessions already logged on while you
test this because if you break won't be able to log in from will not affect you already active sessions though.

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Jerry C. Adams
Sent: Friday, March 16, 2012 2:29 PM
To: Midrange-L
Subject: Signon Panel - How to Prevent Access

I have system values set as:



Which, I thought, would prevent a telnet service, such as iSeries Access or
Telnet from a DOS command line, from gaining access to a System i. That is,
no signon panel, no login.

Obviously, that's not true (we're on V5R1). I was just working with a
purchasing guy. He already had iSeries Access installed but no PC5250
session configured. So, without thinking, I started the Create New Session.
My immediate thought was, as I intimated earlier, "This is going to blow
up." But it didn't. I got one of those generic QPADEVxxxx sessions.

I, also, got the QPADEVxxxx signon when I ran Telnet from a DOS command box.

Is there any system value or whatever that would prevent access to a signon

Jerry C. Adams

IBM i Programmer/Analyst

Some of the facts are true, some are distorted, and some are untrue. - U.S.
State Department spokesman


A&K Wholesale

Murfreesboro, TN


This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe,
or change list options,
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2020 by and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].