Thomasm
9th November 2006, 15:01
Can anyone tell me what happens when you create (convert to) runtime for a session. Most people know about domains and tables but the sessions is still a secret to me :)
Thanks,
/Thomas
BaanInOhio
9th November 2006, 16:51
From what I can remember, the main task of converting sessions to runtime is the population of the 'ttadv999-000' table (runtime). This table contains important data about the session (main table, start option, report, form, etc.) and is loaded into memory when you start your Baan client. This is why you have to exit/start the client after runtime conversions in the windows environment.
beginer
10th November 2006, 12:31
I suppose its not mandatory to logout-login after Session Runtime. Ofcourse for domains & tables logout-login is compulsory.
suhas-mahajan
10th November 2006, 13:42
'Create..' and 'Convert..' to Runtime DD both the sessions acts same except couple of difference.
1. 'Create..' applies its action on whatever you specified in the form ranges including unchanged components, whereas 'Convert..' applies its action on only changed components in the specified form range.
2. 'Convert..' just updates U files.
3. Create applies on Table DD/Sessions/domains and enumerated descriptions.
It converts APDD (Application Data Dictionary) to RTDD (Runtime Data Dictionary), means it creates OS level files on sever using APDD and your BaaN application uses OS files to execute sessions.
Please correct me, if I am wrong.
regards,
-Suhas
Hitesh Shah
10th November 2006, 18:38
Convert applies only to changed component and create applies to allcomponents within selection . Convert creates .new dictionary files and if reconnfig option is yes , reconfigures table / domain dictionary (ie makes the application dict and runtime dict same) even for tables outside selection , it creates temp R files , from temp R file it writes new table (if table deletion and then recreating the same is successful) and at the end make .new file proper dict and original dict as .old in the end .
Create runtime for table and domain also does the same as reconfig option in convert . Pre-requisite for create is that all tables and domains must be converted to runtime . For sessions , create runtime populates a table ttadv999 .
If any single user has used the table or domain file in question even through GTM , logout /login is mandatory to view the changes .
U files , r files , p files , tabledef6.1 , compnr6.1 , isamdef6.1 etc all are converted using different convert (not the one thomasm is asking ) .