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


  • Subject: Re: Batch/Interactive flag
  • From: "Simon Coulter" <shc@xxxxxxxxxxxxxxxxx>
  • Date: Wed, 28 Jul 99 11:07:22 +1000

M
Hello Tim,

You can't use QCMDEXC to invoke any of the RTVxxx commands.  The reason is 
those 
commands have parameters defined with RTNVAR(*YES) and require a memory 
location 
(variable) in which to store the value returned.  QCMDEXC accepts a command 
STRING (a 
text literal that is interpreted as a command) and it is not possible to 
provide the 
address of a variable inside a string in another variable.

Regards,
Simon Coulter.

«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»
«» FlyByNight Software         AS/400 Technical Specialists       «»
«» Eclipse the competition - run your business on an IBM AS/400.  «»
«»                                                                «»
«» Phone: +61 3 9419 0175      Mobile: +61 0411 091 400           «»
«» Fax:   +61 3 9419 0175      mailto: shc@flybynight.com.au      «»
«»                                                                «»
«» Windoze should not be open at Warp speed.                      «»
«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»
M-Mailer: Microsoft Outlook Express 5.00.2615.200
Date: Tue, 27 Jul 99 18:09:34 -0400
From: "Tim Truax" <truax@usaor.net>
To: MIDRANGE-L@midrange.com
Reply-To: MIDRANGE-L@midrange.com
Subject: Re: Batch/Interactive flag
Mello,
They may have an API for that, I would look into the API Programmers reference 
manual (or)
look into the Program Status Data Structure, or maybe use the RPG callable IBM 
supplied QCMDEXC that you pass an AS400 command to.
:-) Tim & Dana Truax ... and Caleb :-)
http://members.xoom.com/truax
  ----- Original Message ----- 
  From: Joe Teff 
  To: Midrange Dot Com 
  Sent: Tuesday, July 27, 1999 9:48 AM
  Subject: Batch/Interactive flag


  In CL I can retreive the job type using the TYPE paramater
  on the RTVJOBA command. Is there a way of doing this in
  RPG? I do not see anything in the system data structure.
  Is calling a CL to do this the easiest way?



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.