× 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.



Nicolas, this may help, if a job is a virtual display using Virtual
Terminal APIs, then the Retrieve Device Description QDCRDEVD API with
format DEVD0600 for the job's display name will return '2' in decimal
offset 830.  Here is some short REXX that I use:

"RTVJOBA JOB( &Dsp )"
Data = Copies( ' ', 2000 )
"CALL QDCRDEVD (&Data  X'000007D0'  DEVD0600  &Dsp  X'00000000')"
P = Substr( Data, 831, 1 )
Select
   When P = 0 Then Q = "(not pass-through)"
   When P = 1 Then Q = "(5250 emulation type display)"
   When P = 2 Then Q = "(virtual display using Virtual Terminal APIs)"
   When P = 3 Then Q = "(virtual display using TELNET)"
   When P = 4 Then Q = "(pass-through device)"
End
Say 'Device class . . . . . . . : ' Substr( Data, 165, 10 )
Say 'Device type  . . . . . . . : ' Substr( Data, 175, 10 )
Say 'Device model . . . . . . . : ' Substr( Data, 185, 10 )
Say 'IP address . . . . . . . . : ' Substr( Data, 878, 15 )
Say 'Pass-through indicator . . : ' P Q



As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.