By R. L. Constable

ISBN-10: 3540114920

ISBN-13: 9783540114925

Show description

Read or Download An Introduction to the PL/CV2 Programming Logic PDF

Similar introductory & beginning books

Problem Solving With Computers

Laptop technology

Java Foundations: Introduction to Program Design and Data Structures (2nd Edition)

Encouraged through the good fortune in their best-selling introductory programming textual content, Java software program ideas, authors Lewis, DePasquale, and Chase now free up Java Foundations, moment version. this article is a complete source for teachers who desire a two-or three-semester advent to programming textbook that comes with element on facts buildings subject matters.

Sams teach yourself object-oriented programming in 21 days

Sams train your self item orientated Programming in 21 Days differs from different OOP books in major methods. Many vintage OOP books are designed for software program engineers and train at an educational point. Sams educate your self item orientated Programming in 21 Days offers obtainable, hassle-free classes designed with the start programmer in brain.

Explorations in Computing: An Introduction to Computer Science

In accordance with the author’s introductory path on the college of Oregon, Explorations in Computing: An advent to desktop technological know-how specializes in the elemental proposal of computation and gives perception into how computation is used to resolve quite a few fascinating and critical real-world difficulties. Taking an energetic studying process, the textual content encourages scholars to discover computing principles via working courses and trying out them on various inputs.

Additional info for An Introduction to the PL/CV2 Programming Logic

Example text

Procedure Division * ***************************************************** * PROCEDURE DIVISION USING CUST-FNAME, CUST-LNAME, CUST-ADDR, CUST-NO, MARK, MARK-ERROR-TEXT. EXEC SQL WHENEVER SQLERROR GOTO SQL-ERROR END-EXEC. DISPLAY "ADD_CUSTOMER: START". MOVE "OK" TO MARK-ERROR-TEXT. * * Get new customer number * * MOVE "ADD_CUSTOMER: GET HIGH CUSTOMER NO" TO MARK. DISPLAY "ADD_CUSTOMER: GET HIGH CUSTOMER NO". EXEC SQL SELECT HI_CUST_NO+1 INTO :NEW-CUST-NO FROM HI_CUST_NO END-EXEC.

In these cases, you may be able to benefit from the fortunate situation that both SQLJ and JDBC can be mixed in the same source logic. The majority of the sample code included in this book and the accompanying CD-ROM is provided in both SQLJ and JDBC versions. 4 JDBC driver types To allow the generic functions and methods implemented by JDBC to be translated into database-specific calls, each database vendor must deliver a JDBC driver to act as an interface. 1 Note that DB2 for OS/390 has introduced several features (such as the dynamic statement cache) that help to reduce the overheads associated with dynamic SQL and bring JDBC and SQLJ performance closer together.

CUSTOMER table. * * * * The file PREPCUST contains the preparation JCL * * for this program. * * * ***************************************************** DATA DIVISION. WORKING-STORAGE SECTION. EXEC SQL INCLUDE SQLCA END-EXEC. 01 NEW-CUST-NO PIC S9(9) COMP. * DSNTIAR PARMS 01 ERROR-MESSAGE. 02 ERROR-LEN PIC S9(4) COMP VALUE +240. Chapter 3. Java sample application: the ACME software company 29 02 ERROR-TEXT PIC X(80) 77 ERROR-TEXT-LEN PIC S9(9) OCCURS 3 TIMES INDEXED BY ERROR-INDEX. COMP VALUE +80.

Download PDF sample

An Introduction to the PL/CV2 Programming Logic by R. L. Constable


by John
4.3

Rated 4.28 of 5 – based on 47 votes