Tom,

You can check to see if you are running in batch or interactively. If
interactively, then you can normally assume that the call was from a 5250
session.

Try: RTVJOBA TYPE(&FIELDA)

&FIELDA is a one character field. If it is set to zero, then you are
running in batch. If it is set to a one ('1'), then you are running
interactively.

Rich Loeber - @richloeber
Kisco Information Systems
[1]http://www.kisco.com
SDG

--------------------------------------------------------------------------

On 9/15/2011 1:16 PM, Tom Deskevich wrote:

Is there a way to tell if you CL program was called from a 5250 interface?
TIA

Tom Deskevich
INFOCON
814-472-6066
Fax 814-472-5019

References

Visible links
1. http://www.kisco.com/

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.