Why do we need Auto ID Generation q Impossible to key in unique ID for each record in each application. q Data stored must have a unique ID to be identified easily
How it works Auto ID generation works in three ways q Click the NEW icon when application is launched q Type I F3 in the command line q Type I F3 in the command line
How it works T24 keeps track of all the ID’s generated for each application, so that it can generate the next one when required. The LOCKING file keeps track of this. q The last generated ID is obtained from LOCKING q Incremented by 1 q Write the new ID to LOCKING q Assign the new ID to the user T2ITT – R05 – 1.0
Summary q Some applications allow AUTO ID generation q They must be mentioned in the PGM.AUTOM.ID field in the COMPANY application q Even though AUTO ID generation is set, the user is allowed to form an ID as long as the validation rules are satisfied. q To make AUTO ID generation mandatory, we must suffix the application name with M in the COMPANY file. (e.g.: CUSTOMER M) q AUTO.ID.START application is used to mention the first ID to be generated for each application q The last ID generated is held in the LOCKING file, so that’s how T24 knows the next ID to generate.
Thank you for interesting in our services. We are a non-profit group that run this website to share documents. We need your help to maintenance this website.