Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 246 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
246
Dung lượng
0,96 MB
Nội dung
Advanced COBOL Documentation IBM Enterprise COBOL for z/OS http://www-306.ibm.com/software/awdtools/cobol/zos/library/ Especially helpful for programmers: Language Reference Manual Programming Guide Course Outline • QSAM File Processing - Defining files - Dynamic File processing in COBOL • Subprograms – CALL – Parameter passing techniques – CANCEL – Nested programs – Recursion • Tables – Single Dimension – Multi-Dimension – Subscripts and Indexes – Searching Course Outline • Debugging – Basics – Dumps • XML and COBOL – Introduction to XML – Parsers – Cobol Features – Parsing – Events Course Outline • Files with Variable Length Records • Strings – STRING – UNSTRING – INSPECT – Reference modification • Pointers • VSAM File Processing Course Outline • Files with Variable Length Records • Strings – STRING – UNSTRING – INSPECT – Reference modification • Pointers • VSAM File Processing QSAM File Processing Queued Sequential Access Method QSAM Files • Unkeyed, Sequentially created and processed • Records cannot change length or position • QSAM files on direct access storage can be modified with REWRITE • ENVIRONMENT DIVISION. • FILE-CONTROL paragraph SELECT • I-O-CONTOL paragraph APPLY WRITE-ONLY • DATA DIVISION • FILE SECTION FD [...]... buffers is taken from the DD statement If none are specified, the system default is taken QSAM Buffering • QSAM buffers can be allocated above the 16 MB line if all of the following are true: - Enterprise COBOL - z/OS Language Environment - the programs are compiled with RENT and DATA(31) or compiled with NORENT and | RMODE(ANY) - the program is executing in AMODE 31 - the program is executing on MVS -... 80 CHARACTERS DATA RECORD IS IN-AREA 01 IN-AREA 05 … LABEL RECORDS • Label records are records written at the beginning and end of DASD and Tape files that provide information about file • Enterprise COBOL only supports standard labels LABEL RECORDS ARE STANDARD LABEL RECORDS ARE OMITTED Subprograms . Advanced COBOL Documentation IBM Enterprise COBOL for z/OS http://www-306.ibm.com/software/awdtools /cobol/ zos/library/ Especially helpful for programmers: Language. and Indexes – Searching Course Outline • Debugging – Basics – Dumps • XML and COBOL – Introduction to XML – Parsers – Cobol Features – Parsing – Events Course Outline • Files with Variable Length. Programming Guide Course Outline • QSAM File Processing - Defining files - Dynamic File processing in COBOL • Subprograms – CALL – Parameter passing techniques – CANCEL – Nested programs – Recursion • Tables – Single