On 15-Sep-2011 10:16 , Tom Deskevich wrote:
Is there a way to tell if you CL program was called from a 5250
interface?


Perhaps the Query 5250 (QsnQry5250) API [of QSNAPI]?
http://publib.boulder.ibm.com/infocenter/iseries/v6r1m0/topic/apis/QsnQry5250.htm
Some more Dynamic Screen Manager links:
http://publib.boulder.ibm.com/infocenter/iseries/v6r1m0/topic/apis/dsm1.htm
http://publib.boulder.ibm.com/infocenter/iseries/v6r1m0/topic/apis/dsm.htm

Regarding QsnQry5250, see "A method that will work" in:
http://archive.midrange.com/midrange-l/200505/msg00406.html
A clarification to a question from the above link:
http://archive.midrange.com/midrange-l/200505/msg00524.html
Both of the above links from thread Subject "When is browser NOT being used":
http://archive.midrange.com/midrange-l/200505/threads.html#00489

Possibly the Retrieve Output Information (QWSRTVOI) API could be of interest, if at least one active UIM panel or DSPF can be assumed to have been written sometime prior in the job?:
http://publib.boulder.ibm.com/infocenter/iseries/v6r1m0/topic/apis/qwsrtvoi.htm

Regards, Chuck

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.