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
2Activity
×

Table Of Contents

Chapter 1.COBOL Language Structure
Characters
Character-Strings
COBOLWords
User-DefinedWords
System-Names
Keywords
OptionalWords
SpecialCharacters
FigurativeConstants
SpecialRegisters
Literals
BooleanLiterals
NonnumericLiterals
NumericLiterals
PICTURECharacter-Strings
Comments
Separators
Rules for Separators
Sections and Paragraphs
Reference Format
Entries
Clauses
Sentences
Statements
Phrases
ReferenceFormat
Sequence Number Area (Columns 1 through 6)
Indicator Area (Column 7)
Area A (Columns 8 through 11)
DivisionHeader
SectionHeader
Paragraph Header or Paragraph Name
Level Indicator (FD and SD) or Level-Number (01 and 77)
DECLARATIVES and END DECLARATIVES
Area B (Columns 12 through 72)
Entries, Sentences, Statements, Clauses
ContinuationLines
Area A or Area B
Level-Numbers
CommentLines
DebuggingLines
BlankLines
Pseudo-Text
Methods of Data Reference
Qualification
References to Data Division Names
References to Procedure Division Names
References to COPY Libraries
QualificationRules
ReferenceModification
Evaluation of Operands
RangeErrors
Restrictions on Reference Modification
Subscripting
Data Attribute Specification
Transfer of Control
Identification Division
Chapter 2.COBOL Program Structure
IdentificationDivision
PROGRAM-ID Paragraph
PROGRAM-IDParagraph
Optional Paragraphs
OptionalParagraphs
Environment Division—Configuration Section
SOURCE-COMPUTER Paragraph
SOURCE-COMPUTERParagraph
OBJECT-COMPUTERParagraph
SPECIAL-NAMESParagraph
CodingExample
ALPHABETClause
CLASSClause
DECIMAL-POINT Clause
CURRENCY SIGN Clause
DECIMAL-POINTClause
CONSOLEClause
CURSORClause
CURSOR Clause Considerations
CRT STATUS Clause
CRT STATUS Clause Considerations
Chapter 3.Environment Division—Input-Output Section
FileCategories
DatabaseFiles
DeviceFiles
DDMFiles
SaveFiles
Paragraphs
FILE-CONTROLParagraph
SELECT Clause
SELECTClause
ASSIGNClause
RESERVE Clause
RESERVEClause
ORGANIZATION Clause
ORGANIZATIONClause
ACCESS MODE Clause
Data Organization and Access Modes
DataOrganization
AccessModes
RECORD KEY Clause
RELATIVE KEY Clause
FILE STATUS Clause
Data Division Structure
FileSection
Working-StorageSection
LinkageSection
ADDRESSOF
ADDRESS OF Special Register
DataTypes
File Data (External Data)
Program Data (Internal Data)
DataRelationships
Levels of Data
Levels of Data in a Record Description Entry
SpecialLevel-Numbers
Indentation
Classes and Categories of Data
AlignmentRules
Standard Data Format
Character-String and Item Size
SignedData
OperationalSigns
EditingSigns
Chapter 5.Data Division—File and Sort Description Entries
BLOCK CONTAINS Clause
RECORD CONTAINS Clause
Chapter 6.Data Division—Data Description Entry
level-number
BLANK WHEN ZERO Clause
JUSTIFIED Clause
JUSTIFIEDClause
LIKEClause
Rules and Restrictions
Examples
OCCURSClause
Table Handling Concepts
Table Handling Considerations
TableDefinition
TableReferences
Fixed-LengthTables
ASCENDING/DESCENDING KEY Phrase
INDEXED BY Phrase
Variable-LengthTables
OCCURS DEPENDING ON Clause
Subscripting Using Integers or Data-Names
Subscripting Using Index-Names (Indexing)
Restrictions on Subscripting
PICTUREClause
Symbols Used in the PICTURE Clause
Character-StringRepresentation
Data Categories and PICTURE Rules
PICTURE Clause Editing
Simple Insertion Editing
Special Insertion Editing
Fixed Insertion Editing
Floating Insertion Editing
Zero Suppression and Replacement Editing
REDEFINESClause
REDEFINES Clause Considerations
REDEFINES Clause Examples
UndefinedResults
RENAMESClause
SIGNClause
SYNCHRONIZEDClause
USAGEClause
ComputationalItems
DISPLAYPhrase
INDEXPhrase
PointerAlignment
VALUEClause
Chapter7.ProcedureDivision
The Procedure Division Header
The USING Phrase
Declaratives
Procedures
Sample Procedure Division Statements
ArithmeticExpressions
ArithmeticOperators
ConditionalExpressions
SimpleConditions
ClassCondition
Condition-NameCondition
RelationCondition
SignCondition
Switch-StatusCondition
ComplexConditions
Negated Simple Conditions
CombinedConditions
A negated simple-condition
A combined condition
Abbreviated Combined Relation Conditions
StatementCategories
ImperativeStatements
ConditionalStatements
Delimited Scope Statements
Explicit Scope Terminators
Implicit Scope Terminators
Compiler-DirectingStatements
StatementOperations
CommonPhrases
CORRESPONDINGPhrase
GIVINGPhrase
ROUNDEDPhrase
SIZE ERROR Phrases
ArithmeticStatements
Arithmetic Statement Operands
Data Manipulation Statements
Input-OutputStatements
Common Processing Facilities
DB-FORMAT-NAME Special Register
Procedure Branching Statements
Chapter 8.Procedure Division Statements
ACCEPTStatement
DataTransfer
System Information Transfer
DATE, DAY, and TIME
Feedback
Local Data Area
Format 5 Considerations
AttributeData
Attribute Data Formats
WorkstationI/O
ATPhrase
FROM CRT Phrase
MODE IS BLOCK Phrase
ON EXCEPTION Phrases
END-ACCEPTPhrase
WITHPhrase
AUTO (AUTO-SKIP) Phrase
BELL (BEEP) Phrase
BLINKPhrase
FULL (LENGTH-CHECK) Phrase
HIGHLIGHTPhrase
REQUIRED (EMPTY-CHECK) Phrase
REVERSE-VIDEOPhrase
SECURE (NO-ECHO) Phrase
UNDERLINEPhrase
RIGHT-JUSTIFYPhrase
SPACE-FILLPhrase
TRAILING-SIGNPhrase
UPDATEPhrase
ZERO-FILLPhrase
Phrases Syntax Checked Only
Format 7 Considerations
Extended ACCEPT and Extended DISPLAY Considerations
Number of Files
Storage
ScreenFormat
ReservedWords
ReleaseAvailability
Subscripting and Reference Modification
Performance
DBCSProcessing
Combinations of Phrases
Display File QDLBACCDSP
RemoteWorkstations
Differences from COBOL/2 Processing
ACQUIREStatement
ADDStatement
CORRESPONDING Phrase (Format 3)
END-ADDPhrase
ALTERStatement
SegmentationInformation
CALLStatement
BY REFERENCE Phrase
BY CONTENT Phrase
ON EXCEPTION Phrase
NOT ON EXCEPTION Phrase
ON OVERFLOW Phrase
END-CALLPhrase
Program Termination Statements
CALL Statement Considerations
Call by Identifier
Length of Parameters
OS/400 Graphics Support
CANCELStatement
CLOSEStatement
CLOSE Statement Considerations
DELETE Statement Considerations
DISPLAYStatement
Format 3 – Extended DISPLAY Statement
UPON CRT/CRT-UNDER Phrase
The BLANK Phrase
SIZEPhrase
Phrases that are Syntax Checked Only
Format 3 Considerations
DIVIDEStatement
REMAINDERPhrase
END-DIVIDEPhrase
DROP Statement
DROPStatement
ENTER Statement
ENTERStatement
EVALUATEStatement
Altered GO TO
IFStatement
END-IFPhrase
TransferringControl
Nested IF Statements
INITIALIZEStatement
REPLACINGPhrase
INITIALIZE Statement Rules
INSPECTStatement
ComparisonRules
INSPECTExample
TALLYING Phrase (Formats 1 and 3)
REPLACING Phrase (Formats 2 and 3)
BEFORE and AFTER Phrases (All Formats)
CONVERTING Phrase (Format 4)
INSPECT Statement Examples
MERGEStatement
COLLATING SEQUENCE Phrase
USINGPhrase
OUTPUT PROCEDURE Phrase
MOVEStatement
ElementaryMoves
GroupMoves
WHEN-COMPILED Special Register
MULTIPLYStatement
END-MULTIPLYPhrase
OPENStatement
TransactionFiles
OPEN Statement Considerations
OPEN Statement Notes
PERFORMStatement
Basic PERFORM Statement
PERFORM with TIMES Phrase
PERFORM with UNTIL Phrase
PERFORM with VARYING Phrase
VaryingIdentifiers
Varying More Than Three Identifiers
Varying Phrase Rules
READStatement
Sequential Access Mode
Random Access Mode
Dynamic Access Mode
Multiple Record Processing
MultivolumeFiles
READ Statement Considerations
READ Statement Notes
RELEASE Statement
RELEASEStatement
RETURNStatement
AT END Phrases
END-RETURNPhrase
REWRITEStatement
Reusing a Logical Record
REWRITE Statement Considerations
SequentialFiles
IndexedFiles
RelativeFiles
TransactionFormat
ROLLBACKStatement
SEARCHStatement
AT END/WHEN Phrases
END-SEARCHPhrase
SerialSearch
VARYINGPhrase
WHENPhrase
BinarySearch
Search Statement Considerations
SEARCHExample
SETStatement
Format1:TOPhrase
Format 2:UP BY/DOWN BY Phrase
Format3:ON/OFFPhrase
Format 4:TO TRUE Phrase
Format 5:Pointer Data Item
SORTStatement
DUPLICATESPhrase
INPUT PROCEDURE Phrase
STARTStatement
KEYPhrase
INVALID KEY Phrase
END-STARTPhrase
START Statement Considerations
STOPStatement
STRINGStatement
DELIMITED BY Phrase
INTOPhrase
POINTERPhrase
ON OVERFLOW Phrases
END-STRINGPhrase
DataFlow
STRING Statement Example
SUBTRACTStatement
END-SUBTRACTPhrase
UNSTRINGStatement
TALLYING IN Phrase
END-UNSTRINGPhrase
UNSTRING Statement Example
WRITEStatement
ADVANCINGPhrase
END-OF-PAGEPhrase
END-WRITEPhrase
Indexed and Relative Files
WRITE Statement Considerations
Chapter9.Compiler-DirectingStatements
*CONTROL (*CBL) Statement
*CONTROL (*CBL) and the COPY Statement
COPYStatement
SUPPRESSPhrase
Replacement and Comparison Rules
Format 2 Considerations
GeneralNotes
Data Structures Generated
Format (Record) Level Structures
Data Field Structures
IndicatorStructures
INDICATOR Attribute of the Format 2 COPY Statement
Generation of I-O Formats
Redefinition of Formats
Additional Notes on Field and Format Names
Floating Point Fields
Date, Time, and Timestamp Fields
Variable-lengthFields
EJECTStatement
SKIP1/2/3Statements
TITLEStatement
USEStatement
USE Statement Programming Notes
USE FOR DEBUGGING
Appendix A.COBOL/400 Compiler Limits
Appendix B.Summary of IBM Extensions
Character-StringConsiderations
EnvironmentDivision
DataDivision
ProcedureDivision
COPY Statement–All Divisions
Appendix C.Intermediate Result Fields
Compiler Calculation of Intermediate Results
Appendix D.EBCDIC and ASCII Collating Sequences
EBCDIC Collating Sequence
ASCII Collating Sequence
Appendix E.COBOL/400 Reserved Word List
Appendix F.File Structure Support Summary and Status Key Values
File Status Key Values and Meanings
OPEN-FEEDBACK and I-O-FEEDBACK Data Areas
OPEN-FEEDBACK
I-O-FEEDBACK
Appendix G.PROCESS Statement, PICTURE Symbols, ASSIGN Clause
PROCESSStatement
Assignment-Names in the ASSIGN Clause
Appendix H.SAA COBOL Compiler Options
Appendix I.ACCEPT/DISPLAY and COBOL/2 Considerations
Bibliography
Index
0 of .
Results for:
No results containing your search query
P. 1
COBOL400

COBOL400

Ratings: (0)|Views: 6,220|Likes:
Published by Pratik Devghare

More info:

Published by: Pratik Devghare on Jul 28, 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

07/28/2011

pdf

text

original

You're Reading a Free Preview
Pages 11 to 92 are not shown in this preview.
You're Reading a Free Preview
Pages 103 to 121 are not shown in this preview.
You're Reading a Free Preview
Pages 132 to 260 are not shown in this preview.
You're Reading a Free Preview
Pages 271 to 289 are not shown in this preview.
You're Reading a Free Preview
Pages 300 to 547 are not shown in this preview.

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)//-->