Hyblib tools now also support directories
[APYR3FIX] [daemon tools] [directories] [directories only] [hybrid] [i] [library] [o4affile] [saphostagent] [sapstartsrv] [servicehttp] [support tools] [System]
Symptom
You want to use the “sapstartsrv” in systems with a 6.40 kernel, or the system issues the following error message when you call APYR3FIX:
found invalid record (…) ifsname=servicehttp
Other terms
sapstartsrv, saphostagent, system, i, hybrid library, o4affile, APYR3FIX, servicehttp
Reason and Prerequisites
You ported sapstartsrv from kernel release 7.00 to 6.40. Due to sapstartsrv, new requirements exist for the patch tools from the 7.00 kernel.
For example, the O4AFFILE of the hybrid library (where the ifs objects are delivered) must be able to contain entire ifs directory trees in the future.
Before you import these new objects for sapstartsrv, you must apply the APYR3KRN and HYBLIB patches.
Caution: Since the patch application itself changes when you apply the two patches, you must apply the patches twice in succession.
Solution
Implement the 6.40 patches
APYR3KRN 10
HYBLIB 1
twice in succession.
Subsequently, you can apply the patches for sapstartsrv. Proceed in accordance with Note 995116. Refer to the additional remarks in this note concerning system i.
To install sapstartsrv for the 6.40 kernel, proceed as follows:
Create the /usr/sap/sapservices file with the QSECOFR owner and the R3GROUP group in ASCII (CCSID=819) if this file does not already exist in your system.
For each 6.40 instance that you want to manage using sapstartsrv, create a line in accordance with the following schema. Other releases may have different rules. Also see Note 941429 for 7.00:
/usr/sap/
For example:
/usr/sap/U70/SYS/exe/run/sapstartsrv pf=/usr/sap/U70/SYS/profile/START_SCS06_as0030 -D -u U70adm
Start the sapstartsrv that are entered in this file by calling the ILE program sapinit. The program is contained either in the R3SAP400 library (new) or R3SYS (old).
If you only use a 6.40 system (or lower), you must have installed SAPHOSTAGENT (saphostexec) for the sapinit program.
We recommend that you also install the sapinit call in your system startup program (QSTRUP) at the end.