How to: |
The IBI Subsystem must be running before you can start SU. If the Subsystem was not started, you will get a U0003 system error.
Before beginning simultaneous usage (SU) of centrally controlled FOCUS data sources, the system administrator must start the FOCUS Database Server. Once started, this job remains in a wait state until FOCUS applications give it work to perform.
The FOCUS Database Server executes a program called HLISNK after allocating the following files:
Note: You create the communication data set when you install SU at your site. Each FOCUS Database Server requires a unique communication data set, so users planning to run more than one server require a different communication data set for each. Give these data sets the following attributes:
LRECL=16, BLKSIZE=16, RECFM=F, SPACE=1 TRK
LRECL=4096, BLKSIZE=4096, RECFM=FB, SPACE=1 TRK
The database can be allocated to any number of FOCUS Database Servers, and it is recommended that you recreate it with each new release of FOCUS.
To format the file, allocate it to ddname FOCUSSU, copy the Master File named FOCUSSU from FOCCTL.DATA to MASTER.DATA and allocate MASTER.DATA to ddname MASTER, start a FOCUS session, and issue the CREATE FILE command.
CREATE FILE FOCUSSU
//* Job card goes here //HLISNK EXEC PGM=HLISNK[,PARM='parameters'] //STEPLIB DD DSN=prefix.FOCLIB.LOAD,DISP=SHR //FOCLIB DD DSN=prefix.FOCLIB.LOAD,DISP=SHR //ERRORS DD DSN=prefix.ERRORS.DATA,DISP=SHR //* //* FOCSU IS THE COMMUNICATION FILE //* //FOCSU DD DSN=prefsu.FOCSU.DATA,DISP=SHR //* //* FOCUSSU IS A DUMMY FOCUS DATABASE CREATED DURING SU INSTALLATION //* //FOCUSSU DD DSN=prefsu.FOCUSSU.FOCUS,DISP=SHR //* //* FOCSORT IS NEEDED IF THE COMBINE/SU FEATURE WILL BE USED //* //FOCSORT DD SPACE=(TRK,(1,1)),UNIT=SYSDA //* //* HLIERROR IS USED FOR DIAGNOSTICS //* //HLIERROR DD SYSOUT=*,DCB=(LRECL=80,RECFM=F,BLKSIZE=80) //* //* HLIPRINT IS THE LOG FILE (HERE, THE SYSTEM PRINTER) //* //HLIPRINT DD SYSOUT=*.DCB=(LRECL=88,RECFM=FB,BLKSIZE=8800) //* or DD SYSOUT=*.DCB=(LRECL=133,RECFM=FBA,BLKSIZE=13300) //* //* MASTER CONTAINS THE FILE DESCRIPTIONS OF ALL //* DATABASES USED IN SU MODE. THE MASTER FOR FOCUSSU //* IS IN MASTER.DATA. ONLY DATA SETS WITH IDENTICAL LRECL //* AND RECFM ATTRIBUTES SHOULD BE CONCATENATED //* //MASTER DD DSN=hlq.MASTER.DATA,DISP=SHR // DD DSN=prefix.MASTER.DATA,DISP=SHR //* //* FOCEXEC IS FOR THE SU PROFILE //* //FOCEXEC DD DISP=SHR,DSN=hlq.FOCEXEC.DATA // DD DISP=SHR,DSN=prefix.FOCEXEC.DATA //* //* CENTRALLY CONTROLLED FOCUS DATABASES ALLOCATED WITH DISP=SHR SO //* MULTI-THREADED SU REPORTING FACILITY CAN BE USED. //* //EMPLOYEE DD DSN=prefix.EMPLOYEE.FOCUS,DISP=SHR //EDUCFILE DD DSN=prefix.EDUCFILE.FOCUS,DISP=SHR //JOBFILE DD DSN=prefix.JOBFILE.FOCUS,DISP=SHR
where:
Are needed if you use the ECHO or STAT facilities or if you plan to use HLI control commands.
Is the high-level qualifier for your production FOCUS data sets.
Is the high-level qualifier for data sets specific to the FOCUS Database Server.
Is the high-level qualifier for the private data sets of a specific user.
The PARM field in the HLISNK EXEC statement is optional. Include it if you plan to use the SU ECHO facility, or if you plan to use HLI control commands.
PARM= '[password] {ECHO|STAT}'
where:
Activate the SU HLIPRINT facility. Both parameters are optional. If the password is omitted, a leading blank must precede the word ECHO or STAT, and you cannot use HLI control commands. ECHO produces a standard format HLIPRINT report. STAT produces an extended format report. For discussions of these reports, see Logging FOCUS Database Server Activity in HLIPRINT.
Information Builders |