|
Looks like OPNQRYF is not threadsafe, so you should not be using that command in a threaded environment. You can see which commands are threadsafe by doing DSPCMD and looking at the Threadsafe keyword. Threadsafe keyword is defined as *COND for OVRDBF, which means conditional. I recommend you go to the following site: http://publib.boulder.ibm.com/iseries/v5r2/ic2924/info/rbam6/rbam6clfinder.h tm and type the commands you are using and once you find them, search on "thread". You'll see if they're threadsafe and under what conditions. For example, for OVRDBF there are these restrictions: Restrictions: 1. In a multithreaded job, this command may only be issued from the initial thread. 2. In a multithreaded job, only overrides scoped to the job or an ILE activation group will affect opens performed in a secondary thread. Elvis -----Original Message----- Subject: [C400-L] FILTER ON FILE HI. I did some simple C programs that use OVRDBF and OPNQRYF to do a Filter at a PF. Now I'm trying to do the same but in a multithreaded environment. My problem is OVRDBF don't work at that environment, how can I use OPNQRYF without OVRDBF ? Thanks. Roberto dos Reis Pereira
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.