Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Mainframe LDAP Client Services through a jcl

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
vamanchi

New User


Joined: 28 Jul 2005
Posts: 2

PostPosted: Thu Jul 28, 2005 3:30 am    Post subject: Mainframe LDAP Client Services through a jcl
Reply with quote

Hi i am having a problem how to write a jcl for ldapmdfy or gldmdfy using a jcl. The ldap commands are provided in a control card or instream.

ldapmodify on unix takes this simple format to read through a file
ldapmodify -f /tmp/modifyentry assuming modifyentry is a ldap file

To simulate that on z/OS v1.6 jcl, my guess would be to put the ldap file in a dataset and feed it to the command something like below

//TSOBGJOB EXEC PGM=IKJEFT1A,REGION=4M
//SYSPRINT DD SYSOUT=*
//SYSTSPRT DD SYSOUT=*
//SYSTSOUT DD SYSOUT=*
//SYSTSIN DD *
gldmdfy -f <dataset name>
/*
//TSOLDIF DD DSN=LDIF.FILE,DISP=SHR
//
But the command doesn't recocgnise the dataset. I have also tried using DDNAME but it didn't work. I am wondering if anybody has experience on this or know how to read a dataset in the instream. Please share your comments.
Back to top
View user's profile Send private message

vamanchi

New User


Joined: 28 Jul 2005
Posts: 2

PostPosted: Thu Jul 28, 2005 4:38 am    Post subject:
Reply with quote

Ok I figured it. Don't worry.

We need to create a HFS dataset that mounts the file under the temporary work space and use that file as input to ldapmodify
Back to top
View user's profile Send private message
mallu

New User


Joined: 11 May 2006
Posts: 1

PostPosted: Fri May 19, 2006 10:57 pm    Post subject:
Reply with quote

Hi vamanchi
I have a requirement to access the LDAP from the mainframe to get some information regarding a user. Can you advise the best way to proceed.

Thanks
Pk
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Produce Mainframe Dash Board Reports ... sdcarlson53 All Other Mainframe Topics 2 Thu Jan 05, 2017 11:01 pm
This topic is locked: you cannot edit posts or make replies. Urgent Mainframe Requirments (2-10 yr... Shankar779 Mainframe Jobs 0 Sun Nov 27, 2016 1:48 pm
This topic is locked: you cannot edit posts or make replies. Mainframe Developer requirement in Ku... capricorn Mainframe Jobs 0 Sun Oct 23, 2016 3:49 pm
No new posts Interface from Mainframe to Confluenc... hblun CLIST & REXX 4 Tue Sep 20, 2016 5:47 pm
This topic is locked: you cannot edit posts or make replies. Mainframe Admin Openings with CTS enikhilk Mainframe Jobs 0 Tue Sep 13, 2016 10:13 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us