program store_with_host_lang (input,output); DATABASE PERS = FILENAME 'PERSONNEL'; var DECLARE_VARIABLE coll_code SAME AS COLLEGES.COLLEGE_CODE; DECLARE_VARIABLE coll_name SAME AS COLLEGES.COLLEGE_NAME; DECLARE_VARIABLE coll_city SAME AS COLLEGES.CITY; DECLARE_VARIABLE coll_state SAME AS COLLEGES.STATE; DECLARE_VARIABLE post_code SAME AS COLLEGES.POSTAL_CODE; DECLARE_VARIABLE my_db_key SAME AS COLLEGES.RDB$DB_KEY; begin writeln ('Enter College Code:'); readln (coll_code); writeln ('Enter College Name:'); readln (coll_name); writeln ('Enter College City:'); readln (coll_city); writeln ('Enter College State:'); readln (coll_state); writeln ('Enter College Postal Code:'); readln (post_code); READY PERS; START_TRANSACTION READ_WRITE; STORE C IN COLLEGES USING C.COLLEGE_CODE := coll_code; C.COLLEGE_NAME := coll_name; C.CITY := coll_city; C.STATE := coll_state; C.POSTAL_CODE := post_code; GET my_db_key = C.RDB$DB_KEY; END_GET; END_STORE; COMMIT; FINISH; end.