Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more ➡
Download
Standard view
Full view
of .
Add note
Save to My Library
Sync to mobile
Look up keyword or section
Like this
3Activity
×

Table Of Contents

Part 2.Compiling your program
Chapter 1.Using Compile-Time Options and Facilities
Compile-Time Option Descriptions
AGGREGATE
ATTRIBUTES
CMPAT
COMPILE
CONTROL
DECK
FLAG
GONUMBER
GOSTMT
GRAPHIC
IMPRECISE
INCLUDE
INSOURCE
INTERRUPT
LANGLVL
LINECOUNT
LIST
LMESSAGE
MACRO
MARGINI
MARGINS
MDECK
NAME
name
NEST
NUMBER
OBJECT
OFFSET
OPTIMIZE
NOOPTIMIZE
OPTIONS
OR
SEQUENCE
SIZE
SMESSAGE
SOURCE
STMT
STORAGE
SYNTAX
NOSYNTAX
SYSTEM
TERMINAL
TEST
XREF
Input Record Formats
Specifying Options in the %PROCESS or *PROCESS statements
Using the Preprocessor
Invoking the Preprocessor
Using the %INCLUDE Statement
Using the PL/I Preprocessor in Program Testing
Using % Statements
Invoking the Compiler from an Assembler Routine
OptionList
DDNAMEList
PageNumber
Using the Compiler Listing
HeadingInformation
Options Used for the Compilation
PreprocessorInput
SOURCEProgram
Statement Nesting Level
ATTRIBUTE and Cross-Reference Table
AttributeTable
Cross-ReferenceTable
Aggregate Length Table
StorageRequirements
Statement Offset Addresses
External Symbol Dictionary
ESDEntries
Static Internal Storage Map
ObjectListing
Messages
ReturnCodes
Chapter 2.Using PL/I Cataloged Procedures under MVS
IBM-Supplied Cataloged Procedures
Compile Only (IEL1C)
Compile and Link-Edit (IEL1CL)
Compile, Link-Edit, and Run (IEL1CLG)
Compile, Load and Run (IEL1CG)
Invoking a Cataloged Procedure
Specifying Multiple Invocations
Link-Editing Multitasking Programs
Modifying the PL/I Cataloged Procedures
EXECStatement
DDStatement
Chapter 3.Compiling under MVS
Invoking the Compiler under TSO
Allocating Data Sets
Using the PLI Command
Example1
Example2
CompilerListings
Using %INCLUDE under TSO
Allocating Data Sets in %INCLUDE
Running Jobs in a Background Region
Using JCL during Compilation
DD Statements for the Standard Data Sets
Input (SYSIN or SYSCIN)
Output (SYSLIN, SYSPUNCH)
Temporary Workfile (SYSUT1)
StatementLengths
Listing(SYSPRINT)
Source Statement Library (SYSLIB)
Example of Compiler JCL
SpecifyingOptions
Specifying Options in the EXEC Statement
Compiling Multiple Procedures in a Single Job Step
SIZEOption
NAMEOption
Return Codes in Batched Compilation
Job Control Language for Batched Processing
Examples of Batched Compilations
Correcting Compiler-Detected Errors
|The PL/I Compiler and MVS/ESA
Compiling for CICS
Chapter 4.Compiling under VM
Using the PLIOPT Command
Compiler Output and Its Destination
Compile-TimeOptions
Files Used by the Compiler
PLIOPT Command Options
%INCLUDEStatement
Example of Using %INCLUDE
PLIOPT Command Format
Examples:
Special Action Will Be Required:
PL/I Batched Compilation
Chapter 5.Link-Editing and Running
Selecting Math Results at Link-Edit Time
VM Run-Time Considerations
Separately Compiled PL/I MAIN Programs
Using Data Sets and Files
Using VM Files — Example
Using VSAM Data Sets — Example
Using OS Data Sets — Example
Restrictions Using PL/I under VM
Using Record I/O at the Terminal
PL/I Conventions under VM
Formattingonventions for PRINT Files
Changing the Format on PRINT Files
AutomaticPrompting
Punctuating GET LIST and GET DATA Statements
ENDFILE
DISPLAY and REPLY under VM
MVS Run-Time Considerations
Formatting Conventions for PRINT Files
Punctuating Long Input Lines
SYSPRINTConsiderations
Part 3.Using I/O facilities
Chapter 6.Using Data Sets and Files
Associating Data Sets with Files
Associating Several Files with One Data Set
Associating Several Data Sets with One File
Concatenating Several Data Sets
Establishing Data Set Characteristics
Blocks and Records
RecordFormats
Data Set Organization
Labels
Data Definition (DD) Statement
Associating PL/I Files with Data Sets
Specifying Characteristics in the ENVIRONMENT Attribute
Data Set Types Used by PL/I Record I/O
Chapter7.UsingLibraries
Types of libraries
How to Use a Library
Creating a Library
SPACEParameter
Creating and Updating a Library Member
Examples
Extracting Information from a Library Directory
Chapter 8.Defining and Using Consecutive Data Sets
Using Stream-Oriented Data Transmission
Defining Files Using Stream I/O
Specifying ENVIRONMENT Options
Creating a Data Set with Stream I/O
Accessing a Data Set with Stream I/O
Using PRINT Files with Stream I/O
Using SYSIN and SYSPRINT Files
Controlling Input from the Terminal
Controlling Output to the Terminal
Example of an Interactive Program
Using Record-Oriented Data Transmission
Defining Files Using Record I/O
Creating a Data Set with Record I/O
Accessing and Updating a Data Set with Record I/O
Chapter 9.Defining and Using Indexed Data Sets
IndexedOrganization
Usingkeys
UsingIndexes
Defining Files for an Indexed Data Set
Creating an Indexed Data Set
EssentialInformation
Name of the Data Set
Record Format and Keys
OverflowArea
MasterIndex
Accessing and Updating an Indexed Data Set
Using Sequential Access
Using Direct Access
Reorganizing an Indexed Data Set
Chapter 10.Defining and Using Regional Data Sets
Defining Files for a Regional Data Set
Using Keys with REGIONAL Data Sets
Using REGIONAL(1) Data Sets
Creating a REGIONAL(1) Data Set
Accessing and Updating a REGIONAL(1) Data Set
Using REGIONAL(2) Data Sets
Using Keys for REGIONAL(2) and (3) Data Sets
Creating a REGIONAL(2) Data Set
Accessing and Updating a REGIONAL(2) Data Set
Using REGIONAL(3) Data Sets
Creating a REGIONAL(3) Data Set
Accessing and Updating a REGIONAL(3) Data Set
Essential Information for Creating and Accessing Regional Data Sets
Chapter 11.Defining and Using VSAM Data Sets
Using VSAM Data Sets
How to Run a Program with VSAM Data Sets
VSAMOrganization
Keys for VSAM Data Sets
Choosing a Data Set Type
Defining Files for VSAM Data Sets
PerformanceOptions
Defining Files for Alternate Index Paths
Using Files Defined for non-VSAM Data Sets
CONSECUTIVEFiles
INDEXEDFiles
Using the VSAM Compatibility Interface
Adapting Existing Programs for VSAM
Using Several Files in One VSAM Data Set
Using Shared Data Sets
Defining VSAM Data Sets
Entry-Sequenced Data Sets
Loading an ESDS
Using a SEQUENTIAL File to Access an ESDS
Key-Sequenced and Indexed Entry-Sequenced Data Sets
Loading a KSDS or Indexed ESDS
Using a SEQUENTIAL File to Access a KSDS or Indexed ESDS
Using a DIRECT File to Access a KSDS or Indexed ESDS
Alternate Indexes for KSDSs or Indexed ESDSs
Relative-Record Data Sets
Loading an RRDS
Using a SEQUENTIAL File to Access an RRDS
Using a DIRECT File to Access an RRDS
Chapter 12.Defining and Using Teleprocessing Data Sets
Message Control Program (MCP)
TCAM Message Processing Program (TCAM MPP)
TeleprocessingOrganization
Defining Files for a Teleprocessing Data Set
Writing a TCAM Message Processing Program (TCAM MPP)
Handling PL/I Conditions
TCAM MPP Example
Part 4.Improving your program
Chapter 13.Examining and Tuning Compiled Modules
Activating Hooks in Your Compiled Program Using IBMBHKS
The IBMBHKS Programming Interface
Obtaining Static Information about Compiled Modules Using IBMBSIR
The IBMBSIR Programming Interface
Obtaining Static Information as Hooks Are Executed Using IBMBHIR
The IBMBHIR Programming Interface
Examining Your Program's Run-Time Behavior
Sample Facility 1:Examining Code Coverage
Sample Facility 2:Performing Function Tracing
Sample Facility 3:Analyzing CPU-Time Usage
Expressions
Loops
Arrays and Structures
In-LineCode
Key handling for REGIONAL data sets
Matching Format Lists with Data Lists
Run-time Library Routines
Use of Registers
Program Constructs that Inhibit Optimization
Global Optimization of Variables
ORDER and REORDER Options
Common Expression Elimination
Condition Handling for Programs with Common Expression Elimination
Transfer of Invariant Expressions
Redundant Expression Elimination
Other Optimization Features
Assignments and Initialization
Notes about Data Elements
Notes about Expressions and References
Notes about Data Conversion
Notes about Program Organization
Notes about Recognition of Names
Notes about Storage Control
Notes about Statements
Notes about Subroutines and Functions
Notes about Built-In Functions and Pseudovariables
Notes about Input and Output
Notes about Record-Oriented Data Transmission
Notes about Stream-Oriented Data Transmission
Notes about Picture Specification Characters
Notes about Condition Handling
Notes about multitasking
Part 5.Using interfaces to other products
Chapter 15.Using the Sort Program
Preparing to Use Sort
Choosing the Type of Sort
Specifying the Sorting Field
Specifying the Records to be Sorted
Determining Storage Needed for Sort
Calling the Sort Program
Determining Whether the Sort Was Successful
Establishing Data Sets for Sort
Sort Data Input and Output
Data Input and Output Handling Routines
Passing MAIN Procedure Parameters
OptionsBYVALUE
Descriptors and Locators
AggregateLocator
AreaLocator/Descriptor
ArrayDescriptor
StringLocator/Descriptor
StructureDescriptor
Arrays of Structures and Structures of Arrays
Chapter17.UsingPLIDUMP
PLIDUMP Usage Notes
PreinitializablePrograms
The Interface for Preinitializable Programs
Preinitializing a PL/I Program
Invoking an Alternative MAIN Routine
Using the Service Vector and Associated Routines
User Exits in Preinitializable Programs
The SYSTEM Option in Preinitializable Programs
Calling a Preinitializable Program under VM
Calling a Preinitializable Program under MVS
Chapter 19.Multitasking in PL/I
PL/I Multitasking Facilities
Creating PL/I Tasks
The TASK Option of the CALL Statement
The EVENT Option of the CALL Statement
The PRIORITY Option of the CALL Statement
Synchronization and Coordination of Tasks
Sharing Data between Tasks
Sharing Files between Tasks
Producing More Reliable Tasking Programs
Terminating PL/I Tasks
Dispatching Priority of Tasks
Running Tasking Programs
Sample Program 1:Multiple Independent Processes
Multiple Independent Processes:Nontasking Version
Multiple Independent Processes:Tasking Version
Sample Program 2:Multiple Independent Computations
Multiple Independent Computations:Nontasking Version
Multiple Independent Computations:Tasking Version
Chapter 20.Interrupts and Attention Processing
Using ATTENTION ON-Units
Interaction with a Debugging Tool
Chapter 21.Using the Checkpoint/Restart Facility
Appendix.Sample Program IBMLSO1
Bibliography
PL/I for MVS & VM Publications
Language Environment for MVS & VM Publications
0 of .
Results for:
No results containing your search query
P. 1
IBM-PLI-MVS-VM-ProgGuide

IBM-PLI-MVS-VM-ProgGuide

Ratings: (0)|Views: 17,764|Likes:

More info:

Published by: Dhanunjaya Duriseati on Mar 14, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See More
See less

10/01/2012

pdf

text

original

You're Reading a Free Preview
Pages 12 to 319 are not shown in this preview.
You're Reading a Free Preview
Pages 331 to 380 are not shown in this preview.
You're Reading a Free Preview
Pages 397 to 458 are not shown in this preview.
You're Reading a Free Preview
Pages 470 to 564 are not shown in this preview.

Activity (3)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
Kim Jason liked this

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->