Top
NetCOBOL V11.0 J Adapter Class GeneratorUser's Guide
FUJITSU Software

Preface

The "NetCOBOL J Adapter Class Generator" is a tool that generates a COBOL class (adapter class) used to call a Java class. Using the adapter class thus generated makes the Java class library available from COBOL.

A Java runtime environment must be installed to execute the generator or the adapter class generated. See "1.4 Preparation" for required products.

Purpose of This Manual

This manual provides information on how to enable COBOL programs to use Java classes. The information includes the ways of creating adapter classes, writing programs, and running the programs.

Refer to the "NetCOBOL Language Reference" for the COBOL syntax. For information on how to develop programs using Fujitsu NetCOBOL, refer to the "NetCOBOL User's Guide".

Intended Readers

This manual is intended for persons who develop COBOL programs using Java classes.

Prerequisites

Readers are required to have the following knowledge to read this manual:

Organization of This Manual

This manual consists of the following chapters:

Chapter 1. Outline of J Adapter Class Generator

Chapter 1 explains the function and operating environment of the J adapter class generator.

Chapter 2. J Adapter Class Generator Framework

Chapter 2 explains the framework of the J adapter class generator.

Chapter 3. Developing Programs

Chapter 3 explains how to develop programs that uses Java classes.

Chapter 4. Using the Generator Command

Chapter 4 explains how to use the generator command (java2cob).

Chapter 5. Adapter Class Reference

Chapter 5 provides detailed information on the FJ-JAVA-BASE, FJ-JAVA-CONTROL and FJ-JAVA-ERROR classes provided by the J adapter class generator, and adapter classes generated by the J adapter class generator.

Appendix A. Message List

Appendix A explains the messages output by the J adapter class generator, including the operator responses to the messages.

Appendix B. Exception Type List

The Appendix B describes the types of exception generated by the J adapter class generator and their remedial measures.

How to Use This Manual

When using the J adapter class generator for the first time, begin to read from Chapter 1. Chapter 1 provides an outline of the J adapter class generator, Chapter 2 explains the framework, and Chapter 3 explains the procedures from development to execution.

Chapters 4 and 5 provide detailed information on how to use commands and classes. Read these chapters for program development.

The Appendix A describes the messages that are output form the J adapter class generator and the Appendix B describes the exception types that the J adapter class generator sets. Read them as necessity requires.

Product Names

Product Name

Abbreviation

Microsoft® Windows Server® 2012 R2 Datacenter

Microsoft® Windows Server® 2012 R2 Standard

Microsoft® Windows Server® 2012 R2 Essentials

Microsoft® Windows Server® 2012 R2 Foundation

Windows Server 2012 R2

Microsoft® Windows Server® 2012 Datacenter

Microsoft® Windows Server® 2012 Standard

Microsoft® Windows Server® 2012 Essentials

Microsoft® Windows Server® 2012 Foundation

Windows Server 2012

Microsoft® Windows Server® 2008 R2 Foundation

Microsoft® Windows Server® 2008 R2 Standard

Microsoft® Windows Server® 2008 R2 Enterprise

Microsoft® Windows Server® 2008 R2 Datacenter

Windows Server 2008 R2

Windows® 8.1

Windows® 8.1 Pro

Windows® 8.1 Enterprise

Windows 8.1

Windows® 8

Windows® 8 Pro

Windows® 8 Enterprise

Windows 8

Windows® 7 Home Premium

Windows® 7 Professional

Windows® 7 Enterprise

Windows® 7 Ultimate

Windows 7

Microsoft Windows products listed in the table above are referred to in this manual as "Windows".

Registered Trademarks

The registered trademarks appearing in this manual are as follows:

Microsoft, Windows, and Windows Server are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries.

Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Solaris might be described as Solaris, Solaris Operating System, or Solaris OS.

The contents of this manual may be revised without prior notice. No part of this document may be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without the express written permission of Fujitsu Limited.

Export Regulation

Exportation/release of this document may require necessary procedures in accordance with the regulations of your resident country and/or US export control laws.


August 2015

Copyright 1996-2015 FUJITSU LIMITED