home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / help / cppwah35.hlp (.txt) < prev    next >
Encoding:
OS/2 Help File  |  1996-02-23  |  12.6 KB  |  382 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. DB2PREP Options ΓòÉΓòÉΓòÉ
  3.  
  4. DB2PREP translates an application source file containing embedded SQL 
  5. statements into a modified source file containing database manager run-time 
  6. services API calls. DB2PREP can optionally bind the application to a database 
  7. during the precompile process. 
  8.  
  9. Select DB2 Precompile from the Options pull-down menu to open the DB2PREP 
  10. Options notebook. Use this notebook to change one or more precompile options. 
  11.  
  12. The DB2 Precompile notebook has four pages: 
  13.  
  14.   Target 
  15.   Common 
  16.   Non-DDCS 
  17.   DDCS 
  18.  
  19.  
  20. ΓòÉΓòÉΓòÉ 2. OK ΓòÉΓòÉΓòÉ
  21.  
  22. To save the notebook options settings that you have specified, and close the 
  23. notebook, click on the OK push button. 
  24.  
  25.  
  26. ΓòÉΓòÉΓòÉ 3. Reset ΓòÉΓòÉΓòÉ
  27.  
  28. To update the notebook options settings to their initial values, click on the 
  29. Reset push button. 
  30.  
  31.  
  32. ΓòÉΓòÉΓòÉ 4. Default ΓòÉΓòÉΓòÉ
  33.  
  34. To update the notebook options settings to their default values, click on the 
  35. Default push button. 
  36.  
  37.  
  38. ΓòÉΓòÉΓòÉ 5. Cancel ΓòÉΓòÉΓòÉ
  39.  
  40. To close the notebook without saving any changes, click on the Cancel push 
  41. button. 
  42.  
  43.  
  44. ΓòÉΓòÉΓòÉ 6. Reset Page ΓòÉΓòÉΓòÉ
  45.  
  46. To update the notebook options settings on this page to their initial values, 
  47. click on the Reset Page push button. 
  48.  
  49.  
  50. ΓòÉΓòÉΓòÉ 7. Default ΓòÉΓòÉΓòÉ
  51.  
  52. To update the notebook options settings on this page to their default values, 
  53. click on the Default push button. 
  54.  
  55.  
  56. ΓòÉΓòÉΓòÉ 8. Target ΓòÉΓòÉΓòÉ
  57.  
  58. Use the Target page of the DB2PREP Options notebook to change options 
  59. pertaining to the target database. 
  60.  
  61. Select from the following list to get online help for the options that are 
  62. available on this page: 
  63.  
  64.   Database Name 
  65.   Ignore generated database name 
  66.   Prompt for Database, Userid or Authentication 
  67.  
  68.  
  69. ΓòÉΓòÉΓòÉ 9. Database Name ΓòÉΓòÉΓòÉ
  70.  
  71. Prompts you to enter a database name if a default value does not exist. An 
  72. ICSDATA-generated database name overrides the default value for DB2PREP. 
  73.  
  74. Note:   If you are specifying a database default you must do one of : 
  75.  
  76.   Ensure workframe has not been previously started by typing, iwf /CM EXIT 
  77.    Then enter SET DB2DBDFT=database name on the command line and restart 
  78.    workframe. 
  79.  
  80.   Add the DB2DBDFT environment variable to your environment and reboot, then 
  81.    start workframe. 
  82.  
  83.  
  84. ΓòÉΓòÉΓòÉ 10. Ignore generated database name ΓòÉΓòÉΓòÉ
  85.  
  86. Causes DB2PREP to ignore database information generated by the ICSDATA tool, 
  87. and to determine the database name using a prompt or the default name, 
  88. depending on the current settings. 
  89.  
  90. A check mark appears in the check box when this option is on. To turn this 
  91. option off, click in the check box to remove the check mark. 
  92.  
  93.  
  94. ΓòÉΓòÉΓòÉ 11. Prompt for Database, Userid or Authentication ΓòÉΓòÉΓòÉ
  95.  
  96. Prompts you to enter a database name while building a makefile. This prompting 
  97. occurs only if files are generated by the ICSDATA tool, and if the Ignore 
  98. generated database name option is deselected. 
  99.  
  100. A check mark appears in the check box when this option is on. To turn this 
  101. option off, click in the check box to remove the check mark. 
  102.  
  103.  
  104. ΓòÉΓòÉΓòÉ 12. Common ΓòÉΓòÉΓòÉ
  105.  
  106. Use the Common page of the DB2PREP Options notebook to change options that are 
  107. supported by both DB2 and DRDA application servers. 
  108.  
  109. Select from the following list to get online help for the options that are 
  110. available on this page: 
  111.  
  112.   Bind file 
  113.   Package 
  114.   NOLINEMACRO 
  115.   SQLDA Optimization 
  116.   Date/Time 
  117.   Blocking 
  118.  
  119.  
  120. ΓòÉΓòÉΓòÉ 13. Bind file ΓòÉΓòÉΓòÉ
  121.  
  122. Creates a bind file using the program name and a .bnd file name extension. You 
  123. can specify a different name in the associated entry field. 
  124.  
  125. A check mark appears in the check box when this option is on. To turn this 
  126. option off, click in the check box to remove the check mark. 
  127.  
  128.  
  129. ΓòÉΓòÉΓòÉ 14. Package ΓòÉΓòÉΓòÉ
  130.  
  131. Selects the PACKAGE option, and creates a package using the program name. You 
  132. can specify a different name in the associated entry field. 
  133.  
  134. A check mark appears in the check box when this option is on. To turn this 
  135. option off, click in the check box to remove the check mark. 
  136.  
  137.  
  138. ΓòÉΓòÉΓòÉ 15. NOLINEMACRO ΓòÉΓòÉΓòÉ
  139.  
  140. Suppresses #line macros. Specify this option if you intend to step through your 
  141. program with a symbolic debugger. 
  142.  
  143. A check mark appears in the check box when this option is on. To turn this 
  144. option off, click in the check box to remove the check mark. 
  145.  
  146.  
  147. ΓòÉΓòÉΓòÉ 16. SQLDA Optimization ΓòÉΓòÉΓòÉ
  148.  
  149. Causes SQLDA initialization to be optimized for SQL statements that use host 
  150. variables. 
  151.  
  152. A check mark appears in the check box when this option is on. To turn this 
  153. option off, click in the check box to remove the check mark. 
  154.  
  155.  
  156. ΓòÉΓòÉΓòÉ 17. Date/Time ΓòÉΓòÉΓòÉ
  157.  
  158. Determines the format to be used when date and time fields are assigned to 
  159. string representations. If this option is not specified, the database manager 
  160. uses the default format determined by the country code. 
  161.  
  162. Click on the down arrow to the right of the Date Time list box to display the 
  163. valid values: 
  164.  
  165.  <DEFAULT> 
  166.            Use the DB2 default value for this field. 
  167.  DEF 
  168.            Use a date and time format associated with the country code of the 
  169.            database. 
  170.  USA 
  171.            Use the IBM standard for U.S. date and time format. 
  172.  EUR 
  173.            Use the IBM standard for Europe date and time format. 
  174.  ISO 
  175.            Use the date and time format of the International Standards 
  176.            Organization. 
  177.  JIS 
  178.            Use the date and time format of the Japanese Industrial Standard. 
  179.  LOC 
  180.            Use the date and time format in local form associated with the 
  181.            country code of the database. 
  182.  
  183.  
  184. ΓòÉΓòÉΓòÉ 18. Blocking ΓòÉΓòÉΓòÉ
  185.  
  186. Specifies the type of record blocking to be used, and how ambiguous cursors are 
  187. to be treated. 
  188.  
  189. Click on the down arrow to the right of the Blocking list box to display the 
  190. valid values: 
  191.  
  192.  <DEFAULT> 
  193.            Use the DB2 default value for this field. 
  194.  UNAMBIG 
  195.            Specifies to block for: 
  196.  
  197.             Read-only cursors 
  198.             Cursors not specified as FOR UPDATE OF 
  199.             Cursors that do not have static DELETE WHERE CURRENT OF statements 
  200.             Cursors that do not have dynamic statements. 
  201.  
  202.            Ambiguous cursors are treated as updateable. 
  203.  NO 
  204.            Specifies not to block any cursors. Ambiguous cursors are treated as 
  205.            updateable. 
  206.  ALL 
  207.            Specifies to block for: 
  208.  
  209.             Read-only cursors 
  210.             Cursors not specified as FOR UPDATE OF 
  211.             Cursors for which no static DELETE WHERE CURRENT OF statements are 
  212.              executed. 
  213.  
  214.            Ambiguous cursors are treated as read-only. 
  215.  
  216.  
  217. ΓòÉΓòÉΓòÉ 19. Non-DDCS ΓòÉΓòÉΓòÉ
  218.  
  219. Use the Non-DDCS page of the DB2PREP Options notebook to change options that 
  220. are supported only by DB2 application servers. 
  221.  
  222. Select from the following list to get online help for the options that are 
  223. available on this page: 
  224.  
  225.   Isolation 
  226.   LangLevel 
  227.   Other Non-DDCS 
  228.  
  229.  
  230. ΓòÉΓòÉΓòÉ 20. Isolation ΓòÉΓòÉΓòÉ
  231.  
  232. The isolation level defines the degree to which an application process is 
  233. isolated (shielded) from changes made by other concurrently executing 
  234. application processes. 
  235.  
  236. Click on the down arrow to the right of the Isolation list box to display the 
  237. valid values: 
  238.  
  239.  <DEFAULT> 
  240.            Use the DB2 default value for this field. 
  241.  CS (Cursor Stability) 
  242.            Ensures that the current row of every updateable cursor is not 
  243.            changed by other application processes. 
  244.  RS (Read Stability) 
  245.            Keeps a lock on all rows accessed since the last commit point. 
  246.  RR (Repeatable Read) 
  247.            Data affected by pending transactions is not available to other 
  248.            transactions. 
  249.  UR (Uncommitted Read) 
  250.            Permits an application to access uncommitted changes caused by other 
  251.            transactions. 
  252.  NC (No Commit) 
  253.  
  254.  
  255. ΓòÉΓòÉΓòÉ 21. LangLevel ΓòÉΓòÉΓòÉ
  256.  
  257. Specifies how C strings are to be processed with respect to the 
  258. null-terminating character. 
  259.  
  260. Click on the down arrow to the right of the LangLevel list box to display the 
  261. valid values: 
  262.  
  263.  <DEFAULT> 
  264.            Use the DB2 default value for this field. 
  265.  SAA1 
  266.            Requires the FOR UPDATE clause for all columns that are updated in a 
  267.            positioned update. C null-terminated strings are not padded with 
  268.            blank characters, and do not include a null-terminating character if 
  269.            truncation occurs. 
  270.  MIA 
  271.            The FOR UPDATE clause is optional for positioned updates. C 
  272.            null-terminated strings are padded with blank characters, and always 
  273.            include the null-terminating character. 
  274.  
  275.  
  276. ΓòÉΓòÉΓòÉ 22. Other Non-DDCS ΓòÉΓòÉΓòÉ
  277.  
  278. For a description of valid options, see the IBM DATABASE 2 Command Reference. 
  279.  
  280.  
  281. ΓòÉΓòÉΓòÉ 23. DDCS ΓòÉΓòÉΓòÉ
  282.  
  283. Use the DDCS page of the DB2PREP Options notebook to change options that are 
  284. supported only by DRDA application servers. 
  285.  
  286. Select Other DDCS to get online help for the options that are available on this 
  287. page. 
  288.  
  289.  
  290. ΓòÉΓòÉΓòÉ 24. Other DDCS ΓòÉΓòÉΓòÉ
  291.  
  292. For a description of valid options, see the IBM DATABASE 2 Command Reference. 
  293.  
  294.  
  295. ΓòÉΓòÉΓòÉ 25. DB2BIND Options ΓòÉΓòÉΓòÉ
  296.  
  297. A .bnd file produced by DB2PREP is bound to the specified database. 
  298.  
  299. Select DB2 Bind from the Options pull-down menu to open the DB2BIND Options 
  300. notebook. Use this notebook to change one or more bind options. 
  301.  
  302. The DB2 Bind notebook has four pages: 
  303.  
  304.   Target 
  305.   Common 
  306.   Non-DDCS 
  307.   DDCS 
  308.  
  309.  
  310. ΓòÉΓòÉΓòÉ 26. Target ΓòÉΓòÉΓòÉ
  311.  
  312. Use the Target page of the DB2BIND Options notebook to change options 
  313. pertaining to the target database. 
  314.  
  315. Select from the following list to get online help for the options that are 
  316. available on this page: 
  317.  
  318.   Database Name 
  319.   Prompt at Bind time 
  320.  
  321.  
  322. ΓòÉΓòÉΓòÉ 27. Prompt at Bind time ΓòÉΓòÉΓòÉ
  323.  
  324. Prompts you to enter the database name while DB2BIND is running. 
  325.  
  326. A check mark appears in the check box when this option is on. To turn this 
  327. option off, click in the check box to remove the check mark. 
  328.  
  329.  
  330. ΓòÉΓòÉΓòÉ 28. Common ΓòÉΓòÉΓòÉ
  331.  
  332. Use the Common page of the DB2BIND Options notebook to change options that are 
  333. supported by both DB2 and DRDA application servers. 
  334.  
  335. Select from the following list to get online help for the options that are 
  336. available on this page: 
  337.  
  338.   PUBLIC 
  339.   User ID or Group 
  340.   Input is file list 
  341.   Date/Time 
  342.   Blocking 
  343.  
  344.  
  345. ΓòÉΓòÉΓòÉ 29. PUBLIC ΓòÉΓòÉΓòÉ
  346.  
  347. Specifies that EXECUTION and BIND privileges are granted to PUBLIC. 
  348.  
  349.  
  350. ΓòÉΓòÉΓòÉ 30. User ID or Group ΓòÉΓòÉΓòÉ
  351.  
  352. Specifies that EXECUTION and BIND privileges are granted to an authorization ID 
  353. representing a user or a group. 
  354.  
  355.  
  356. ΓòÉΓòÉΓòÉ 31. Input is file list ΓòÉΓòÉΓòÉ
  357.  
  358. Specifies that the input is a list of .bnd files to be bound with a database. 
  359.  
  360. A check mark appears in the check box when this option is on. To turn this 
  361. option off, click in the check box to remove the check mark. 
  362.  
  363.  
  364. ΓòÉΓòÉΓòÉ 32. Non-DDCS ΓòÉΓòÉΓòÉ
  365.  
  366. Use the Non-DDCS page of the DB2BIND Options notebook to change options that 
  367. are supported only by DB2 application servers. 
  368.  
  369. Select from the following list to get online help for the options that are 
  370. available on this page: 
  371.  
  372.   Isolation 
  373.   Other Non-DDCS 
  374.  
  375.  
  376. ΓòÉΓòÉΓòÉ 33. DDCS ΓòÉΓòÉΓòÉ
  377.  
  378. Use the DDCS page of the DB2BIND Options notebook to change options that are 
  379. supported only by DRDA application servers. 
  380.  
  381. Select Other DDCS to get online help for the options that are available on this 
  382. page.