How To Add A DATASET To An Owner Acid?

Document ID : KB000009843
Last Modified Date : 14/02/2018
Show Technical Document Details
Introduction:

We would like the LDAP equivalent of TSS ADD(acid) DSN(dsname)

What would the LDIF file look like?  

Environment:
z/OS with TSSMVS r15.0 or r16.0 and CA LDAP r15.0 or r15.1
Instructions:

The LDIF file may look like the following:

****** ***************************** Top of Data ************************************************************************
000001 dn:tssownedname=LDAPDS1.,tssowned=DATASET,tssprofgrp=Ownerships,tssdept=D112,tssadmingrp=departments,host=usi252me,o=ca,c=us 
000002 changetype: add 
000003 objectClass: tssownedname 
000004 tssowned: DATASET 
000005 tssownedname: LDAPDS1. 
****** **************************** Bottom of Data **********************************************************************

Where "LDAPDS1." is the hlq to be owned.

Where "D112" is the department owning the dataset.

The LDAP command to execute this LDIF may look like:

 

****** ***************************** Top of Data ************************************************************************ 
000001 ./ldapadd -c -h USI252ME -p 1389 -D cn=hulja01 \ 
000002 -w xe52 -x -f add_dataset.ldif 
****** **************************** Bottom of Data ********************************************************************** 

Where "add_dataset.ldif" is the name of the LDIF file containing the data.