I am attempting to use a subquery to return a list of products from an inventory master file. The subquery is selecting items from an exclusion table. I want to include only those items from the inventory master file that are NOT in the subquery list. The subquery is qualified by a customer id and shipto fields. I've run my statement outside of Valence using another SQL tool and it works. However when I attempt to run it in Valence via the Datasource builder I get the "Error - No response from Server. Please check your connection" message. There isn't any messages waiting in the QSYSOPR log but I do see this under the ERRORS Portal VV00044 - Security violation: no session ID...which doesn't provide anything that I can determine if it is syntax related.
Here is my query. I am on version 6.3.20250516.0.
select mpopad, mpitem, mpdes1, mpcode, mpnutr from orderlib/minplnpf
where mpitem not in (select peitem from orderlib/padxclpf where pecust = 232757 and peshpt = 'BROD' ) and mpopad <> ' '
Here is my query. I am on version 6.3.20250516.0.
select mpopad, mpitem, mpdes1, mpcode, mpnutr from orderlib/minplnpf
where mpitem not in (select peitem from orderlib/padxclpf where pecust = 232757 and peshpt = 'BROD' ) and mpopad <> ' '

Comment