Professional Documents
Culture Documents
DOC File
============================< CONTENTS
>==================================
INTRODUCTION
GENERAL CHANGES
DOCUMENTATION CORRECTIONS
Getting Started
COBOL Programming for Windows
Compatibility Guide
Environment and Tools
Language Reference
System Reference
User Guide
=========================================================================
INTRODUCTION
============
These Documentation Update Notes detail known problems in
and additions to your COBOL manuals. You may want to mark
the changes in your manuals.
=========================================================================
GENERAL CHANGES
===============
=========================================================================
DOCUMENTATION CORRECTIONS
=========================
Getting Started
---------------
Chapter 3 (Configuring Your System)
o Page 17
In the "Understanding Memory Requirements" section,
replace the sentence that begins "To run CodeView,
LINK, or CVPACK ..." with the following:
o Page 17
After the bulleted list at the top of the page, add
this paragraph:
Compatibility Guide
-------------------
Chapter 9 (Running convert3)
o Page 79
Add the following option to the list in the section "File
Details":
o Page 93
Add the following new parameter to the list in the section
"The Parameter File":
COMP6-COMP
o Page 86
Add the following after the section "The Run Parameter":
COMP6-COMP Y/N
where:
The default is Y.
o Page 86
Under the procedure heading "> To create a batch file
that copies the COBOL files to a subdirectory:", in
step number 4, change the regular expression:
Ctrl-P, Tab
o Page 389
In the table for the X(Examine Symbols) command, only the
M & P scopes are relevant to COBOL. The other scopes
do not apply because of the nature of the COBOL language.
Language Reference
------------------
Volume 1, Chapter 2 (COBOL Concepts)
o Page 77
Under the "Continuation of Lines" section in the second
paragraph, the last sentence says:
o Page 277
Replace syntax rule 9 of the EXIT statement with the
following:
System Reference
----------------
Chapter 2 (ADIS)
o Pages 40 and 41
In the example that starts at the end of page 40
and continues to the top of page 41, change the
following:
Chapter 4 (Animator)
o Page 77
At the top of the page, in the first full paragraph,
delete this sentence:
o Page 129
In the section "Data Compression", 2nd paragraph, delete
the sentence:
o Page 130
In the first line of the example program at the top of
the page, change "$set datacompress" to:
o Page 131
In the section "The XFH2BTR Call Converter", replace the
sentence that begins "The XFH2BTR call converter is
compatible with ..." with the following text:
o Page 132
In the section "The XFH2BTR Call Converter", after the
paragraph that starts "When the converter needs to
call ....." and ends "...with Extended Memory Manager (XM)."
add the following:
Note: You can call the module _BTRV direct from
a COBOL program using the same parameters that are
used in Btrieve API calls. However, the "key buffer"
parameter must be at least 255 bytes long.
o Page 133
In the section "The Filetype Compiler Directive."
When using Btrieve to access information on a server,
if the current working drive is not mapped to the server
that you are using, the file specification must include
the server path (drive letter).
Chapter 7 (Compiler)
o Page 166
In the section "Redirection of Compiler Output", add the
following:
o Page 167
In the section "Error Codes Returned by the Compiler", add
the following.
Chapter 9 (H2CPY)
o Page 184
Do not use H2CPY on WINDOWS.H. The WINDOWS.78 and
WINDOWS.CPY files are provided in \cobol\samples\windows
as correct conversions of WINDOWS.H.
o Page 184
Add the following new H2CPY options:
where:
o Page 185
Insert the following immediately before the section
"Converting C Statements":
Split78
-------
split78 <inputfile>
where:
o Page 223-224
In the table indicating the portability of call-by-name
routines, delete the asterisk (*) from the LCOBOL
column in the entries for the following routines:
- CBL_COPY_FILE
- CBL_LOCATE_FILE
o Page 230
Do NOT use the mouse support Library Routine
CBL_TERM_MOUSE under PWB for builds using Shared Runtime
System (this call is handled by the runtime system).
Use of this call under PWB may cause your system to hang..
o Page 235
The parameter list for the call-by-name function
CBL_ALLOC_MEM is incorrect and should include the
parameter RETURNING status-code. If this parameter is
not used, the special register RETURN-CODE contains
the return value.
o Page 236
Add the following for CBL_ALLOC_MEM:
o Page 244
In the CBL_EXIT_PROC section, under the "Parameters:"
heading in the second column, change "USAGE PROCEDURE
POINTER" to:
"USAGE PROCEDURE-POINTER"
o Page 249
In the description of the CBL_GET_OS_INFO routine, change
the definition of the parameter-size variable from:
to:
parameter-size PIC X(2) COMP-X VALUE 14.
o Page 307
In the routine CALL x"A7", replace the word "SACE"
in this sentence:
o Page 335
Add the following new section
Chapter 20 (XM)
o Page 445
In the last sentence of the first paragraph in the
"Overview" section, change "To use XM you need at
least 1.5 megabytes (1.5 MB) of memory." to:
o Page 448
In the "Operation" section, at the end of the second
paragraph, add this note:
PAGE CHANGE
---- -------------------------------------------------------
--
513 the default for the ADV directive is NOADV.
537 DETECTLOCK can be spelled with a hyphen, thus: DETECT-
LOCK
552 HIDEMESSAGE can be spelled with a hyphen, thus: HIDE-
MESSAGE
561 the default for the LISTWIDTH directive is LISTWIDTH
"80"
596 SETTING directive can be spelled as SETTINGS
611 WARNING can be spelled as WARNINGS
612 WRITELOCK can be spelled with a hyphen, thus: WRITE-
LOCK
o Page 554
In the description of the IBMCOMP directive, remove the
paragraph that begins "When you query a data item ...".
o Page 554
In the description of the IBMCOMP directive, replace each
occurrence of "USAGE COMP" with "USAGE COMP or USAGE COMP-5".
o Page 560
Change the $SET entry for the LIST directive from:
Initial
to:
o Page 588
Add the following text to the description of the REGPARM
directive:
o Page 598
Add the following text to the description of the
SIGNCOMPARE directive:
o Page 611
In the description of the VSC2 directive, change the line
describing the effect of specifying integer as 3 from:
o Page 611
In the description of the VSC2 directive, add the
following to the list of possible values for integer:
o Page 613
Replace the existing description of XOPEN with the
following:
XOPEN
Syntax:
>>-------------------XOPEN---"level"----------------><
| | | |
--/-- ---------XOPEN-----------------
| |
--NO--
Parameters:
Default: NOXOPEN
$SET: Initial
User Guide
----------
Chapter 2 (Developing COBOL Applications)
o Page 20
In the "Examples" section, change "XM MYPROG.EXE, NEWPROG"
to:
procedure division.
call "_CPROG"
o Page 78
Add the following restriction.
- _outtext
- _outmem
- _floodfill
- any routine that uses floodfill where you specify
the _GFILLINTERIOR option, namely _ellipse and _pie