Before You Begin

This section contains information you should read before installing Natural Business Services or Natural Construct.

Note:
When installing both products, you must install Natural Construct before installing Natural Business Services.

This section covers the following topics:


Prerequisites

This section describes the software requirements for Natural Business Services and Natural Construct on mainframe platforms. The following topics are covered:

Natural Business Services

This section describes the software prerequisites for installing the Business Service Administration subsystem on the mainframe. This documentation assumes you are installing Natural Business Services for the first time.

To use the online job submission features, the NATRJE module must be installed and operational (see your Natural Installation and Operations documentation).

Before installing Natural Business Services, the following products must be installed on your server:

  • Natural Version 8.2 including Natural RPC Server

  • Natural Security Version 8.2 (optional)

  • Natural Construct Version 8.2.1

  • EntireX Version 8.2 or higher

  • Adabas Version 8.2 or higher

  • NaturalONE Version 8.3.1 or higher

Natural Construct

Natural Construct Version 8.2 is compatible with the following Software AG products and versions:

  • Natural Version 8.2

  • Natural Business Services Version 8.2

  • Adabas Version 8.2 or higher

  • Predict Version 8.2 or higher

Note:
If you are creating business services from existing Natural subprograms, Predict is not required. Predict, however, allows Natural Construct to use its relationships, views, verification rules, and field attributes (such as column headings, edit masks, and business data types) to generate consistent code.

The Natural Construct installation tape includes sample JCL for the installation (see the CSTnnn.JOBS data set).

This guide assumes you are installing Natural Construct for the first time or upgrading from Natural Construct Version 5.3. If you are upgrading from any other version, read the release notes and installation guides for all versions between your current version and Version 5.3 and perform the required procedures.

As some components of Natural Construct require access to the Software AG editor, ensure that the editor is fully installed and operational. To use the online job submission features, you must also ensure that the NATRJE module is fully installed and operational. For information about the editor or NATRJE module, see your Natural installation and operations documentation.

Operating Environments

This section describes the operating environments for Natural Business Services and Natural Construct on mainframe platforms. The following topics are covered:

Operating Systems

The Business Service Administration subsystem Version 8.2 and Natural Construct function in any environment that supports Natural Version 8.2, including the following operating systems:

  • z/OS

  • z/VSE

TP Monitors

Like Natural, the Business Service Administration subsystem and Natural Construct run under the following teleprocessing monitors:

  • CICS

  • Com-plete

  • IMS/DC

  • TSO

Natural Construct Environments

This section describes the data structures accessed by Natural Construct-generated applications, the compatible Natural software systems, and the use of Natural Security. The following topics are covered:

Data Access

Natural Construct generates applications that access the following data structures:

  • Adabas

  • DB2

  • SQL/DS

  • VSAM

  • DL/1

You can also create your own models to access other data structures.

Natural Software Systems

Natural Construct operates in conjunction with any Natural software system, including:

  • Natural Security

  • Natural ISPF

  • Predict Version 8.2 or higher

  • Entire Connection

  • Natural Process

  • Natural Business Services Version 8.2

Natural Security

Access to Natural Construct is protected by Natural Security facilities. Natural Construct-generated modules operate within, and are controlled by, the Natural Security system.

Data Set Naming Conventions

The Business Service Administration subsystem and Natural Business Services installation tapes use a data set naming convention that identifies the product, version number, release number, system maintenance level, and data set type. For example, the Natural Business Services installation tape includes the following data set:

NBSnnn.INPL

This data set name consists of the following components:

Component Description
NBS Product code (NBS for Natural Business Services or CST for Natural Construct)
n Version number
n Release number
n System maintenance level
INPL Data set type

System Maintenance Aid (SMA)

To install Software AG products, use the installation jobs. You can either create these jobs manually using JCL or use System Maintenance Aid (SMA).

Notes:

  1. If you are not using SMA, the JCL for installing is included in Copy the Tape Contents to Disk. Adapt this sample job to your requirements.
  2. When not using SMA, you must reference the Natural Construct 227 LFILE in the JCL to invoke the INT* modules.

If you are using SMA, perform the following steps before generating jobs:

  1. Load the SMA table data as described in the System Maintenance Aid documentation (if you have not already done so).

  2. Set CST82n in the list of available products for your environment to TO BE INSTALLED.

  3. If you are performing a first-time installation, adapt the FCST and FCST-DBID parameters in the FILNUM parameter group to the required values.

To use SMA, set the following options in your SMA environment (specified on the Modify Environment panel). Verify all options before generating jobs, as they may be set from a previous installation.

CST-FIRST-INSTALL

To load a new Natural Construct system file, set this option to "Y". To migrate your existing system file to the current version, set this option to "N". The new help text, code frames, and models will be loaded.

CST-FULL-ENV

To establish an environment in which you can generate, catalog, and run generated modules, set this option to "Y". This will load the CSTnnn.INPL data set.

Note:
The CSTnnn.INPL data set contains the Predict modules and will automatically install theses modules in your environment.

CST-CAT-ENV

To establish an environment in which you can catalog and run (but not generate) generated modules, set this option to "Y". This will load the CSTnnn.INPC data set (subset of CSTnnn.INPL).

CST-EXE-ENV

To establish an environment in which you can run (but not generate or catalog) generated modules, set this option to "Y". This will load the CSTnnn.INPE data set (subset of CSTnnn.INPC).

CST-LOAD-PRD

To load the Predict definitions for the demo system and system file, set this option to "Y".

CST-LOAD-DB2

To install the demo system to access DB2 tables, set this option to "Y". (Natural for DB2 must be installed.)

CST-LOAD-VSAM

To install the demo system to access VSAM files, set this option to "Y". (Natural for VSAM must be installed.)

FCST

File number of the Natural Construct system file.

ESIZE-NAT (BS2000 only)

ESIZE for batch environments (minimum is 220).

ESIZE-NRT (BS2000 only)

ESIZE for TIAM environments (minimum is 220).

ESIZE-NUT (BS2000 only)

ESIZE for UTM environments (minimum is 220).

FCST-DBID (z/OS only)

Database ID of the Natural Construct system file.

ESIZE-BATCH (z/OS only)

ESIZE for batch environments (minimum is 120).

ESIZE-ONLINE (z/OS only)

ESIZE for online environments (minimum is 220).

ESIZE (z/VSE only)

ESIZE for z/VSE environments (minimum is 220).

RUNSIZE

Size of the Natural runtime buffer (minimum is 40).

SYNERR

SYNERR option, which must be set to "ON".

Note:
The <DATSIZE> buffer is a variable-size buffer. If more storage is required during the session for local data areas, the <DATSIZE> buffer is expanded dynamically. In a thread environment, the <DATSIZE> may be temporarily allocated outside the storage thread if it becomes too large. The size of the <DATSIZE> buffer is reduced back to the minimum size when the application does not need the space any longer.

Description of Installation Tape

This section describes the installation tape for Natural Business Services. The Report of Tape Creation lists the volume serial number, media type, data set names, and data set sequence numbers. It also indicates the record layouts and disk storage required for each data set.

Notes:

  1. If you are not using SMA, the JCL for installing is included in Copy the Tape Contents to Disk. Adapt this sample job to your requirements.
  2. When not using SMA, you must reference the Natural Construct 227 LFILE in the JCL to invoke the INT* modules.

This section covers the following topics:

Contents of the Installation Tape

The Natural Business Services installation tape contains the data sets described in this section. Data set names beginning with NBS contain Natural Business Services data, while those beginning with CST contain Natural Construct data:

User Data Set Name Description
All NBSnnn.INPL INPL data set containing the Business Service Administration subsystem modules.
  CSTnnn.ADAP Data set containing the ADAPT interface modules.
  NBSnnn.IUPD INPL data set containing updates and fixes to the main INPL data set. Load this data set after loading the NBSnnn.INPL data set.

Note:
This data set is only supplied when there are updates or fixes to the main INPL data set.

  NBSnnn.NCSR Data set containing the Natural client service runtime component. To create a runtime environment for generated Natural clients, install this data set in a non-Natural Business Services environment. For instructions on installing this component, see Installing the Natural Client Service Runtime Component.
  NBSnnn.SYS1 Data set containing the Business Service Administration subsystem file. This file contains secured data used as input to the Adabas ADALOD load utility.
  NBSnnn.SYS2 Data set containing the Business Service Administration subsystem data file. This file contains unsecured data used as input to the Adabas ADALOD load utility.
  CSTnnn.CPRD Data set containing all Predict interface modules for users running Natural Construct Version 8.2 with Predict.
  CSTnnn.C531 Data set containing the code frame listings used to compare the code frames in Natural Construct Version 8.2 with those in Version 5.3.
  CSTnnn.DA4 Data set containing Predict views used in the demo application.
  CSTnnn.DD4 Data set containing Predict definitions for the DB2 demo application.
  CSTnnn.DINP INPL data set containing the Natural Construct demo programs to access DB2 data files.
  CSTnnn.INPC INPL data set containing the modules required to catalog and run generated modules. This data set is a subset of CSTnnn.INPL. It also contains the messages used by Natural Construct-generated applications.
  CSTnnn.INPE INPL data set containing the modules required to run (but not catalog) generated modules. This data set is a subset of CSTnnn.INPC. It also contains the messages used by Natural Construct-generated applications.
  CSTnnn.INPL INPL data set containing all the modules required to generate, catalog, and run Natural Construct-generated modules. It also contains the messages used by Natural Construct-generated applications.
  CSTnnn.SYSF Data set used to unload the Natural Construct SYSF system file. Use this data file as input to the Adabas load utility (ADALOD).
  CSTnnn.SYSH Data set containing help text. This data set is a subset of CSTnnn.SYSF.
  CSTnnn.SYSM Data set containing program models. This data set is a subset of CSTnnn.SYSF.
  CSTnnn.SYSR Data set containing code frames. This data set is a subset of CSTnnn.SYSF.
  CSTnnn.VD4 Data set containing Predict definitions for the VSAM demo application.
  CSTnnn.VINP INPL data set containing the Natural Construct demo programs to access VSAM data files.
z/OS and BS2000 NBSnnn.JOBS Data set containing sample JCL for all functions required to install the Business Service Administration subsystem.
  CSTnnn.JOBS Data set containing sample JCL for all functions required to install Natural Construct.
z/VSE NBSnnn.LIBJ Data set containing sample JCL for all functions required to install the Business Service Administration subsystem.
  CSTnnn.LIBJ Data set containing sample JCL for all functions required to install Natural Construct.

Copy the Tape Contents to Disk

You may want to copy the data sets on the installation tape to disk. The disk storage required for each data set is given in the Report of Tape Creation, which accompanies the installation tape. The procedure to copy the data sets to disk differs, depending on whether you are using System Maintenance Aid (SMA). If you are using SMA, refer to the System Maintenance Aid (SMA) documentation (included on the current Natural documentation CD).

If you are not using SMA, refer to one of the following sections:

BS2000 Users

The following steps apply to BS2000 users.

  1. Copy the SRVnnn.LIB library from tape to disk.

    This step is not required if you have already copied the SRVnnn.LIB library from another Software AG tape. For more information, see the #READ-ME file in this library.

    The SRVnnn.LIB library is stored on the tape as the SRVnnn.LIBS sequential file containing LMS commands. The current version nnn can be obtained from the Report of Tape Creation.

    To convert the SRVnnn.LIBS sequential file into an LMS-library, execute the following commands:

     /IMPORT-FILE  SUPPORT=*TAPE(FILE-NAME=SRVnnn.LIBS, -
      /   VOLUME=<volser>, DEV-TYPE=<tape-device>)
      /ADD-FILE-LINK  LINK-NAME=EDTSAM, FILE-NAME=SRVnnn.LIBS, -
      /   SUPPORT=*TAPE(FILE-SEQ=3), ACC-METH=*BY-CAT, -
      /   BUF-LEN=*BY-CAT, REC-FORM=*BY-CAT, REC-SIZE=*BY-CAT
      /START-EDT 
      @READ  '/'
      @SYSTEM 'REMOVE-FILE-LINK  EDTSAM'
      @SYSTEM 'EXPORT-FILE  FILE-NAME=SRVnnn.LIBS'
      @WRITE  'SRVnnn.LIBS'
      @HALT
      /ASS-SYSDTA  SRVnnn.LIBS
      /MOD-JOB-SW  ON=1
      /START-PROG  $LMS
      /MOD-JOB-SW  OFF=1
      /ASS-SYSDTA  *PRIMARY

    where:

    • <tape-device> is the device type of the tape (for example, TAPE-C4)

    • <volser> is the VOLSER of the tape (see the Report of Tape Creation)

  2. Copy the COPY.PROC procedure from tape to disk.

    To copy the COPY.PROC procedure to disk, call the P.COPYTAPE procedure in the SRVnnn.LIB library:

     /CALL-PROCEDURE  (SRVnnn.LIB,P.COPYTAPE), -
      /   (VSNT=<volser>, DEVT=<tape-device>)

    Note:
    If you use a TAPE-C4 device, you can omit the DEVT parameter.

  3. Copy all product files from tape to disk.

    To copy all Software AG product files from tape to disk, enter the COPY.PROC procedure:

      /ENTER-PROCEDURE  COPY.PROC, DEVT=<tape-device>

    Note:
    If you use a TAPE-C4 device, you can omit the DEVT parameter. The result from this procedure is written to the 'L.REPORT.SRV' file.

z/OS Users

The following steps apply to z/OS users. If the data sets for more than one product are on the tape, the COPY.JOB data set contains the JCL to unload the data sets for all products. You must then perform the individual installation procedure for each component.

  1. Copy the COPY.JOB data set from tape to disk.

    The COPY.JOB data set (label 2) contains the JCL to unload all other data sets from the installation tape to disk. To unload COPY.JOB, use the following sample JCL:

    //SAGTAPE JOB SAG,CLASS=1,MSGCLASS=X
    //* ---------------------------------
    //COPY EXEC PGM=IEBGENER
    //SYSUT1 DD DSN=COPY.JOB,
    // DISP=(OLD,PASS),
    // UNIT=(CASS,,DEFER),
    // VOL=(,RETAIN,SER=<Tnnnnn>),
    // LABEL=(2,SL)
    //SYSUT2 DD DSN=<hilev>.COPY.JOB,
    // DISP=(NEW,CATLG,DELETE),
    // UNIT=3390,VOL=SER=<vvvvvv>,
    // SPACE=(TRK,(1,1),RLSE),
    // DCB=*.SYSUT1
    //SYSPRINT DD SYSOUT=*
    //SYSIN DD DUMMY
    // 

    where:

    • <Tnnnnn> is the tape number

    • <hilev> is a valid high-level qualifier

    • <vvvvvv> is the desired volser

  2. Modify COPY.JOB to conform with your naming conventions.

    Before submitting this job, set the following parameters:

    • Set HILEV to a valid high-level qualifier

    • Set LOCATION to a storage location

    • Set EXPDT to a valid expiration date

  3. Submit the job.

    To unload all other data sets from the tape to your disk, submit COPY.JOB.

z/VSE Users

The following steps apply to z/VSE users. If the data sets for more than one product are on the tape, the COPYTAPE.JOB member contains the JCL to unload the data sets for all delivered products (except data sets you can install directly from tape, such as INPL objects). You must then perform the individual installation procedure for each component.

  1. Copy the COPYTAPE.JOB data set from tape to disk.

    The COPYTAPE.JOB data set (file 5) contains the JCL to unload all other data sets from tape to disk. To unload COPYTAPE.JOB, use the following sample JCL:

    * $$ JOB JNM=LIBRCAT,CLASS=0,                                          + 
    * $$ DISP=D,LDEST=(*,UID),SYSID=1                                       
    * $$ LST CLASS=A,DISP=D                                                  
    // JOB LIBRCAT                                                           
    * *****************************************                              
    *     CATALOG COPYTAPE.JOB TO LIBRARY                                    
    * *****************************************                              
    // ASSGN SYS004,NNN                                <------  tape address 
    // MTC REW,SYS004                                                        
    // MTC FSF,SYS004,4                                                      
    ASSGN SYSIPT,SYS004                                                      
    // TLBL IJSYSIN,'COPYTAPE.JOB'                                           
    // EXEC LIBR,PARM='MSHP; ACC S=lib.sublib'         <------- for catalog
    /*
    // MTC REW,SYS004                                                                       
    ASSGN SYSIPT,FEC                                                         
    /*                                                                       
    /&                                                                      
    * $$ EOJ

    where:

    • NNN is the tape address

    • lib.sublib is the library and sub-library for the catalog

  2. Modify COPYTAPE.JOB to conform with your naming conventions.

    Before submitting this job, modify COPYTAPE.JOB to conform to your local naming conventions and set the disk space parameters.

  3. Submit the job.

    To unload all other data sets from the tape to your disk, submit COPYTAPE.JOB.