Try typing the ldapsearch directly from an omvs command line.
I usually use openldap on my pc for commands.
An OMVS segment for your userid is probably a requirement.

-- 
  Donald J.
  [email protected]

On Wed, Aug 6, 2014, at 12:08 PM, Tim Brown wrote:
> Thanks, I ran this, it got  rc=0 but there is no output?
> 
> //LDAPSPRCH JOB 0,CLASS=A,PRTY=6,MSGLEVEL=(1,1),MSGCLASS=X,
> //STEP01  EXEC PGM=BPXBATCH                                 
> //SYSOUT   DD SYSOUT=*,LRECL=1024,RECFM=V                    
> //STDOUT   DD SYSOUT=*,LRECL=1024,RECFM=V                    
> //STDERR   DD SYSOUT=*,LRECL=1024,RECFM=V                    
> //STDPARM  DD *                                              
> sh  /bin/ldapsearch -h 127.0.0.1 -p 389                     
>   -w ********                                                
>   -b "racfid=IBMUSER,profiletype=user,sysplex=sysplex1"      
>  "(objectclass=*)" ;                                         
> 
> Tim
> 
> -----Original Message-----
> From: IBM Mainframe Discussion List [mailto:[email protected]] On
> Behalf Of Donald J.
> Sent: Wednesday, 06 August, 2014 10:53 AM
> To: [email protected]
> Subject: Re: running ldapsearch via JVL
> 
>  
> Try this:
> >  //STEPNAME EXEC PGM=BPXBATCH                        
> >  //STDOUT   DD SYSOUT=*,LRECL=1024,RECFM=V                       
> >  //STDERR   DD SYSOUT=*,LRECL=1024,RECFM=V                       
> >  //STDPARM  DD *                                                 
> >  sh  /bin/ldapsearch -h mvs6 -p 3289  -D cn=yyy -w zzz
> >   -b "O=COMODO CA Limited,L=Salford,ST=Greater Manchester,C=GB"  
> >   "(objectclass=*)" ;                                            
> >  //                         
> > 
> > -- 
> >   Donald J.
> >   [email protected]
> > 
> > On Wed, Aug 6, 2014, at 05:17 AM, Tim Brown wrote:
> > > Does anyone have an example of running ldapsearch via jcl
>  
> > 
> 
> --
> https://urldefense.proofpoint.com/v1/url?u=http://www.fastmail.fm/&k=pCpgOv%2FKLW5dYRss05kLEw%3D%3D%0A&r=tQq0J85k4w4CeO1cI0sWanGhPyb3Fq7EC6ctgNHLxNs%3D%0A&m=N7Uq9CvF5SLWQVcSv7Mq1c4Y7D1XllqSO0lJ%2BICkNyo%3D%0A&s=d012baa45490c7257ac54e5e766f3c24f3c2bb220c96eab130f5007042c5bd40
> - The professional email service
> 
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions, send
> email to [email protected] with the message: INFO IBM-MAIN
> 
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN

-- 
http://www.fastmail.fm - Access all of your messages and folders
                          wherever you are

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to