home *** CD-ROM | disk | FTP | other *** search
-
- ΓòÉΓòÉΓòÉ 1. DB2PREP Options ΓòÉΓòÉΓòÉ
-
- DB2PREP translates an application source file containing embedded SQL
- statements into a modified source file containing database manager run-time
- services API calls. DB2PREP can optionally bind the application to a database
- during the precompile process.
-
- Select DB2 Precompile from the Options pull-down menu to open the DB2PREP
- Options notebook. Use this notebook to change one or more precompile options.
-
- The DB2 Precompile notebook has four pages:
-
- Target
- Common
- Non-DDCS
- DDCS
-
-
- ΓòÉΓòÉΓòÉ 2. OK ΓòÉΓòÉΓòÉ
-
- To save the notebook options settings that you have specified, and close the
- notebook, click on the OK push button.
-
-
- ΓòÉΓòÉΓòÉ 3. Reset ΓòÉΓòÉΓòÉ
-
- To update the notebook options settings to their initial values, click on the
- Reset push button.
-
-
- ΓòÉΓòÉΓòÉ 4. Default ΓòÉΓòÉΓòÉ
-
- To update the notebook options settings to their default values, click on the
- Default push button.
-
-
- ΓòÉΓòÉΓòÉ 5. Cancel ΓòÉΓòÉΓòÉ
-
- To close the notebook without saving any changes, click on the Cancel push
- button.
-
-
- ΓòÉΓòÉΓòÉ 6. Reset Page ΓòÉΓòÉΓòÉ
-
- To update the notebook options settings on this page to their initial values,
- click on the Reset Page push button.
-
-
- ΓòÉΓòÉΓòÉ 7. Default ΓòÉΓòÉΓòÉ
-
- To update the notebook options settings on this page to their default values,
- click on the Default push button.
-
-
- ΓòÉΓòÉΓòÉ 8. Target ΓòÉΓòÉΓòÉ
-
- Use the Target page of the DB2PREP Options notebook to change options
- pertaining to the target database.
-
- Select from the following list to get online help for the options that are
- available on this page:
-
- Database Name
- Ignore generated database name
- Prompt for Database, Userid or Authentication
-
-
- ΓòÉΓòÉΓòÉ 9. Database Name ΓòÉΓòÉΓòÉ
-
- Prompts you to enter a database name if a default value does not exist. An
- ICSDATA-generated database name overrides the default value for DB2PREP.
-
- Note: If you are specifying a database default you must do one of :
-
- Ensure workframe has not been previously started by typing, iwf /CM EXIT
- Then enter SET DB2DBDFT=database name on the command line and restart
- workframe.
-
- Add the DB2DBDFT environment variable to your environment and reboot, then
- start workframe.
-
-
- ΓòÉΓòÉΓòÉ 10. Ignore generated database name ΓòÉΓòÉΓòÉ
-
- Causes DB2PREP to ignore database information generated by the ICSDATA tool,
- and to determine the database name using a prompt or the default name,
- depending on the current settings.
-
- A check mark appears in the check box when this option is on. To turn this
- option off, click in the check box to remove the check mark.
-
-
- ΓòÉΓòÉΓòÉ 11. Prompt for Database, Userid or Authentication ΓòÉΓòÉΓòÉ
-
- Prompts you to enter a database name while building a makefile. This prompting
- occurs only if files are generated by the ICSDATA tool, and if the Ignore
- generated database name option is deselected.
-
- A check mark appears in the check box when this option is on. To turn this
- option off, click in the check box to remove the check mark.
-
-
- ΓòÉΓòÉΓòÉ 12. Common ΓòÉΓòÉΓòÉ
-
- Use the Common page of the DB2PREP Options notebook to change options that are
- supported by both DB2 and DRDA application servers.
-
- Select from the following list to get online help for the options that are
- available on this page:
-
- Bind file
- Package
- NOLINEMACRO
- SQLDA Optimization
- Date/Time
- Blocking
-
-
- ΓòÉΓòÉΓòÉ 13. Bind file ΓòÉΓòÉΓòÉ
-
- Creates a bind file using the program name and a .bnd file name extension. You
- can specify a different name in the associated entry field.
-
- A check mark appears in the check box when this option is on. To turn this
- option off, click in the check box to remove the check mark.
-
-
- ΓòÉΓòÉΓòÉ 14. Package ΓòÉΓòÉΓòÉ
-
- Selects the PACKAGE option, and creates a package using the program name. You
- can specify a different name in the associated entry field.
-
- A check mark appears in the check box when this option is on. To turn this
- option off, click in the check box to remove the check mark.
-
-
- ΓòÉΓòÉΓòÉ 15. NOLINEMACRO ΓòÉΓòÉΓòÉ
-
- Suppresses #line macros. Specify this option if you intend to step through your
- program with a symbolic debugger.
-
- A check mark appears in the check box when this option is on. To turn this
- option off, click in the check box to remove the check mark.
-
-
- ΓòÉΓòÉΓòÉ 16. SQLDA Optimization ΓòÉΓòÉΓòÉ
-
- Causes SQLDA initialization to be optimized for SQL statements that use host
- variables.
-
- A check mark appears in the check box when this option is on. To turn this
- option off, click in the check box to remove the check mark.
-
-
- ΓòÉΓòÉΓòÉ 17. Date/Time ΓòÉΓòÉΓòÉ
-
- Determines the format to be used when date and time fields are assigned to
- string representations. If this option is not specified, the database manager
- uses the default format determined by the country code.
-
- Click on the down arrow to the right of the Date Time list box to display the
- valid values:
-
- <DEFAULT>
- Use the DB2 default value for this field.
- DEF
- Use a date and time format associated with the country code of the
- database.
- USA
- Use the IBM standard for U.S. date and time format.
- EUR
- Use the IBM standard for Europe date and time format.
- ISO
- Use the date and time format of the International Standards
- Organization.
- JIS
- Use the date and time format of the Japanese Industrial Standard.
- LOC
- Use the date and time format in local form associated with the
- country code of the database.
-
-
- ΓòÉΓòÉΓòÉ 18. Blocking ΓòÉΓòÉΓòÉ
-
- Specifies the type of record blocking to be used, and how ambiguous cursors are
- to be treated.
-
- Click on the down arrow to the right of the Blocking list box to display the
- valid values:
-
- <DEFAULT>
- Use the DB2 default value for this field.
- UNAMBIG
- Specifies to block for:
-
- Read-only cursors
- Cursors not specified as FOR UPDATE OF
- Cursors that do not have static DELETE WHERE CURRENT OF statements
- Cursors that do not have dynamic statements.
-
- Ambiguous cursors are treated as updateable.
- NO
- Specifies not to block any cursors. Ambiguous cursors are treated as
- updateable.
- ALL
- Specifies to block for:
-
- Read-only cursors
- Cursors not specified as FOR UPDATE OF
- Cursors for which no static DELETE WHERE CURRENT OF statements are
- executed.
-
- Ambiguous cursors are treated as read-only.
-
-
- ΓòÉΓòÉΓòÉ 19. Non-DDCS ΓòÉΓòÉΓòÉ
-
- Use the Non-DDCS page of the DB2PREP Options notebook to change options that
- are supported only by DB2 application servers.
-
- Select from the following list to get online help for the options that are
- available on this page:
-
- Isolation
- LangLevel
- Other Non-DDCS
-
-
- ΓòÉΓòÉΓòÉ 20. Isolation ΓòÉΓòÉΓòÉ
-
- The isolation level defines the degree to which an application process is
- isolated (shielded) from changes made by other concurrently executing
- application processes.
-
- Click on the down arrow to the right of the Isolation list box to display the
- valid values:
-
- <DEFAULT>
- Use the DB2 default value for this field.
- CS (Cursor Stability)
- Ensures that the current row of every updateable cursor is not
- changed by other application processes.
- RS (Read Stability)
- Keeps a lock on all rows accessed since the last commit point.
- RR (Repeatable Read)
- Data affected by pending transactions is not available to other
- transactions.
- UR (Uncommitted Read)
- Permits an application to access uncommitted changes caused by other
- transactions.
- NC (No Commit)
-
-
- ΓòÉΓòÉΓòÉ 21. LangLevel ΓòÉΓòÉΓòÉ
-
- Specifies how C strings are to be processed with respect to the
- null-terminating character.
-
- Click on the down arrow to the right of the LangLevel list box to display the
- valid values:
-
- <DEFAULT>
- Use the DB2 default value for this field.
- SAA1
- Requires the FOR UPDATE clause for all columns that are updated in a
- positioned update. C null-terminated strings are not padded with
- blank characters, and do not include a null-terminating character if
- truncation occurs.
- MIA
- The FOR UPDATE clause is optional for positioned updates. C
- null-terminated strings are padded with blank characters, and always
- include the null-terminating character.
-
-
- ΓòÉΓòÉΓòÉ 22. Other Non-DDCS ΓòÉΓòÉΓòÉ
-
- For a description of valid options, see the IBM DATABASE 2 Command Reference.
-
-
- ΓòÉΓòÉΓòÉ 23. DDCS ΓòÉΓòÉΓòÉ
-
- Use the DDCS page of the DB2PREP Options notebook to change options that are
- supported only by DRDA application servers.
-
- Select Other DDCS to get online help for the options that are available on this
- page.
-
-
- ΓòÉΓòÉΓòÉ 24. Other DDCS ΓòÉΓòÉΓòÉ
-
- For a description of valid options, see the IBM DATABASE 2 Command Reference.
-
-
- ΓòÉΓòÉΓòÉ 25. DB2BIND Options ΓòÉΓòÉΓòÉ
-
- A .bnd file produced by DB2PREP is bound to the specified database.
-
- Select DB2 Bind from the Options pull-down menu to open the DB2BIND Options
- notebook. Use this notebook to change one or more bind options.
-
- The DB2 Bind notebook has four pages:
-
- Target
- Common
- Non-DDCS
- DDCS
-
-
- ΓòÉΓòÉΓòÉ 26. Target ΓòÉΓòÉΓòÉ
-
- Use the Target page of the DB2BIND Options notebook to change options
- pertaining to the target database.
-
- Select from the following list to get online help for the options that are
- available on this page:
-
- Database Name
- Prompt at Bind time
-
-
- ΓòÉΓòÉΓòÉ 27. Prompt at Bind time ΓòÉΓòÉΓòÉ
-
- Prompts you to enter the database name while DB2BIND is running.
-
- A check mark appears in the check box when this option is on. To turn this
- option off, click in the check box to remove the check mark.
-
-
- ΓòÉΓòÉΓòÉ 28. Common ΓòÉΓòÉΓòÉ
-
- Use the Common page of the DB2BIND Options notebook to change options that are
- supported by both DB2 and DRDA application servers.
-
- Select from the following list to get online help for the options that are
- available on this page:
-
- PUBLIC
- User ID or Group
- Input is file list
- Date/Time
- Blocking
-
-
- ΓòÉΓòÉΓòÉ 29. PUBLIC ΓòÉΓòÉΓòÉ
-
- Specifies that EXECUTION and BIND privileges are granted to PUBLIC.
-
-
- ΓòÉΓòÉΓòÉ 30. User ID or Group ΓòÉΓòÉΓòÉ
-
- Specifies that EXECUTION and BIND privileges are granted to an authorization ID
- representing a user or a group.
-
-
- ΓòÉΓòÉΓòÉ 31. Input is file list ΓòÉΓòÉΓòÉ
-
- Specifies that the input is a list of .bnd files to be bound with a database.
-
- A check mark appears in the check box when this option is on. To turn this
- option off, click in the check box to remove the check mark.
-
-
- ΓòÉΓòÉΓòÉ 32. Non-DDCS ΓòÉΓòÉΓòÉ
-
- Use the Non-DDCS page of the DB2BIND Options notebook to change options that
- are supported only by DB2 application servers.
-
- Select from the following list to get online help for the options that are
- available on this page:
-
- Isolation
- Other Non-DDCS
-
-
- ΓòÉΓòÉΓòÉ 33. DDCS ΓòÉΓòÉΓòÉ
-
- Use the DDCS page of the DB2BIND Options notebook to change options that are
- supported only by DRDA application servers.
-
- Select Other DDCS to get online help for the options that are available on this
- page.