jdeuser2001
Active Member
Hi folks,
I have been doing JDE World programming for a long time and have encountered this problem before, but forgot the solution :-( Can anyone help with finding a solution to this problem?
1. Standard Dream Writer CLP executes OVRDBF F4801 SHARE(*YES) prior to calling Program A. Dream Writer's Open Query is specified with the following parms: Sequential=N, Open for Output=Y, Open for Update = Y, Open for Delete = N.
2. RPG pgm A reads F4801 (open query) sequentially and calls RPG pgm B (std. JDE X4201WO) to add new work orders to F4801.
3. Program A calls Program C (std. JDE P31410) to attach parts list and routing to newly created Work Orders. Program C fails on trying to read (chain) to newly created Work Orders in F4801 due to the shared access path created over F4801 in step 1.
Question: How do you make program C look at the entire F4801 and not the Overriden F4801 with the open query?
Thank you for your help!
I have been doing JDE World programming for a long time and have encountered this problem before, but forgot the solution :-( Can anyone help with finding a solution to this problem?
1. Standard Dream Writer CLP executes OVRDBF F4801 SHARE(*YES) prior to calling Program A. Dream Writer's Open Query is specified with the following parms: Sequential=N, Open for Output=Y, Open for Update = Y, Open for Delete = N.
2. RPG pgm A reads F4801 (open query) sequentially and calls RPG pgm B (std. JDE X4201WO) to add new work orders to F4801.
3. Program A calls Program C (std. JDE P31410) to attach parts list and routing to newly created Work Orders. Program C fails on trying to read (chain) to newly created Work Orders in F4801 due to the shared access path created over F4801 in step 1.
Question: How do you make program C look at the entire F4801 and not the Overriden F4801 with the open query?
Thank you for your help!