Sign In
Upload
Download
Table of Contents
Contents
Add to my manuals
Delete from my manuals
Share
URL of this page:
HTML Link:
Bookmark this page
Add
Manual will be automatically added to "My Manuals"
Print this page
×
Bookmark added
×
Added to my manuals
Manuals
Brands
IBM Manuals
Computer Hardware
5280
Programmer's manual
Table Of Contents - IBM 5280 Programmer's Manual
Distributed data system, cobol
Hide thumbs
Also See for 5280
:
Manual
(292 pages)
,
Technical newsletter
(178 pages)
,
User's setup manual
(169 pages)
1
2
3
4
5
6
7
Table Of Contents
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
page
of
187
Go
/
187
Contents
Table of Contents
Bookmarks
Table of Contents
Advertisement
Contents
To the COBOL Programmer
iii
Before Using This Guide
iii
Scope of the Guide
iii
Organiza tion of the Guide
iii
Objectives of the Guide
iii
Writing A Work Station Application
iv
Data Communications
iv
Diskette I/O
iv
Printer and Other I/O
iv
Compiling a COBOL Program on the Host System
v
Executing a COBOL Program on an IBM 5280 System
v
Debugging COBOL Programs
v
Related Publications
v
References for Coding and Debugging COBOL Programs
v
Coding Aids for Transaction I/O
v
References for Executing a COBOL Program
v
General References for IBM 5280 System Information
v
Compilation Under OS/VSl
vi
Compilation Under OS/VS2
vi
Compilation Under DOS/VSE
vi
Chapter
1.
Transaction I/O - Introduction
1-1
Defining Display Screens
1-1
Uses of Data Definition Statements
1-1
The Copy Library and Data Definition Statements
1-1
Copying Members
1-2
General Rules for Data Definition Statements
1-2
The COBOL Program and Data Definition Statements
1-2
Steps in Writing an Interactive Program
1-2
The Keyboard
1-5
Command and Function Key Codes
1-5
Function Keys
1-7
Attention
1-7
Auto Dup/Skip
1-8
Auto Enter
1-8
Character Advance
1-8
Character Backspace
1-8
Character Delete
1-9
Character Insert
1-9
Cursor Left
1-9
Cursor Right
1-9
Duplicate
1-10
End-of-Job
1-10
Enter/Record Advance
1-10
Field Advance
1-10
Field Backspace
1-10
Field Exit
1-11
Field Exit Minus
1-11
Hexadecimal
1-12
Record Advance
1-12
Record Backspace
1-12
Reset
1-12
Skip
1-12
System Request
1-13
Chapter 2. Transaction I/O - Screen Definition
2-1
Example of Coding Data Definition Statements
2-1
Coding Conventions
2-9
Primary, Continuation, and Secondary Lines
2-9
Continuation Characters
2-9
Keywords
2-9
Constants
2-10
Comment Statements
2-10
Record Description Statements
2-11
Sequence Number Field (Columns 1 through 5) 2-11
Form Type Field (Column 6)
2-11
Name Type Field (Column 17)
2-11
Record Name Field (Columns 19 through 26)
2-11
Usage Field (Column 38)
2-11
Editing Field (Columns 45 through 80)
2-12
CHECK(DD)
2-12
DSPATR(attributes)
2-13
Field Description Statements
2-15
Sequence Number Field (Columns 1 through 5)
2-15
Form Type Field (Column 6)
2-15
Indicator Field (Columns 9 and 10)
2-15
Field Name Field (Columns 19 through 24)
2-15
Length Field (Columns 30 through 34)
2-16
Data Type Field (Column 35)
2-16
Decimal Positions Field (Column 37)
2-18
Usage Field (Column 38) 2-18
Location Field (Columns 39 through 44)
2-20
Editing Field (Columns 45 through 80)
2-21
CHECK (parameters)
2-21
DSPATR (attributes)
2-22
PMT(message)
2-24
SHIFT(codes)
2-24
Keyword Conflicts and Compatibilities
2-25
Chapter 3. Transaction I/O - Writing the COBOL Program
3-1
Summary of COBOL Transaction I/O Statements
3-1
FILE-CONTROL Paragraph
3-1
OPEN
3-2
WRITE
3-2
READ
3-3
Sequence of Transaction I/O Statements
3-4
Clearing the Screen with WRITE
3-4
CLOSE
3-4
I/O Error Processing
3-4
Status Key
3-4
Coding the Status Key
3-5
Exception/Error Procedures
3-5
Example Using Status Key and ERROR Procedures
3-5
Return Information
3-5
Attribute Data
3-6
Work Station Control Area
3-7
Transaction I/O Examples
3-7
Example - Interactive Entry and Processing
3-7
INDICATOR Example
3-13
Chapter 4. Data Communications Programming With COBOL
4-1
Uses of Data Communications Programs
4-1
Eligible Systems
4-1
COBOL Programs and the Communications Access Method
4-1
COBOL Program Responsibilities
4-2
System Requirements for Communication Programs
4-2
Before Running a Data Communication Program
4-2
Writing COBOL Communication Statements
4-2
Communication Routine Parameters
4-3
Communication Program Example - Explanation
4-3
Open Routine
4-3
Close Routine
4-4
Read Routine
4-5
Write Routine
4-6
Communication Program Example - Listing
4-6
Chapter 5. Diskette Input/Output
5-1
Input-Output Summary
5-1
Contents vii
Previous
Page
Next
Page
1
...
5
6
7
8
9
10
11
12
Advertisement
Table of Contents
Related Manuals for IBM 5280
Storage IBM 5280 Manual
Distributed data system programmable data station maintenance analysis procedures (292 pages)
Desktop IBM 5280 Technical Newsletter
Distributed data system / programmable data station (178 pages)
Storage IBM 5280 User's Setup Manual
Distributed data system (169 pages)
Desktop IBM 5280 User's Setup Procedures
Distributed data system (156 pages)
Desktop IBM 5280 Maintenance Information Manual
Distributed data system, maintenance diskette drive (155 pages)
PCI Card IBM 2943 Manual
Power systems. pci adapter placement for the 8202-e4b, 8202-e4c, 8202-e4d, 8205-e6b, 8205-e6c, or 8205-e6d (78 pages)
Computer Hardware IBM 5075 Setting Up
For as/400e server (49 pages)
Computer Hardware IBM 7311-D11 Removal And Replacement Procedures
(74 pages)
Computer Hardware IBM 5250 User Manual
Express hardware (68 pages)
Computer Hardware IBM Power System 5105-22E Manual
Drive backplane (113 pages)
Computer Hardware IBM 9223-22S Manual
(150 pages)
Computer Hardware IBM 55PUS8118 SCSI-2 Installation Manual
Fast/wide single-ended adapter (42 pages)
Computer Hardware IBM 5291 Operator's Manual
Display station (79 pages)
Computer Hardware IBM 5410 Maintenance Manual
Processing unit (118 pages)
Computer Hardware IBM 5247 Setup Instructions
(30 pages)
Computer Hardware IBM 5444 Manual
Disk storage drive field engineering theory-maintenance (97 pages)
Related Content for IBM 5280
3725 Link Not Defined In Ipl Port Table
IBM 3725
5444 Conversion Table - Inches Into Millimeters And Centimeters
IBM 5444
2025 Mcs Table--Utility Program
IBM 2025
7133 D40 The Srn Table
IBM 7133 D40
M791 Series Package Contents
IBM M791 Series
M789 Series Package Contents
IBM M789 Series
4764 Contents Of The Coprocessor Package
IBM 4764
4767 Contents Of The Coprocessor Package
IBM 4767
PCI Cryptographic Coprocessor Contents Of The Coprocessor Package
IBM PCI Cryptographic Coprocessor
4381 70:45 Programming Systems Support Table
IBM 4381
International ISDN Appendix A: Package Contents
IBM International ISDN
PowerPC 604 Page Table Control Bits
IBM PowerPC 604
A2 Hardware Page Table Walking (Category E.pt)
IBM A2
Power7 Page Table Sizes For Lpars
IBM Power7
PowerPC 405GP Processor Register Contents After Reset
IBM PowerPC 405GP
Power System 5105-22E Table Of Contents
IBM Power System 5105-22E
Table of Contents
Print
Rename the bookmark
Delete bookmark?
Delete from my manuals?
Login
Sign In
OR
Sign in with Facebook
Sign in with Google
Upload manual
Upload from disk
Upload from URL