Skip to main content

Problem:

The demonstration shows the four methods of specifying directives to the Cobol compiler("cob" ccommand)

Resolution:

BUILD W/RELEASE:     Any version of Server Express or Object Cobol Developer Suite

INTRODUCTION

==========

The demonstration shows the four methods of specifying directives to the Cobol compiler ("cob" command)

SOURCE FILES:

==========

Note: All required files are in copydemo.tar

Program Files       Description

----------------       -----------------------------------------------------------=   

picpy*.cbl            Slightly modified versions of $COBDIR/demo/debug/pi.cbl

Copy Files:

----------------       -----------------------------------------------------------

COPYFILE.CPY    A set of comments to be copied into the modified source above.

REQUIREMENTS:

==========

Any Micro Focus Unix Cobol product.  This demonstration is not directly usable in Net Express.  However, it is possible to write a DOS batch file which is functionally equivalent to the Unix script copydemo.

OPERATION:

========

Untar copydemo.tar to a directory in which you have write permission.

./copydemo  will compile four different examples of application of the COPYEXT directive.  The listing files, (picpy*.lst) will show the expanded copy member.

REFERENCES

========

Server Express (or Object Cobol Developer Suite) manual "User's Guide", Part "COBOL System Interface".

See also KnowledgeBase item 21616 and January 2006 SupportLine Newsletter.

==========================================================

Keywords: Example, sample, demo, demonstration, UNIX, direct.zip

demo.ex

demo.se

Attachments:

direct.zip

Old KB# 3685