fhg
Volume 9, Number 30 -- September 30, 2009

When PC5250 Run the Same Doesn't Run

Published: September 30, 2009

Hey, Joe:

In my shop, some people cannot use PC5250's run the same function. After selecting run the same, a new PC5250 window appears and it looks like the new session is trying to start. Several messages appear in the status bar, the new session stops trying to connect, the 5250 screen goes blank, and the status bar message reads "Disconnected." What's up with that?

--Any number of users


This is an amalgamated question that I occasionally get from a reader, which tells me it's a fairly common problem. When configured correctly, PC5250's run the same function allows you to start a second i5/OS PC5250 session without disturbing your existing session. You can click run the same several times to open a number of additional PC5250 sessions.

Notice I said that additional sessions will start when PC5250 is configured correctly. Proper configuration consists of six settings that define how your PC5250 sessions are named and whether you can open additional sessions by using the run the same function. These settings are found in the Workstation ID section of the Configure PC5250 screen, which is accessed by selecting Communication→Configuration from the PC5250 menu bar. The Configure PC5250 screen looks like this.



PC5250 uses the radio buttons on this screen to name PC5250 sessions for this desktop.

  • Use Computer name creates a PC5250 session name using your Windows computer name as the session name.
  • Use Windows user name creates a PC5250 session name by using the user's Windows profile name as the session name.
  • Specify workstation ID contains an optional input field, where you enter your own designated workstation name. If you leave the input field blank, it will use the next available QPADEVxxxx device name that is available from the Telnet server.

Without selecting any other radio button or checkbox on the screen, each radio button will allow you to start one PC5250 session on a Windows desktop. Note that if you opt for your sessions to use the default Telnet QPADEVxxxx device names, run the same will work all the time and allow you to run as many additional PC5250 sessions as you can. To get multiple unique device names when selecting the other settings, you need to configure the checkboxes on the upper right-hand side of the Configure PC5250 screen. Without these settings turned on, your PC5250 user will only be able to start one 5250 session on their desktop.

  • Avoid duplicate names on this workstation adds a session identifier ('A', 'B', 'C', etc.) to your session name to ensure each PC5250 session will not interfere with other sessions on this desktop. So if your initial workstation session name is 'JOEH', this setting will rename your session names to JOEHA, JOEHB, JOEHC, enabling the user to run differently named sessions by using the run the same function.
  • Avoid duplicate names with other workstations adds a second session identifier to the end of your session name. This can help avoid confusion with other PC5250 users who might be using the same core device name as your workstation. If you check this box in conjunction with the avoid duplicate names on this workstation checkbox, PC5250 will create device names that are unique across the network (JOEHA1, JOEHB1, JOEHC1, etc.). If the name that PC5250 gives a session is in use on another desktop, PC5250 will designate a different device name that isn't already allocated on the system.

So to allow your users to create multiple PC5250 sessions on a Windows desktop by using run the same, check off these settings on the Configure PC5250 screen.

  • Turn on the Use Computer Name, Use Windows User Name or the Specify Workstation ID radio buttons to get a semi-unique device name. If you're using the Specify Workstation ID setting, be sure to put in a session name in the optional field provided.

And

  • Check both the Avoid duplicate names with this workstation AND the Avoid duplicate names with other workstations checkboxes to make sure that your PC5250 device names don't conflict with any device names used by other Windows desktops.

Using these settings together, your users will be able to start additional PC5250 configurations at will by selecting run the same. If you don't turn on these settings, your users will only be able to use one PC5250 session at a time on their machines.

--Joe




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


Sponsored By
HALCYON SOFTWARE

Learn how automated solutions for IBM i servers can
significantly reduce your operating costs. And understand
how powerful monitoring and automation techniques can
solve your business challenges.

Find out if automated operations solutions for IBM i,
i5/OS makes perfect business sense for your organization.

Learn more


Senior Technical Editor: Ted Holt
Technical Editor: Joe Hertvik
Contributing Technical Editors: Erwin Earley, Brian Kelly, Michael Sansoterra
Publisher and Advertising Director: Jenny Thomas
Advertising Sales Representative: Kim Reed
Contact the Editors: To contact anyone on the IT Jungle Team
Go to our contacts page and send us a message.

Sponsored Links

System i Developer:  RPG & DB2 Summit in Minneapolis, October 13-15; 3 days of serious training
Manta Technologies:  Fall Sale on i training courses! Order by October 15 and SAVE 25%
Halcyon Software:  Automated operations software for IBM i i5/OS - for as little as $25 a day!


 

IT Jungle Store Top Book Picks

Easy Steps to Internet Programming for AS/400, iSeries, and System i: List Price, $49.95
The iSeries Express Web Implementer's Guide: List Price, $49.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 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
Getting Started With WebSphere Development Studio Client for iSeries: List Price, $89.00
Getting Started with WebSphere Express for iSeries: List Price, $49.00
Can the AS/400 Survive IBM?: List Price, $49.00
Chip Wars: List Price, $29.95


 
The Four Hundred
IBM to Mothball a Whole Bunch of Stuff with Power7

IBM, VMware Cooking Up vSphere 4.0 Support for i

What Apple Did That IBM Must Emulate

As I See It: After You're Gone (.com)

IBM Says Microsoft 'Grossly Exaggerated' Exchange Sales Data

Four Hundred Stuff
LANSA Gives aXes Screen Modernization Tool a Makeover

JAMS Brings Scheduling and File Transfer Capabilities to i OS

Trucking News: TMW Brings More Applications to i OS

VAI Adds Desserts to Food Distribution Package

Lawson Finds Search Software a Good Fit for M3

Four Hundred Monitor
Four Hundred Monitor's
Full iSeries Events Calendar

System i PTF Guide
September 26, 2009: Volume 11, Number 39

September 19, 2009: Volume 11, Number 38

September 12, 2009: Volume 11, Number 37

September 5, 2009: Volume 11, Number 36

August 29, 2009: Volume 11, Number 35

August 22, 2009: Volume 11, Number 34

August 15, 2009: Volume 11, Number 33

TPM at The Register
Microsoft, nVidia tag team on HPC

New accounting rules to juice IT numbers

HP-UX gets biannual face-lift

Microsoft munches super startup carcass

HP: We will grow faster than IT

Novell forces customers to pay for maintenance

Mainframe emulator goes commercial

Fujitsu battles WMDs with online survey

Red Hat mocks Meltdown in Q2

Super Micro gets dense with blades

Citrix ships virtual NetScaler accelerator

Mellanox kicks off race to 40 Gigabit Ethernet

THIS ISSUE SPONSORED BY:

WorksRight Software
Help/Systems
Halcyon Software


Printer Friendly Version


TABLE OF CONTENTS
Subprocedure Return Values--Food for Thought

Mass Rename of IFS Files

When PC5250 Run the Same Doesn't Run

Four Hundred Guru

BACK ISSUES




 
Subscription Information:
You can unsubscribe, change your email address, or sign up for any of IT Jungle's free e-newsletters through our Web site at http://www.itjungle.com/sub/subscribe.html.

Copyright © 1996-2009 Guild Companies, Inc. All Rights Reserved.
Guild Companies, Inc., 50 Park Terrace East, Suite 8F, New York, NY 10034

Privacy Statement