|
My best guess is that this is an activation group / scoping issue. When you use *ACTGRPDFN, the override will apply to your current activation group. DSPJOB runs in the default activation group, so the override does not happen. Here's how I know that: Doing a DSPCMD CMD(DSPJOB), I see that DSPJOB runs a program called QWCCDSJC. Doing a DSPPGM PGM(QWCCDSJC) I see that QWCCDSJC is an OPM program. Your C program probably isn't running in the default activation group. and, DSPJOB OPTION(*FILOVR) doesn't show all overrides active in the job, but only the ones active at the current level. You might try DSPOVR ACTGRP(activation-group-name-here) instead of DSPJOB, that should show the overrides active for that actgrp... On Wed, 19 Jun 2002 Gene_Gaunt@ReviewWorks.com wrote: > > #include < stdlib.h > > void main( void ) > { > system( "OVRPRTF FILE(QSYSPRT) CTLCHAR(*FCFC) OVRSCOPE(*ACTGRPDFN)" ); > system( "DSPJOB OPTION(*FILOVR)" ); > } > > Why don't I see this override in DSPJOB? >
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.