How is the access to 'WORLD' or 'ONEWORLD' determined?
The DBU command has a parameter (JDE installation) to indicate how the JDE enhancement is to be used.
- *NONE – DBU ignores the JDE dictionary and looks at the data in its native iSeries or AS/400 format.
- *WORLD – DBU will look at the current *LIBL (library list) for the dictionary file F9202. If there is more than one library that does not start with DD7 (OneWorld library), DBU will display a list to the user and ask the user to select one. If there is only one library in the *LIBL (excluding DD7*), DBU will use that library. If the file is not found in the *LIBL the program will then starts the search over using *ALLUSR (all user libraries) and display a list or use the only library found as the default. The decimal positions and the date type are picked up from the F9201 file. The column headings and the field text are picked up from the F9202 file.
- *ONEWORLD – DBU will look at the current *LIBL (library list) for the dictionary file F9202. If there is more than one library that start with DD7 (OneWorld library), DBU will display a list to the user and ask the user to select one. If there is only one library in the *LIBL, DBU will use that library. If the file is not found in the *LIBL the program will then starts the search over using *ALLUSR (all user libraries) and display a list or use the only library found as the default. The decimal positions and the date type are picked up from the F9210 file. The column headings and the field text are picked up from the F9202 file.
- You can also use the DBUAUT (DBU User Authority Defaults) command and set the parameter for JDE installation (WORLD and ONEWORLD) to the appropriate setting. There is also an option to set the Default JDE data dictionary library in the same area.