PMS Information Systems
Welcome to PMS Information Systems - IBM i (AS/400) Forum !!!

Get Answers for all your queries on IBM i (AS/400).

Where did the changes to the file definition go?

Go down

Where did the changes to the file definition go?

Post  maran on Sun Oct 14, 2012 11:26 pm

We may find when amending a file definition that the amendment appears to disappear or has been ignored.
Let’s take the following example is typical of this problem:
• A file named FILEB is to be defined. It is to contain a validation rule that references FILEA. However, this particular validation rule requires a special logical view of FILEA which currently does not exist.
• To set up the special logical view of FILEA which is required the definition of FILEA is amended. The new logical view, which is called FILEAV01, is successfully added to the definition of FILEA.
• The definition of new FILEB is now started. When attempting to add the validation rule that references FILEAV01 the system insists that no file with this name exists. Even using the option to choose the file from a list fails to show FILEAV01 in the list.
What has happened to the amendment made to FILEA that defined a new logical file called FILEAV01?
The answer is that although the definition of FILEA was amended the definition was not made operational.
Although logical file FILEAV01 exists in the definition of FILEA it does not exist as an "accessible" file until the amended definition of FILEA has been made operational. This is an option on the file control menu.

Posts : 442
Join date : 2009-07-24

View user profile

Back to top Go down

Back to top

- Similar topics

Permissions in this forum:
You cannot reply to topics in this forum