Transcription of User's Guide - Fujitsu Japan
1 B1WD-3306-01 ENZ0(00)March 2014 Windows(64) Fujitsu SoftwareNetCOBOL 's GuidePrefaceNetCOBOL allows you to create, execute, and debug COBOL programs with Windows. This manual describes, in detail, the functionsand operations of NetCOBOL and how to use NetCOBOL with other languages, databases and does not detail COBOL syntax. Refer to the NetCOBOL Language Reference for details on COBOL to "NetCOBOL Messages" for details on messages generated by the compile commands, the COBOL compiler, the COBOL runtimesystem and the COBOL Error Report. AudienceThis manual is for users who develop COBOL programs using NetCOBOL.
2 It assumes users possess a basic knowledge of COBOL andare familiar with the appropriate Windows manual provides an introduction to OO programming concepts so that those who have no prior OO programming experience canlearn OO COBOL. How this Manual is OrganizedThis manual consists of the following chapters and appendixes: ChapterContentsChapter 1 Overview of NetCOBOLD escription of the operating environment and functions 2 Creating and Editing a ProgramIntroduction to the options and tools for writing a COBOL 3 Compiling ProgramsHow to compile COBOL programs: required resources, supportingtools, command formats and 4 Linking ProgramsHow to link COBOL programs.
3 Required resources, supporting tools,command formats and 5 Executing ProgramsHow to execute a COBOL program and configure its run 6 File ProcessingDescriptions of file structures and how to use 7 PrintingDetails of the techniques provided for printing documents 8 Using ScreensMethods of how to display data to, and accept data from, 9 Calling Subprograms (Inter-ProgramCommunication)How to call subprograms from a COBOL program, including C, C++and 10 Using ACCEPT and DISPLAY StatementsHow to use ACCEPT and DISPLAY statements for: simplified fileinput-output, obtaining command line arguments, andenvironment variable 11 Using SORT/MERGE Statements (Sort-Merge Function)
4 How to use the Sort and Merge 12 System Program FunctionsDescription of specialist functions useful to those creating 13 Introduction to Object-OrientedProgrammingOverview of the goals and concepts behind the OO extensions 14 Basic Features of OO COBOLD escriptions of the basic OO COBOL features and how to use 15 Developing OO COBOL ApplicationsTechniques and tools for developing OO COBOL 16 Advanced Features of OO COBOLD etails of the more advanced features of OO COBOL- i -ChapterContentsChapter 17 Database (SQL)How to code and configure the environment for remote 18 Server Type ApplicationsExplains the background processing function and the Web linkagefunction.
5 The Web linkage function is unique to the 19 Multithread ProgramsDescription of the multi-thread program. The multi-threadfunction is unique to the server 20 UnicodeHow to create a COBOL application operating in 21 Operation of Comma Separated ValuedataHow to operate the Comma Separated Value 22 Remote Development Support FunctionDescribes the remote distributed development support functionAppendix A Compiler OptionsDetails of the NetCOBOL compiler B I-O Status ListThe values and meanings of the I-O status codes returned fromthe execution of input-output C Global OptimizationOptimizations performed by the NetCOBOL D Intrinsic Function
6 ListList of all the COBOL intrinsic functions supported by E Writing Special LiteralsDetails of literals for F OSIV-series Function ComparisonCompares the functions available with the GS- series G Special Windows SubroutinesDescription of subroutines for receiving Windows H Incompatible Syntax BetweenStandard and OO COBOLL ists of earlier standard COBOL features that cannot be used withOO I Other CommandsDescription of the DUMPBIN command used to extract informationfrom object J Character Code-typesGives an overview of the character K SecurityGives an overview of security issues you should be aware L COBOL coding techniquesDescribes COBOL program coding techniques.
7 Conventions Used in this ManualThis manual uses the following typographic conventions. Example of ConventionDescriptionsetupCharacters you enter appear in text indicates a placeholder for information capital letters are used for the name of keys and keysequences such as ENTER and CTRL+R. A plus sign (+)indicates a combination of indicate the item immediately preceding can bespecified , LiteralNames of pull down menus and options appear with theinitial letter capitalized.[def]Indicates that the enclosed item may be ii -Example of ConventionDescription{ ABC } or{ABC|DEF}DEFI ndicates that one of the enclosed items (delimited by |) isto be selected.
8 If items are omitted the underlined item PASCAL LINKAGEALLPARAGRAPH-IDCOBOLALLC ommands, statements, clauses, and options you enter orselect appear in uppercase. Program section names, andsome proper names also appear in uppercase. Defaults DIVISION : ADD 1 TO POW-FONTSIZE OF LABEL1. IF POW-FONTSIZE OF LABEL1 > 70 THEN MOVE 1 TOW POW-FONTSIZE OF LABEL1. font is used for examples of program sheet acts as an application creation are occasionally used for emphasis."COBOL Language Reference"Refer to "Chapter 5 Compile Options".References to other publications or sections withinpublications are in quotation have tried to make all of our examples position-sensitive.
9 However, given the restrictions of the size of the page, in some exampleswe have not been able to accomplish this. You should be aware that NetCOBOL is a position-sensitive language, unless you specifythat your source is free format by using the SRF compiler term national language or national in this manual indicates double byte character languages, such as Japanese, Korean, orChinese. Functions that are only available in the national language version of this system are indicated by [*XXXXXX*]. Product Names Product NameAbbreviationMicrosoft Windows Server 2012 R2 DatacenterMicrosoft Windows Server 2012 R2 StandardMicrosoft Windows Server 2012 R2 EssentialsMicrosoft Windows Server 2012 R2 FoundationWindows Server 2012 R2 Microsoft Windows Server 2012 DatacenterMicrosoft Windows Server 2012 StandardMicrosoft Windows Server 2012 EssentialsMicrosoft Windows Server 2012 FoundationWindows Server 2012 Microsoft Windows Server 2008 R2 FoundationMicrosoft Windows Server 2008 R2 StandardMicrosoft Windows Server 2008 R2
10 EnterpriseMicrosoft Windows Server 2008 R2 DatacenterWindows Server 2008 R2 Windows (x64)- iii -Product NameAbbreviationWindows ProWindows EnterpriseWindows 8 Windows 8 ProWindows 8 EnterpriseWindows 8(x64)Windows 7 Home PremiumWindows 7 ProfessionalWindows 7 EnterpriseWindows 7 UltimateWindows 7(x64)Microsoft(R) Visual C++(R) development systemVisual C++Microsoft(R)Visual Basic(R) programming systemVisual BasicOracle SolarisSolaris-In this manual, when all the following products are indicates, it is written as "Windows" or "Windows(x64)".