5.3.4 Step 4. Make the file Operational
Having defined the file and its fields and added the required Repository features, you need to create the I/O module.
1. Return to the
.
|
2. Select the option to Make new or amended file definition operational.
3. Nominate the file you wish to work with via the
screens.4. When you have selected your file, the
screen is displayed. The Job Name defaults to the File Name.
|
5. Press Enter to submit the job.
When the job has been completed successfully, the I/O module created will include all the file and field validations, default values, batch control logic, triggers and so on, that you have specified.
When LANSA creates a file it will make the record format name the same as the file name. If you intend to write RPG programs to access files created using LANSA, you can either:
- change the file's record format name via the Database File Attributes screen (selected from the File Definition Menu) before making the file definition operational
or
- rename the file record format within the RPG program itself.
You will find more information about creating files in the