|
On 1/17/2013 1:48 PM, James H. H. Lampert wrote:
Is there an easy way for ILE RPG program to know whether it's running in
a batch job or an interactive job?
QUSRJOBI, JOBI0100, Job Type and Job Subtype.
A reasonable question is what do YOU consider to be a batch job?
ASJ (Autostart)
BCH (Batch)
BCI (Batch immediate)
EVK (Started by a program start request)
INT (Interactive)
M36 (AS/400 Advanced 36 machine server)
MRT (Multiple requester terminal)
PJ (Prestart job)
PDJ (Print driver job)
RDR (Reader)
SYS (System)
SBS (Subsystem monitor)
WTR (Writer)
blank (Alternative user subtype--not an active job)
--buck
--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L)
mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.
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.