Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

DB2 program preparation these you need to know

The list helps you when DB2 database you are embedding in either COBOL or PL/I module.

A. DB2 Program Preparation Prepare your COBOL program by giving Table layout in the form of copy book.
B. The SQL Pre-compiler – It converts all DB2 statements into COBOL callable statements.
C. SQL Pre-Compiler Options – List of compiler options
D. The Bind Function – Before your DB2 application run, you must use BIND command to bind the DBRM to a package. For example, you might decide to put certain SQL statements together in the same program in order to precompile them into the same DBRM and then bind them into a single package
E. A Typical Bind Statement – Plan – This is executable statement.
F. A Typical Bind Statement – Package – A package can contain multiple DBRMs
G. Multiple Program Applications – You can use DB2 both in main and sub-program
H. Multiple DBRM Bind – Multiple DBRMS using bind you can create a package
I. Executing DB2 Programs – You can read sample DB2 COBOL JCL
J. The DSN Command – The DSN session which runs under TSO in mainframe. All of the DSN subcommands, except SPUFI, run under DSN in either the foreground or background, and all, except END, also run under DB2 Interactive (DB2I). SPUFI runs only in the foreground under ISPF.
K. The Run Subcommand -The DSN subcommand RUN executes an application program, which can contain SQL statements.



This post first appeared on Srinimf - Tech.Jobs.Biz.Success, please read the originial post: here

Share the post

DB2 program preparation these you need to know

×

Subscribe to Srinimf - Tech.jobs.biz.success

Get updates delivered right to your inbox!

Thank you for your subscription

×