× 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: Alberty Pascal
>
> I'm new here and I have a question about commandCall on a iSeries
> through AS400 and CommandCall objects from the toolbox (in VAJ 3.5)
>
> I'm trying to call 2 commands on the system, first one is an override
> OVRPRTF FILE(QSYSPRT) SAVE(*YES)
> the second one is generating a spool file.
>
> This spool file is NOT in "SAVE" mode
>
> These two commands are called within the same AS400 object:
> 1. creating AS400 object
> 2. creating and running first commandCall (override)
> 3. creating and running second commandCall (print doc)
> 4. disconnect all services on AS400 object
>
> Is each CommandCall has it's own job on the iSeries ?
> How can override my printer file ?

You lose the override as soon as you get done executing the command.
Override by default only last as long as the current invocation level
(although the rules change a little in ILE).

In any event, you could try using OVRSCOPE(*JOB) on your override and see if
that helps.

Joe


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.