To install SERSERVC perform the following steps.
Create the SERSERVC runtime directory with a path name of the form
/u/userid/serservc
where userid is your actual SERNET user ID. (In our examples, this is sernet.)
Select ISPF option 3.17 to invoke the UNIX directory list utility.
In the Pathname field of the z/OS Unix Directory List Utility panel, type the SERNET home directory path (for example, /u/sernet). Leave the Option==> prompt blank to request a display of directory contents and press Enter.
The directory list for the SERNET home directory displays.
In the Unix Directory List panel for the SERNET home directory, type the N (New) line command at the root level of the file hierarchy. The Filename for this level is listed as a single period (.) and the Type is "Directory" (Dir).
For example:
|
Press Enter.
When the Create New z/OS UNIX File window displays, create a new directory called serservc with permission level 755. Required field values are:
Pathname Give the full path name for the new directory serservc.
For example: /u/sernet/serservc
Permissions Type 755 to assign read, write, and execute permissions
over the directory to the directory owner, the owner's
security group, and all others.
File Type Type 1 to identify the new data object as a directory.
For example:
|
Press Enter and then exit the utility with PF3.
|
Copy the sample runtime JCL module SERSERVC to your actual installation PROCLIB. Member SERSERVC resides in the CNTL library where you unloaded the ChangeMan ZMF SERCOMC installation libraries.
Customize the runtime JCL for SERSERVC.
The following model SERSERVC JCL segment is supplied for your reference when making these changes. The actual downloaded JCL may vary from this example.
//SERSERVC PROC OUTC=H, * CLASS
// PORT=6657, * PORT
// PATH='/u/sernet/serservc', * PATH
// PROCLIB='USER.PROCLIB' * PROCLIB
//*===============================================================*
//* JCL TO EXECUTE SERSERVC SDSF SERVER *
//*===============================================================*
//SERSERVC EXEC PGM=BPXBATCH,
// PARM='sh &PATH./serserv &PORT'
//*
//SYSEXEC DD PATH='&PATH/'
//SYSPRINT DD SYSOUT=&OUTC
//SYSTSPRT DD SYSOUT=&OUTC
//STDOUT DD PATH='&PATH./stdout',
// PATHOPTS=(OWRONLY,OCREAT,OTRUNC),
// PATHMODE=SIRWXU
//STDERR DD PATH='&PATH./stderr',
// PATHOPTS=(OWRONLY,OCREAT,OTRUNC),
// PATHMODE=SIRWXU
//MSGLOG DD PATH='&PATH./msglog'
//STDENV DD DUMMY
//*===============================================================*
For the PORT parameter, change the sample port number to the actual IP port assigned for the exclusive use of the SERSERVC HTTP server.
In the PATH parameter, replace the sample home directory, /u/sernet, with the actual Unix home directory you created for SERNET.
|
For the PROCLIB parameter, replace the sample value USER.PROCLIB with the name of your actual installation PROCLIB.
Customize the JCL for the SERSERVI install job. Member SERSERVI resides in the CNTL library where you unloaded the ChangeMan ZMF SERCOMC installation libraries.
The following sample SERSERVI JCL segment is supplied for your reference when making these changes. The actual downloaded JCL may vary from this example.
//jobcard JOB ,'USS JOB',CLASS=A,
// NOTIFY=userid
//*
//STEP1 EXEC PGM=IKJEFT01,DYNAMNBR=200,COND=EVEN
//SYSTSPRT DD SYSOUT=*
//HFSOUT DD PATH='/u/sernet/serservc/stdout',
// PATHOPTS=(OWRONLY,OCREAT,OTRUNC),
// PATHMODE=(SIRWXU,SIRWXG,SIRWXO)
//HFSERR DD PATH='/u/sernet/serservc/stderr',
// PATHOPTS=(OWRONLY,OCREAT,OTRUNC),
// PATHMODE=(SIRWXU,SIRWXG,SIRWXO)
//EMPTY DD *
/*
//NEWLOG DD PATH='/u/sernet/serservc/msglog',
// PATHOPTS=(OWRONLY,OCREAT,OTRUNC),
// PATHMODE=(SIRWXU,SIRWXG,SIRWXO)
//NEWHDR DD PATH='/u/sernet/serservc/headers',
// PATHOPTS=(OWRONLY,OCREAT,OTRUNC),
// PATHMODE=(SIRWXU,SIRWXG,SIRWXO)
//MSGARCH DD *
******** ******** SerServ *------------------ Archive Restart ---*
/*
//NEWSRV DD PATH='/u/sernet/serservc/serserv',
// PATHOPTS=(OWRONLY,OCREAT,OTRUNC),
// PATHMODE=(SIRWXU,SIRWXG,SIRWXO)
//NEWTSK DD PATH='/u/sernet/serservc/sertask',
// PATHOPTS=(OWRONLY,OCREAT,OTRUNC),
// PATHMODE=(SIRWXU,SIRWXG,SIRWXO)
//SERSERV DD DISP=SHR,DSN=CMNPRD.CMN.SE56.#000031.REX(SERSERV)
//SERTASK DD DISP=SHR,DSN=CMNPRD.CMN.SE56.#000031.REX(SERTASK)
//SERCMD DD DISP=SHR,DSN=CMNPRD.CMN.SE56.#000031.CLS(SERCMD)
//NEWCMD DD DISP=SHR,DSN=USER.SYS1.CLIST(SERCMD)
//SERVA DD DISP=SHR,DSN=USER.PROCLIB(SERSERVA)
//SERVP DD DISP=SHR,DSN=USER.PROCLIB(SERSERVP)
//SYSPRINT DD SYSOUT=*
. . .
Copy the SERSERVI JCL sample to a work library for editing.
Edit the job card as needed.
In each occurrence of the PATH parameter that is supplied to various job steps in this job, change the sample home directory name, /u/sernet, to the actual name of the Unix home directory you defined for SERNET.
|
For jobs SERSERV and SERTASK, change the dataset names in the sample DD statements to point to the CEXEC library where you unloaded the ChangeMan ZMF SERCOMC installation libraries.
For the SERCMD job, change the dataset name in the sample DD statement to point to the CLIST library where you unloaded the ChangeMan ZMF SERCOMC installation libraries.
For the NEWCMD job, change the CLIST library in the sample DD statement to point to the actual REXX execution library where SERSERVC will reside at runtime.
|
In the SERVA and SERVP sample DD statements, change the name of the library containing members SERSERVA and SERSERVP from USER.PROCLIB to your actual installation PROCLIB dataset name.
Run SERSERVI.
This job installs the HTTP server software in the REXX execution library where it will reside at runtime.
Modify REXX EXEC module SERCMD to use the actual IP address and port number assigned to SERSERVC.
SERCMD is copied to the actual REXX execution library where SERSERVC resides by the SERSERVI install job.