How to add a DATASET to an Owner Acid with LDAP LDIF
search cancel

How to add a DATASET to an Owner Acid with LDAP LDIF

book

Article ID: 9843

calendar_today

Updated On:

Products

LDAP SERVER FOR Z/OS

Issue/Introduction

Would like the LDAP equivalent of TSS ADD(acid) DSN(dsname).
What would the LDIF file look like?

Resolution

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.