logo资料库

Easytrieve 学习资料.pdf

第1页 / 共563页
第2页 / 共563页
第3页 / 共563页
第4页 / 共563页
第5页 / 共563页
第6页 / 共563页
第7页 / 共563页
第8页 / 共563页
资料共563页,剩余部分请下载后查看
Advantage CA-Easytrieve Plus Reference Guide
Contents
Chapter 1: Overview
Topics
Related Publications
Environment
Capabilities
File Access
Character Set Support
Field Definition
Logic Process
File Output
Report Output
Virtual File Manager
Debugging Capabilities
Current Technology
Enhancement Summary
6.0 Enhancements
INTEGER/ROUNDED/TRUNCATED on Assignment Statement
Working Storage Reinitialization
Single File Keyed Processing
Varying Length Fields
Enhanced Data Map
Enhanced PANVALET Macro Interface
Enhanced Installation Procedures
Enhanced DB2 Interface
ORACLE Database Processing
FILE Statement for SQL
Extended Checkpoint/Restart Facility for IMS
IDD Optional Start Location
Virtual File Manager
6.1 Enhancements
CASE Statement
DO UNTIL Statement
ELSE-IF Statement
Called Programs with 31-bit Address Support
Integration with CA-Corporate Tie
VSAM SUMFILE
CA-IDMS Dynamic Loading
Options Table Support of Date and Time Separator Characters
List of Future Reserved Words
Enhanced DB2 Interface
Disk Drive Support
Display Page Size
IBM SMS BLKSIZE=0 Support
IBM Dynamic Partitions for VSE/ESA Support
6.2 Enhancements
Expanded SQL Processing
IF BREAK/HIGHEST BREAK Class Tests
RETURN-CODE for VSE
CA-Librarian Macro Support
New CONTROLSKIP Parameter on the REPORT Statement
Read Access to LINE-COUNT and PAGE-COUNT
RESET Parameter on FILE Statement
Default Disk Type (VSE Only)
EVEN Parameter on DEFINE Statement
HEADING Parameter in the SQL INCLUDE Statement
WITH HOLD Option on SQL DECLARE CURSOR Statement (DB2 for OS/390 and z/OS Only)
CONNECT Statement Improves Data Access
SQLSYNTAX Parameter on PARM Statement
PLAN Parameter on PARM Statement (DB2 for OS/390 and z/OS Only)
PLANOPTS Parameter on PARM Statement (CA-Datacom SQL only)
SELECT INTO Support (DB2 for OS/390 and z/OS Only)
DB2 - DL/I Batch Support
IDD Updating
IDMS RETURN KEY Support
SQL with CA-IDMS
CA-Datacom SQL Support
Four-Digit Year Support
6.3 Enhancements
Suppress Leading Zeroes
Empty VSAM File Processing
HIGH-VALUES/LOW-VALUES Reserved Words
HTML Program Templates
EZTOOL Date Routines
Override Date Parameter
Utility Macros
6.4 Enhancements
Running above 16 MB
Chapter 2: System Overview
Structure of a Program
Environment Definition Section
Library Definition Section
Activity Definition Section
Program Flow
Syntax Rules
Statement Area
Character Sets
Multiple Statements
Comments
Continuations
Words and Delimiters
Keywords
Multiple Parameters
Field Names
Labels
EBCDIC Alphabetic Literals
Numeric Literals
EBCDIC Format Hexadecimal Literals
DBCS Format Literals
DBCS Format Hexadecimal Literals
MIXED Format Literals
Alphabetic Conversion Literals
Katakana Conversion Literals
Hiragana Conversion Literals
User Converted Literals
Format and Conversion Rules
Format Relationship Rules
Identifiers
Arithmetic Operators
Chapter 3: Environment Definition
PARM Statement
Environment Modification
Usage
PARM Statement Syntax
PARM Statement Parameters
PARM Statement Examples
Chapter 4: Data Definition
FILE Statement
Syntax
Parameters
File Type Parameters
Device Type Parameters
Record Format Parameters
Examples
DEFINE Statement
DEFINE within an Activity
File Fields
Working Storage Fields
Basic Field Definition
DEFINE Syntax
Parameters
Data Format
DEFINE Statement Examples
Record Layouts
Overlay Redefinition
Working Storage Initialization
Varying Length Fields
Displaying Varying Length Fields
Assigning and Moving Varying Length Fields
Alternate Report Headings
Signed/Unsigned Rules
Signed
Unsigned
Edit Masks
Editing Rules
Leading Zeros
Printing
Suppressing
Replacing
Negative Numbers
COPY Statement
Syntax
Example
COPY Rules for Database Files
Examples
Data Reference
Unique Name
Qualification
Indexing
System-Defined Fields
General Fields
File Fields
Report Fields
Chapter 5: Processing Activities
JOB Statement
Syntax
Parameters
Job Flow
SORT Statement
Syntax
Parameters
Sorting Files
Sort Procedures
Sort Flow
SELECT Statement
Syntax
Sorting a Selected Portion of a File
Chapter 6: Assignments and Moves
Arithmetic Expressions
Syntax
Operation
Parentheses
Evaluations
Assignment Statement
Format 1 (Normal Assignment)
Format 2 (Logical Expression)
Examples
EBCDIC To DBCS Conversion
Format 1 (Normal Assignment)
MOVE Statement
Syntax
Format 1
Format 2
Variables
Example
MOVE LIKE Statement
Syntax
Operation
IDD Processing of MOVE LIKE (CA-IDMS)
Example
Chapter 7: Decision and Branching Logic
Conditional Expressions
Simple Conditions
Extended Conditions
DBCS Considerations
Varying Length Fields
Combined Conditions
Field Relational Condition
Syntax
Operation
Subject
Relational Operator
Object
Alphanumeric Subjects
Numeric Subjects
Mixed Subjects
DBCS Subjects
Example
Field Series Condition
Operation
Subject
Relational Operator
Object
Rules for Evaluation
Example
Field Class Condition
Syntax
Operation
Subject
Object
Rules for Evaluation
Example
Field Bits Condition
Syntax
Operation
Subject
Relational Operator
Object
Example
File Presence Condition
Syntax
Operation
Subject
Object
Example
File Presence Series Condition
Syntax
Operation
Subject
Example
Record Relational Condition
Syntax
Operation
Subject
Example
IF, ELSE-IF, ELSE, and END-IF Statements
Syntax
Operation
Example
DO and END-DO Statements
Syntax
Operation
DO WHILE and END-DO
DO UNTIL and END-DO
Nesting
Example
CASE Statement
Syntax
Operation
Example
GOTO Statement
Syntax
Operation
Example
Statement Label
Syntax
Operation
Example
PERFORM Statement
Syntax
Operation
Example
STOP Statement
Syntax
Operation
Example
Conditional Execution
Example
Termination
Example
Chapter 8: Input/Output Specification
DISPLAY Statement
Syntax
Format 1
Format 2
Format 3
Parameters
Format 1
Format 2
DISPLAY HEX
Example
GET Statement
Syntax
Operation
Example
POINT Statement
Syntax
Operation
Example
PRINT Statement
Syntax
Operation
PUT Statement
Syntax
Operation
READ Statement
Syntax
Operation
Example
WRITE Statement
Syntax
Format 1
Format 2
Example
Chapter 9: Procedure Processing
Procedure Syntax
Syntax
Operation
Invoking Procedures
PERFORM Statement
Syntax
START and FINISH Parameters (JOB)
START
FINISH
BEFORE Parameter (SORT)
BEFORE proc-name
Special-name Report Procedures
Procedure Placement
Example
Chapter 10: Report Processing
Basic Report Structure
PRINT Statement Processing
PRINT Workfile Processing
Report Formats
Standard Format
Top Margin
Title Area
Heading Area
Report Body
Bottom Margin
Label Format
DBCS Reporting Restrictions
Report Definition Statements
Structure of Report Definition
REPORT Statement
Syntax
REPORT Statement Parameters
Format Determination Parameters
File Directing Parameters
Spacing Control Parameters
Testing Aid Parameters
IMS-only Parameter
DBCS/MIXED Considerations
Varying Length Field Considerations
Report Definition Statements
SEQUENCE Statement
Syntax
Operation
IBM-sort-options
JEF-sort-options
CONTROL Statement
Syntax
Operation
SUM Statement
Syntax
Operation
TITLE Statement
Syntax
Operation
HEADING Statement
Syntax
Operation
LINE Statement
Syntax
Operation
Standard Reports
Titles
Headings
Line Group
Line Item Positioning
Special Positioning
Pre-printed Form Production
SPREAD Option
Label Reports
CONTROL Statement
Sequenced Reports
SEQUENCE Statement
CONTROL Reports
Terminology
Data Reference
TALLY
LEVEL
BREAK-LEVEL
IF BREAK/IF HIGHEST BREAK Processing
Control Report Contents
DTLCTL
SUMCTL
TAG
DTLCOPY
DTLCOPYALL
Control Field Values in Titles
Overflow of Total Values
Controlling Overflow
Summary File
Report Procedures
Coding Techniques
Field Reference
Special-name Report Procedures
REPORT-INPUT
BEFORE-LINE and AFTER-LINE
BEFORE-BREAK
AFTER-BREAK
ENDPAGE
TERMINATION
Report Work Files
Routing Printed Output
Chapter 11: File Processing
Control of Input/Output
Data Access Modes
Record Format
CARD, PUNCH, and VSAM
Record Addressability
System-Defined File Fields
Error Conditions
Data Availability Tests
Opening and Closing Files
SAM Files
SAM Input
Automatic Processing
Controlled Processing
Card Input
SAM Output
Fixed-Length File Creation
Variable-Length File Creation
PUNCH Files
ISAM Files
Automatic Processing
Controlled Processing
Skip-Sequential Processing
Random Processing
VSAM Files
File Creation
VSAM Input
Automatic Processing
Controlled Processing
Skip-Sequential Processing
Random Input
VSAM Record Addition
Single Record Addition
Mass-Sequential Insertion
VSAM Record Deletion
VSAM Record Update
Virtual File Manager
Synchronized File Processing
Synchronized File Input
Example
Record Availability
Special IF Statements
MATCHED
File Existence
DUPLICATE, FIRST-DUP, and LAST-DUP
Updating a Master File
Single File Keyed Processing
Host Disk Files
Host Disk Definition
Host Disk Formats
Writing to the Host Disk File
Host Disk File Processing
Examples
Static Parameter Specification
Dynamic Parameter Specification
Sending Report Output to the Host Disk
Chapter 12: Table and Array Processing
Table Definition
Defining Tables
SEARCH Statement
Syntax
Operation
Searching Tables
Single Dimension Arrays
Index Attribute
Example
Multiple Dimension Arrays
Subscripts
Defining a One-Dimension Array
Defining a Two-Dimensional Array
Defining a Three-Dimensional Array
Using Subscripts
Segmented Data
Data Strings
Chapter 13: Subprograms
Programming Languages
Program Loading
Storage Management
Addressing Mode Considerations
Linkage (Register Usage) Conventions
Linkage Register Usage
Register Save Area Usage
Assembler Subprogram Linkage
COBOL Subprogram Linkage
ENVIRON Option and ENVIRONMENT Parameter
COBOL ENVIRONMENT Operation
COBOL Environment Rules
VS FORTRAN Subprogram Linkage
PL/I Subprogram Linkage
Parameter Lists
Parameter List Format
Exit Parameter List
CALL Statement
Syntax
Operation
CALL Parameter Lists
LE-Enabled Support
Calling COBOL
Calling Assembler
Calling LE CEEExxxx Routines
Calling PL/I
File Exit Programs
Error Condition Handling
Chapter 14: System Facilities
Compiler Directives
End
Syntax
Utility Programs
EZTPX01
EZTPX03
EZTPX04
EZTPX05
Compile Listing
Header
Statement Listing
Listing Control Statements
LIST
Syntax
NEWPAGE
SKIP
PUSH
POP
Example
Diagnostic Format
Parameter (PARM) Listing
CLIST
DMAP
Field Group Header
Logical Record Display (CA-IDMS)
Record Display (DL/I)
Field Header
PMAP
XREF
Execution Listing
File Statistics
Abnormal Termination
Diagnostic Messages
Syntax Errors
Execution Errors
Error Analysis Report
Cause A Data Exception
Analyzing the Report
Chapter 15: Macros
Macro Invocation Statement
Syntax
Invoking Macros
Macro Library
Macro Library Security
CA-Panvalet
CA-Librarian
Maintenance
Security
PDS/SSL
USER
VSAM
Macro Definition
Prototype Statement
Syntax
Operation
Positional Parameters
Keyword Parameters
Prototype Examples
Macro Body
Macro Termination Command
Instream Macros
Syntax
Operation
Example
Macro Processing
Parameter Substitution
Examples
‘&’ and ‘.’ in a Macro
Appendix A: Utility Macros
CBLCNVRT
Syntax
Operation: Standalone-Report
Operation: Database
Limitations
Glossary Table Generation
Examples
OS Creation of Glossary Table File
DOS Creation of Glossary Table File
Example Definitions
STRSRCH
Syntax
Operation: Inline
Operation: Database
Notes
Appendix B: Diagnostics
Operational Diagnostic Messages
Syntax Diagnostic Messages
CBLCNVRT Messages
DQSCGEN Messages
IDD Interface Messages
SQL Supplemental Diagnostic Messages
Appendix C: Keywords
Symbol References
Reserved Words
Appendix D: Options Table
Selectable Options
Appendix E: Examples
Coding Conventions
Inventory Sample File
Personnel Sample File
GETDATE Macro
Basic Examples
Example 1: Employees in Region 1
Example 2: Proposed Salary Schedules
Example 3: Employee Letters
Example 4: Mailing Labels
Example 5: Tally Reports
Example 6: Phone Number Selection
Example 7: Salary Tally Report
Example 8: File Expansion
Example 9: Average Regional Gross Salary
Example 10: Central Region Employees
Example 11: Inventory Report by City
Example 12: Expanded Inventory Report
Example 13: Error Correction
Example 14: Inventory Reduction
Example 15: Inventory File Update
Example 16: Reorder Notification Report
CA-Easytrieve/Earl
Syntax
Parameters
Usage Notes
Sample CA-Easytrieve/Earl Exit
JCL Examples for the OS/390 and z/OS Operating System
SYSIN
SYSPRINT
PANDD1
MASTER1
EZTVFM
SORTWKnn
SYSLIN
SYSOUT
STEPLIB
sysctl
sysjrnl
sysidms
idmsdb
idmsdict
SYSSNAP
SYSUDUMP
userfiles
KJSRTBL
KJSYSOUT
KATTR
JCL Examples: OS/390 and z/OS JCL Systems
Macro Libraries
JCL Examples for the VSE Operating System
SYSIPT
SYSLST
PANDD1
MASTER1
EZTVFM
SORTWKn
SYSLNK
userfiles
CA-IDMS
sysjrnl
sysidms
idmsdb
idmsdict
UPSI
JCL Examples: VSE JCL Systems
Macro Libraries
Appendix F: Four-Digit Year Support
DATECONV
Syntax
Parameters
Operation: INLINE
Operation: Database
Example
DATEVAL
Syntax
Parameters
Operation: INLINE
Operation: Database
Example
Index
Advantage CA-Easytrieve Plus Report Generator Reference Guide 6.4
This documentation and related computer software program (hereinafter referred to as the “Documentation”) is for the end user’s informational purposes only and is subject to change or withdrawal by Computer Associates International, Inc. (“CA”) at any time. This documentation may not be copied, transferred, reproduced, disclosed or duplicated, in whole or in part, without the prior written consent of CA. This documentation is proprietary information of CA and protected by the copyright laws of the United States and international treaties. Notwithstanding the foregoing, licensed users may print a reasonable number of copies of this documentation for their own internal use, provided that all CA copyright notices and legends are affixed to each reproduced copy. Only authorized employees, consultants, or agents of the user who are bound by the confidentiality provisions of the license for the software are permitted to have access to such copies. This right to print copies is limited to the period during which the license for the product remains in full force and effect. Should the license terminate for any reason, it shall be the user’s responsibility to return to CA the reproduced copies or to certify to CA that same have been destroyed. To the extent permitted by applicable law, CA provides this documentation “as is” without warranty of any kind, including without limitation, any implied warranties of merchantability, fitness for a particular purpose or noninfringement. In no event will CA be liable to the end user or any third party for any loss or damage, direct or indirect, from the use of this documentation, including without limitation, lost profits, business interruption, goodwill, or lost data, even if CA is expressly advised of such loss or damage. The use of any product referenced in this documentation and this documentation is governed by the end user’s applicable license agreement. The manufacturer of this documentation is Computer Associates International, Inc. Provided with “Restricted Rights” as set forth in 48 C.F.R. Section 12.212, 48 C.F.R. Sections 52.227-19(c)(1) and (2) or DFARS Section 252.227-7013(c)(1)(ii) or applicable successor provisions.  2003 Computer Associates International, Inc. All trademarks, trade names, service marks, and logos referenced herein belong to their respective companies.
Contents Chapter 1: Overview Topics ...................................................................................... 1-1 Related Publications ......................................................................... 1-2 Environment ................................................................................ 1-3 Capabilities ................................................................................. 1-3 File Access .............................................................................. 1-3 Character Set Support .................................................................... 1-3 Field Definition .......................................................................... 1-4 Logic Process ............................................................................ 1-4 File Output .............................................................................. 1-5 Report Output ........................................................................... 1-5 Virtual File Manager ..................................................................... 1-6 Debugging Capabilities................................................................... 1-6 Current Technology ...................................................................... 1-7 Enhancement Summary ...................................................................... 1-7 6.0 Enhancements ........................................................................ 1-7 6.1 Enhancements ........................................................................ 1-9 6.2 Enhancements ....................................................................... 1-12 6.3 Enhancements ....................................................................... 1-16 6.4 Enhancements ....................................................................... 1-17 Chapter 2: System Overview Structure of a Program ....................................................................... 2-1 Environment Definition Section ........................................................... 2-1 Library Definition Section................................................................. 2-2 Activity Definition Section ................................................................ 2-2 Program Flow ........................................................................... 2-5 Syntax Rules ................................................................................ 2-7 Statement Area .......................................................................... 2-7 Character Sets ........................................................................... 2-8 Contents iii
Multiple Statements .....................................................................2-10 Comments ..............................................................................2-10 Continuations ...........................................................................2-11 Words and Delimiters....................................................................2-12 Keywords ..............................................................................2-12 Multiple Parameters .....................................................................2-12 Field Names ............................................................................2-13 Labels ..................................................................................2-13 EBCDIC Alphabetic Literals ..............................................................2-13 Numeric Literals ........................................................................2-14 EBCDIC Format Hexadecimal Literals .....................................................2-14 DBCS Format Literals ....................................................................2-14 DBCS Format Hexadecimal Literals .......................................................2-15 MIXED Format Literals ..................................................................2-15 Alphabetic Conversion Literals ...........................................................2-15 Katakana Conversion Literals.............................................................2-16 Hiragana Conversion Literals.............................................................2-17 User Converted Literals ..................................................................2-17 Format and Conversion Rules ............................................................2-18 Format Relationship Rules ...............................................................2-20 Identifiers...............................................................................2-21 Arithmetic Operators ....................................................................2-21 Chapter 3: Environment Definition PARM Statement ............................................................................. 3-1 Environment Modification ................................................................ 3-1 Usage ................................................................................... 3-1 PARM Statement Syntax .................................................................. 3-2 PARM Statement Parameters .............................................................. 3-5 PARM Statement Examples ..............................................................3-17 Chapter 4: Data Definition FILE Statement............................................................................... 4-2 Syntax ................................................................................... 4-3 Parameters............................................................................... 4-4 File Type Parameters ..................................................................... 4-5 Device Type Parameters................................................................... 4-9 Record Format Parameters ...............................................................4-11 Examples ...............................................................................4-14 iv Reference Guide
DEFINE Statement .......................................................................... 4-15 DEFINE within an Activity .............................................................. 4-15 File Fields .............................................................................. 4-15 Working Storage Fields .................................................................. 4-16 Basic Field Definition.................................................................... 4-16 DEFINE Syntax ......................................................................... 4-17 Parameters ............................................................................. 4-18 DEFINE Statement Examples ................................................................ 4-24 Record Layouts ......................................................................... 4-25 Overlay Redefinition .................................................................... 4-25 Working Storage Initialization ........................................................... 4-26 Varying Length Fields ................................................................... 4-26 Alternate Report Headings............................................................... 4-29 Signed/Unsigned Rules ................................................................. 4-29 Edit Masks ............................................................................. 4-30 Leading Zeros .......................................................................... 4-30 Negative Numbers ...................................................................... 4-32 COPY Statement ............................................................................ 4-32 Syntax ................................................................................. 4-32 Example ............................................................................... 4-32 COPY Rules for Database Files ........................................................... 4-33 Data Reference ............................................................................. 4-34 Unique Name .......................................................................... 4-34 Qualification ........................................................................... 4-34 Indexing ................................................................................... 4-35 System-Defined Fields ...................................................................... 4-35 General Fields .......................................................................... 4-35 File Fields .............................................................................. 4-36 Report Fields ........................................................................... 4-36 Chapter 5: Processing Activities JOB Statement ............................................................................... 5-1 Syntax .................................................................................. 5-2 Parameters .............................................................................. 5-2 Job Flow ................................................................................ 5-4 SORT Statement ............................................................................. 5-7 Syntax .................................................................................. 5-7 Parameters .............................................................................. 5-8 Sorting Files ............................................................................ 5-14 Sort Procedures ......................................................................... 5-15 Contents v
Sort Flow ...............................................................................5-16 SELECT Statement ..........................................................................5-18 Syntax ..................................................................................5-18 Sorting a Selected Portion of a File ........................................................5-18 Chapter 6: Assignments and Moves Arithmetic Expressions ....................................................................... 6-1 Syntax ................................................................................... 6-1 Operation................................................................................ 6-2 Parentheses .............................................................................. 6-2 Evaluations .............................................................................. 6-3 Assignment Statement ........................................................................ 6-4 Format 1 (Normal Assignment) ............................................................ 6-5 Format 2 (Logical Expression) ............................................................. 6-7 Examples ................................................................................ 6-7 EBCDIC To DBCS Conversion ............................................................. 6-9 Format 1 (Normal Assignment) ............................................................ 6-9 MOVE Statement............................................................................6-13 Syntax ..................................................................................6-13 Variables ...............................................................................6-14 Example ................................................................................6-15 MOVE LIKE Statement ......................................................................6-15 Syntax ..................................................................................6-15 Operation...............................................................................6-15 Example ................................................................................6-16 Chapter 7: Decision and Branching Logic Conditional Expressions ...................................................................... 7-1 Simple Conditions ........................................................................ 7-2 Extended Conditions ..................................................................... 7-2 DBCS Considerations ..................................................................... 7-3 Varying Length Fields .................................................................... 7-3 Combined Conditions..................................................................... 7-3 Field Relational Condition .................................................................... 7-4 Syntax ................................................................................... 7-4 Operation................................................................................ 7-4 Alphanumeric Subjects.................................................................... 7-5 Numeric Subjects ......................................................................... 7-5 Mixed Subjects ........................................................................... 7-5 vi Reference Guide
DBCS Subjects ........................................................................... 7-6 Example ................................................................................ 7-7 Field Series Condition ........................................................................ 7-7 Operation ............................................................................... 7-8 Rules for Evaluation...................................................................... 7-8 Example ................................................................................ 7-9 Field Class Condition ........................................................................ 7-9 Syntax .................................................................................. 7-9 Operation .............................................................................. 7-10 Rules for Evaluation..................................................................... 7-10 Example ............................................................................... 7-12 Field Bits Condition ......................................................................... 7-13 Syntax ................................................................................. 7-13 Operation .............................................................................. 7-13 Example ............................................................................... 7-14 File Presence Condition ..................................................................... 7-14 Syntax ................................................................................. 7-14 Operation .............................................................................. 7-14 Example ............................................................................... 7-15 File Presence Series Condition ............................................................... 7-16 Syntax ................................................................................. 7-16 Operation .............................................................................. 7-16 Example ............................................................................... 7-16 Record Relational Condition ................................................................. 7-17 Syntax ................................................................................. 7-17 Operation .............................................................................. 7-17 Example ............................................................................... 7-18 IF, ELSE-IF, ELSE, and END-IF Statements .................................................... 7-18 Syntax ................................................................................. 7-18 Operation .............................................................................. 7-19 Example ............................................................................... 7-20 DO and END-DO Statements ................................................................ 7-22 Syntax ................................................................................. 7-22 Operation .............................................................................. 7-22 Nesting ................................................................................ 7-23 Example ............................................................................... 7-24 CASE Statement ............................................................................ 7-25 Syntax ................................................................................. 7-25 Operation .............................................................................. 7-25 Example ............................................................................... 7-27 GOTO Statement ........................................................................... 7-27 Contents vii
Syntax ..................................................................................7-27 Operation...............................................................................7-27 Example ................................................................................7-28 Statement Label .............................................................................7-28 Syntax ..................................................................................7-28 Operation...............................................................................7-29 Example ................................................................................7-30 PERFORM Statement ........................................................................7-31 Syntax ..................................................................................7-31 Operation...............................................................................7-31 Example ................................................................................7-31 STOP Statement .............................................................................7-32 Syntax ..................................................................................7-32 Operation...............................................................................7-32 Example ................................................................................7-32 Conditional Execution ...................................................................7-32 Example ................................................................................7-33 Termination.............................................................................7-33 Chapter 8: Input/Output Specification DISPLAY Statement .......................................................................... 8-2 Syntax ................................................................................... 8-2 Parameters............................................................................... 8-3 Example ................................................................................. 8-7 GET Statement ............................................................................... 8-8 Syntax ................................................................................... 8-8 Operation................................................................................ 8-8 Example ................................................................................. 8-8 POINT Statement ............................................................................ 8-9 Syntax ................................................................................... 8-9 Operation................................................................................ 8-9 Example ................................................................................8-10 PRINT Statement............................................................................8-10 Syntax ..................................................................................8-10 Operation...............................................................................8-11 PUT Statement ..............................................................................8-12 Syntax ..................................................................................8-12 Operation...............................................................................8-12 READ Statement ............................................................................8-12 Syntax ..................................................................................8-13 viii Reference Guide
分享到:
收藏