IBMi message: Cannot automatically select virtual device

Hi.  Received this message a few times over the past few days under QSYSOPR on my IBMi OS400 V7R1:
"Cannot automatically select virtual device"

system value QAUTOVRT is set to 250.  It's possible we've started to go over that limit but not sure that's really the issue.  Is there a way to list all active Virtual device jobs, with descriptive info so I can get a good count and see what specifically is active?  

I did notice in the job log this last time that a PC was shut down and so the session was abended.  Would this cause the message?  Have not seen this before on abended jobs.
thanks
LVL 7
valmaticAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

tliottaCommented:
It's harder to guess the reason until you supply a message ID. More than one message has the exact same text, but they can have different causes and different recoveries. Always give message IDs if at all possible. Ideally, at least the OS version/release should also be given.

What "joblog" were you looking at?

Increasing QAUTOVRT is a potential resolution. It should be fairly easy to tell by looking at the number of active virtual devices.
WRKCFGSTS CFGTYPE(*DEV) CFGD(*VRTDSP) RANGE(*OBJ)
   and
WRKCFGSTS CFGTYPE(*DEV) CFGD(*VRTDSP) RANGE(*OBJ) STATUS(*ACTIVE)
The first will list all virtual display devices; the second will list ones active at the time you run the command. Verifying the number of devices will tell you if the QAUTOVRT limit has been reached. Checking the number of active devices will let you estimate how many are needed (after running it during a couple busy times of day).

The differences between the two lists might help in tracking down the actual cause if the number of *ACTIVE devices is consistently lower than QAUTOVRT.

Tom
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
valmaticAuthor Commented:
Hi Tom,  That's what I needed.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Operating Systems

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.