This section describes how to install SMA and assumes that Adabas and Natural have already been previously installed.
SMA is an application completely written in Natural. SMA data is stored in an Adabas database.
SMA can be installed easily into an existing Adabas/Natural environment.
SMA requires the following Software AG products:
A supported version of Natural must be installed. For the supported operating systems and versions, refer to the Product Version Availability section of Software AG's Empower web site at https://empower.softwareag.com/.
A supported version of Adabas must be installed. For the supported operating systems and versions, refer to the Product Version Availability section of Software AG's Empower web site at https://empower.softwareag.com/.
The product installation medium (e.g., tape or CD-ROM) contains the data sets listed in the table below. The sequence of the data sets is shown in the Software AG Product Delivery Report which accompanies the installation medium.
| Data Set | Description |
|---|---|
| SMAvrs.INPL | SMA programs |
| SMAvrs.SYSF | SMA system file |
| SMAvrs.JOBS | Library with SMA example jobs (z/OS) |
The notation vrs in data set names represents the version number of the product.
The data set type and the space each data set requires on disk is shown in the Software AG Product Delivery Report.
Copy the data sets from the supplied installation medium to your disk before you perform the individual installation procedure for each component to be installed.
The way you copy the data sets depends on the installation method and the medium used:
If you are already using SMA, refer to the section Installing Software AG Products with SMA.
If you are not using SMA and want to copy the data sets from CD-ROM, refer to the README.TXT file on the CD-ROM.
If you are not using SMA and want to copy the data sets from tape, follow the instructions in this section.
This section explains how to copy all data sets from tape to disk.
Modify the following sample job according to your requirements:
//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=tape-volser), // LABEL=(2,SL) //SYSUT2 DD DSN=hilev.COPY.JOB, // DISP=(NEW,CATLG,DELETE), // UNIT=3390,VOL=SER=disk-volser, // SPACE=(TRK,(1,1),RLSE), // DCB=*.SYSUT1 //SYSPRINT DD SYSOUT=* //SYSIN DD DUMMY //
where:
tape-volser is the VOLSER of the
tape, for example: T12345,
hilev is a valid high-level
qualifier, and
disk-volser is the VOLSER of the
disk.
Execute the job to copy the data
set COPY.JOB to your disk.
Modify
hilev.COPY.JOB according to your
requirements:
Set EXPDT to a valid expiration date, for
example, 99365.
Set HILEV to a valid
high-level qualifier, for example, USERLIB.
Set
LOCATION to a storage location, for example,
STORCLAS=ABC or UNIT=3390,VOL=SER=USR123.
Execute
hilev.COPY.JOB to copy single,
multiple, or all data sets to your disk.
The following steps are required for installation of SMA:
If you want to create a new SMA system file, you can use job I050, step 1800.
This job loads the empty SMA system file (data set SMAvrs.SYSF) using the ADALOD utility.
Use the following options in this ADALOD step:
USERISN=YES ISNREUSE=YES VERSION=6 MAXISN=40000, DSSIZE=300B, NISIZE=300B, UISIZE=100B
Note
Option USERISN is essential for the correct
operation of SMA. For the Adabas nucleus, allow for approximately 500 ISNs to
be kept in the hold queue: NH=2000 NI=500.
If you want to continue to use an existing SMA system file from SMA Version 1.3, you must migrate this system file to an SMA Version 2.1 system file.
Submit job I051, step 1800 to perform the migration from SMA Version 1.3 or 2.1.1.
Additionally, submit job I051, steps 1801 and 1802 to perform the migration from SMA Version 1.3.
Load the SMA Natural programs (SMAvrs.INPL) into the Natural system file using the Natural INPL utility (job I061, step 1800).
Whenever you invoke Natural to work with SMA, do either of the following:
append the following macro definition:
NTFILE ID=208,DBID=dbid,FNR=fnr
in your Natural parameter module, where dbid is the database ID and fnr is the file number where you loaded the SMA data file. Then re-assemble and re-link the Natural parameter module.
or, use the dynamic parameter
LFILE=(208,dbid,fnr)
The following Natural parameters should be specified:
ESIZE=64 MADIO=0 MAXCL=0
The PRINTER parameter should allow for at least
1 printer in online mode and 3 printers in batch mode. If no physical or
logical printer is available, set Printer ID to DUMMY or blank in the SMA
Profile. See SMA
Profile in the section Menus and Line Commands for an explanation of
this parameter.
SMA uses the Software AG Editor. For more information, refer to the section Installing the Software AG Editor in the Natural documentation.
Depending on the Natural TP environment, the following specification may also be necessary:
RJESIZE=32
When using SMA with Natural Security, the following prerequisites must be fulfilled:
The library SYSSMA1 must be defined in Natural Security
SMA uses the Natural Command Processor, which must also be defined in Natural Security. This can be done by performing the following actions:
enter Natural Security Library Maintenance
modify library SYSSMA1
select Additional Options
select Functional Security
enter SMACPROC in the field Command Processor, and mark the Keyword default field. After pressing Enter, the field Functional security defined should be set to Yes, and Keyword default should be allowed.
exit Natural Security
Submit job TABLOAD to load the SMA tables from the product installation medium into the SMA system file.
Perform the following steps to verify correct SMA installation:
Invoke online Natural by entering the following command:
LOGON SYSSMA1 MENU A
Adapt the GLOBAL parameters and the SMA
profile.
Use function Tabload from the SMA administration menu to load the TABS data from the installation medium.
Enter the SMA Environment function, issue line command
CO for your default environment, in the new
environment mark the most current version of ADA to be installed.
Enter the SMA Report function, invoke report P for the newly created environment, mark for printing.
Submit a batch Natural job, with the following input:
LOGON SYSSMA1 MENU SET ENV <your-new-environment> GEN FIN
Enter online Natural again, enter the Environment function,
and issue line command JO to see the jobs generated
to install Adabas.
Note
At this point, the generated JCL is intended only for installation
verification testing.