× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Mark,
rather than using API's, etc , I would suggest you use a "clear" naming schema for the Emulations sessions, both display and printer, so if display emulation session is named, eg, "DSPxx" , the printer emulation session be named "PRTxx", or any other schema you decide for your clients.
Just one of these days someone was asking how to find out the display name
- if from CL,    RTVJOBA    JOB(&DSPNAM)
- if from RPG use the Program Status DS , JobName (in your case, the Display's name) is in positions 244 thru 253 Then, the Program that servers the ATTN Key, can derive very easyly the Printer Name (and, accordingly, its OUTQ name... ,should they be the same) from the display session name...
Just my 2 cents,

Now when users run a program in "Session A," how can the program retrieve
the name of that OS/400 output queue name that is associated with "Session
B" on the same PC?

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2024 by midrange.com 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].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.