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



> From: Ren Fu Ping
>
> Dear Joe
>     My Programm use display file I/O, I check all display input
> value in RPG, and i use on parameter '0' &'1' to indicated
> interactive and batch job. I want to program an CLP for calling
> in RPG to change this job from Qinter to Qbatch, I have tried
> your prompt, but only batch job generate with some log file, and
> result spool file was generated by interactive job. any suggestion?

Ping, if your program uses a display file, you will not be able to run it in
batch easily.  From what I can understand, your program prompts the user for
some values and then runs the program.  Is this correct?

Then, if what you want to do is to run the program in batch, what you will
have to do is first prompt the user for the parameters interactively, then
submit the job and pass the parameters to the called program on the SBMJOB
command.

Joe



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.