offxcpp:
Seq Pg K Field T Len Fd Dd From To Text
5 1 FXAXCD A 3 1 3 Division Code
10 1 FXA7TX A 6 4 9 BOL Number
15 1 FXIHST A 1 10 10 BoL Type
OSJ0CPP:
Mbr : OSJ0CPP Scan...
I tried that and am getting the following error:
You have entered a subquery that contains a correlation
without qualification for:
Field. . . . . . . . . . . . .: FXAXCD
I am trying this on IBM AS400 DB2
Thanks for any help!
update OSFXCPP
set fxxest = 'O'
WHERE exists (SELECT *
FROM OSJ0CPP, osfxcpp
WHERE J0D3DT = 1050427
AND J0AXCD = fxaxcd
AND j0a7tx = fxa7tx
AND J0AXCD= '409')
and FXXEST = 'C'
I know I am doing something wrong. I have 2 tables FRT...
I need to "match up" data from 2 files and then change a field in one of hte files. Here is my statement:
update OSFXCPP
set fxxest = 'O'
where (SELECT J0D3DT, FXAXCD, FXA7TX, FXXEST
FROM OSJ0CPP, OSFXCPP
WHERE J0D3DT = 1050427
AND...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.