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



QUSRJOBI API


On 3/11/2008 3:59 PM, Jeff Young wrote:
I am looking for a solution in RPGLE.
I know about the RTVJOBA command, but do not want to add to the complexity by having a CLLE module for just this purpose.
Most of the staff here do not understand Service Programs, let alone bound modules that are of mixed languages, and I was told to "keep it simple".

Thanks,
Jeff Young Sr. Programmer Analyst
IBM -e(logo) server Certified Systems Exper - iSeries Technical Solutions V5R2 IBM Certified Specialist- e(logo) server i5Series Technical Solutions Designer V5R3
IBM Certified Specialist- e(logo)server i5Series Technical Solutions Implementer V5R3






----- Original Message ----
From: "Nick_Radich@xxxxxxxxxxxxxx" <Nick_Radich@xxxxxxxxxxxxxx>
To: RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx>
Sent: Tuesday, March 11, 2008 3:45:32 PM
Subject: Re: How to get job type (Batch / Interactive)

Hi Jeff,

You can use the command RTVJOBA with the parm TYPE. If TYPE = '1', then interactive, else if '0', batch.



Thanx,

Nick



Nick Radich
Sr. Programmer/Analyst
EPC Molding, Inc.
Direct (320) 679-6683
Toll free (800) 388-2155 ext. 6683
Fax (320) 679-4516
nick_radich@xxxxxxxxxxxxxx



Jeff Young <cooljeff913@xxxxxxxxx> Sent by: rpg400-l-bounces@xxxxxxxxxxxx
03/11/2008 02:33 PM
Please respond to
RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx>


To
rpg400-l@xxxxxxxxxxxx
cc

Subject
How to get job type (Batch / Interactive)






All -
I am having a senior moment here.
In RPG IV, how do I determine if a program is running in a batch job or interactive?

TIA,


Jeff Young Sr. Programmer Analyst
IBM -e(logo) server Certified Systems Exper - iSeries Technical Solutions V5R2 IBM Certified Specialist- e(logo) server i5Series Technical Solutions Designer V5R3
IBM Certified Specialist- e(logo)server i5Series Technical Solutions Implementer V5R3


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.