Hello,

I have followed some Tivoli LDAP documentation on 

http://pic.dhe.ibm.com/infocenter/zos/v1r12/topic/com.ibm.zos.r12.glpa100/compiling.htm#compiling
http://pic.dhe.ibm.com/infocenter/zos/v1r12/topic/com.ibm.zos.r12.glpa100/glpa1aa015.htm#wq15

There is not a complete JCL sample there, but I got to this JCL to compile my 
source code. It is intended to be called under CICS/Natural.

I get the following messages, some unresolved functions even related to the 
CEE, which is a bit odd.

WARNING EDC4015: Unresolved references are detected:                    

CEEBETBL CEEROOTA CEESG003 @@GETFN  EDCINPL  ldap_init         printf   
exit     ldap_simple_bind_s         ldap_err2string   fprintf  ldap_unbi
nd_s       

Anyway, I get several messages on unresolved references on the link step. The 
libraries are all there, I have no idea why this is happening. Any idea?

Below is my JCL

//SSTP001N JOB DISIP,TIME=1
//* COMPILE AND LINK C, SOCKET, BATCH, NATURAL, LDAP SOURCE CODE
//COMPILA EXEC PGM=CCNDRVR,REGION=0M,
// PARM='DLL,RENT,LIST,SO,LO,DEF(MVS),OPT(2),OBJECT'
//SYSIN   DD DSNAME=SEGAN.SOURCES.C(LDAPC),DISP=(OLD,KEEP)
//SYSLIB  DD DSNAME=SSOP.TZ13.CEE.SCEEH.H,DISP=SHR
//        DD DSNAME=SSOP.TZ13.CEE.SCEEH.SYS.H,DISP=SHR
//        DD DSNAME=SSOP.TZ13.CEE.SCEEH.NETINET.H,DISP=SHR
//        DD DSNAME=SABD.NATURAL.V427.SOURCE,DISP=SHR
//        DD DSNAME=SSOP.TZ13.GLD.SGLDHDRC,DISP=SHR
//SYSLIN  DD DSNAME=&&OBJETO,DISP=(NEW,PASS,DELETE),UNIT=DISK,
//        SPACE=(TRK,(3,3)),DCB=(RECFM=FB,LRECL=80,BLKSIZE=80)
//SYSPRINT DD SYSOUT=*
//SYSOUT   DD SYSOUT=*
//SYSCPRT  DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//PLKED EXEC PGM=EDCPRLK,REGION=0M,PARM='OMVS'
//STEPLIB  DD DSNAME=MCAT.SSOP.TZ13.CEE.SCEERUN,DISP=SHR
//         DD DSNAME=MCAT.SSOP.TZ13.CBC.SCCNCMP,DISP=SHR
//SYSMSGS  DD DSNAME=SSOP.TZ13.CEE.SCEEMSGP(EDCPMSGE),DISP=SHR
//SYSLIB   DD DSNAME=SSOP.TZ13.CEE.SCEECPP,DISP=SHR
//         DD DSNAME=SSOP.TZ13.GLD.SGLDEXPC,DISP=SHR
//SYSIN    DD DSNAME=&&OBJETO,DISP=(OLD,DELETE,DELETE)
//SYSIN2   DD *
 INCLUDE SYSLIB(GLDCLDPX)
/*
//SYSMOD   DD DSNAME=&&EXECUT,UNIT=3390,DISP=(NEW,PASS),
//            SPACE=(CYL,(3,5)),
//            DCB=(RECFM=FB,LRECL=80)
//SYSOUT   DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//LKED EXEC PGM=HEWL,REGION=0M,PARM='AMODE=31,RENT,MAP'
//SYSLIB   DD DSNAME=SSOP.TZ13.CEE.SCEELKED,DISP=SHR
//         DD DSNAME=SSOP.TZ13.CEE.SCEELKEX,DISP=SHR
//         DD DSNAME=SSTP.TZ13.TCPIP.SEZACMTX,DISP=SHR
//         DD DSNAME=SABD.NATURAL.V425.LOAD,DISP=SHR
//         DD DSNAME=SYS1.SIEALNKE(GLDCLDAP),DISP=SHR
//SYSPRINT DD SYSOUT=*
//SYSLIN   DD DSNAME=*.PLKED.SYSMOD,DISP=(OLD,DELETE)
//SYSLMOD  DD DSNAME=SEGAN.LINKLIB(LDAPC),DISP=SHR
//SYSUT1   DD UNIT=3390,SPACE=(32000,(30,30))
//

Many thanks!

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

Reply via email to