How can I setup the CA LDAP Server to use a new STDERR and STDOUT file in the zFS every time I restart the Server so that I don't overwrite the previous files?
search cancel

How can I setup the CA LDAP Server to use a new STDERR and STDOUT file in the zFS every time I restart the Server so that I don't overwrite the previous files?

book

Article ID: 21900

calendar_today

Updated On:

Products

ACF2 ACF2 - DB2 Option ACF2 for zVM ACF2 - z/OS ACF2 - MISC 24X7 High-Availability Manager for DB2 for z/OS Batch Processor Compile QQF Data Compressor for DB2 for z/OS CA Unicenter NSM RC/Update for DB2 for z/OS DB2 TOOLS- DATABASE MISC PanApt PanAudit Top Secret Top Secret - LDAP

Issue/Introduction

Question:

The stderr and stdout files can be created using the server JCL with variables like time and date - each time the ldap server starts, the file names will include the time and date of the startup.

Answer:

The following JCL can be used as an example?

The variables d&LYYMMDD and t&LHHMMSS will resolve the file names to
'/cai/ldap/ldapr14.stdout.d111005.t132442' and '/cai/ldap/ldapr14.stderr.d111005.t132442'

   //LDAPR14 PROC DEBUG=0 
   //LDAPR14 EXEC PGM=BPXBATA8,REGION=0M,TIME=NOLIMIT,
   // PARM='PGM slapd -d &DEBUG. -f ./slapd.conf'
   //STDOUT DD PATH='/cai/ldap/ldapr14.stdout.d&LYYMMDD..t&LHHMMSS',
   //    PATHOPTS=(OWRONLY,OCREAT,OTRUNC),
   //    PATHMODE=SIRWXU,PATHDISP=(KEEP,KEEP)
   //STDERR DD PATH='/cai/ldap/ldapr14.stderr.d&LYYMMDD..t&LHHMMSS',
   //    PATHOPTS=(OWRONLY,OCREAT,OTRUNC),
   //    PATHMODE=SIRWXU,PATHDISP=(KEEP,KEEP)
   //STDENV DD PATH='/cai/ldap/slapd.env',
   //    PATHOPTS=(ORDONLY),
   //    PATHMODE=SIRWXU,PATHDISP=(KEEP,KEEP)
   //CEEDUMP DD PATH='/cai/ldap/'
   //* Uncomment MAPDB and MAPDBJ if CA CIEM is installed
   //*MAPDB DD DSN=&HLQ..MAPDB,DISP=SHR,
   //*   RECFM=FB,BLKSIZE=4096,LRECL=4096,
   //*   VOL=SER=&VOL,UNIT=&SYSDA
   //*
   //*MAPDBJ DD DSN=&HLQ..MAPDB.JRN,DISP=(OLD,KEEP,KEEP),
   //*   RECFM=FB,BLKSIZE=4096,LRECL=4096,
   //*   VOL=SER=&VOL,UNIT=&SYSDA

Environment

Release:
Component: ACFLDP