Thanks
> On Jul 7, 2019, at 5:42 PM, Don Poitras <sas...@sas.com> wrote: > > LP64 requires XPLINK. XPLINK cannot run from a PDS. I've never used the > Debug Tool, so I can't address that. For 64-bit DLL (and main), set the > entry point to be CELQSTRT. > > In article <006401d53506$febc0af0$fc3420d0$@gmail.com> you wrote: >> HI > >> > >> I am getting the following message my source is a simple program that just >> open a dataset. In addition since I would like to debug this from TSO I was >> wondering if I could use __ceetest() in the code to invoke Debug tool > >> > >> Here is my source > >> > >> #include <stdio.h> > >> #include <stdlib.h> > >> #pragma export(openadata) > >> #pragma csect(STATIC,"TESTDLL") > >> void openadata(char *filename) > >> { > >> FILE *fp = fopen("DD:TESTDD","r"); > >> } > >> > >> Here are my compiler options > >> > >> > >> SET CPARM='NOOPTIMIZE,SSCOM,LIST,SOURCE,LONGNAME,RENT,DLL(NOCBA),LP > >> 64,DEBUG(FORMAT(DWARF),LEVEL(9),SYMBOL)' > >> > >> Linker option > >> > >> LPARM='AMODE=64' > >> > >> > >> IEW2677S 5130 A VALID ENTRY POINT COULD NOT BE DETERMINED. > >> IEW2230S 0414 MODULE HAS NO TEXT. > >> IEW2677S 5130 A VALID ENTRY POINT COULD NOT BE DETERMINED. > >> > >> > >> I am using compile prelink and link because I would like the DLL to be in a >> PDS > >> > >> Below Is my JCL > >> //*------------------------------------------------------------------- > >> //* COMPILE STEP: > >> //*------------------------------------------------------------------- > >> //COMPILE EXEC PGM=CCNDRVR, > >> // PARM=('&CRUN/&CPARM'),COND=(8,LT) > >> //* > >> //* STEPLIB DD specifies the location of the compiler and runtime > >> //* libraries. > >> //* > >> //STEPLIB DD DSN=CEE.SCEERUN2,DISP=SHR > >> // DD DSN=CEE.SCEERUN,DISP=SHR > >> // DD DSN=CBC.SCCNCMP,DISP=SHR > >> //* > >> //* SYSLIB DD specifies the location of the IBM-supplied C header > >> //* (hwthic). > >> //* > >> //SYSLIB DD DSN=SYS1.SIEAHDRV.H,DISP=SHR @01C > >> // DD DSN=CEE.SCEEH.H,DISP=SHR > >> //* > >> //SYSIN DD DSN=IBMUSER.TEST.SOURCE(TESTDLL),DISP=SHR > >> //* > >> //* SYSLIN DD specifies the output location of the object module > >> //* generated by the compile step. > >> //* > >> //SYSLIN DD DSN=&&LOADSET,UNIT=&TUNIT., > >> // DISP=(MOD,PASS),SPACE=(TRK,(3,3)), > >> // DCB=(RECFM=FB,LRECL=80,BLKSIZE=&SYSLBLK) > >> //SYSPRINT DD SYSOUT=* > >> //SYSCPRT DD DSN=IBMUSER.TEST.SYSPRINT(TESTDLL),DISP=SHR > >> //* > >> //*------------------------------------------------------------- > >> //* PRE-LINKEDIT STEP: > >> //*------------------------------------------------------------- > >> //PLKED EXEC PGM=EDCPRLK, > >> // PARM='&PPARM',COND=(4,LT,COMPILE) > >> //STEPLIB DD DSN=CEE.SCEERUN2,DISP=SHR > >> // DD DSN=CEE.SCEERUN,DISP=SHR > >> //SYSMSGS DD DSN=CEE.SCEEMSGP(&PLANG),DISP=SHR > >> //SYSLIB DD DSN=CEE.SCEEOBJ,DISP=SHR > >> // DD DSN=CEE.SCEECPP,DISP=SHR > >> // DD DSN=CEE.SCEERUN,DISP=SHR > >> // DD DSN=CEE.SCEERUN2,DISP=SHR > >> //* > >> //* SYSIN DD specifies the object module generated by the compile > >> //* step as input to the prelinker. > >> //* > >> //SYSIN DD DSN=*.COMPILE.SYSLIN,DISP=(MOD,DELETE) > >> // DD DSN=CBC.SCLBSID(IOSTREAM),DISP=SHR > >> //* > >> //* SYSMOD DD specifies the output dataset to contain the prelinked > >> //* object module generated by the prelinker. > >> //* > >> //SYSMOD DD DSN=&&PLKSET,UNIT=&TUNIT.,DISP=(NEW,PASS), > >> // SPACE=&TSPACE.,DCB=(RECFM=FB,LRECL=80,BLKSIZE=&SYSLBLK) > >> //SYSOUT DD SYSOUT=* > >> //SYSPRINT DD SYSOUT=* > >> //SYSDEFSD DD DSN=IBMUSER.TEST.SIDEDECK(TSTEXPORT),DISP=SHR > >> //* > >> //*------------------------------------------------------------------- > >> //* LINKEDIT STEP: > >> //*------------------------------------------------------------------- > >> //LKED EXEC PGM=HEWL,COND=((4,LT,COMPILE),(4,LT,PLKED)), > >> // PARM='&LPARM' > >> //STEPLIB DD DSN=CEE.SCEERUN2,DISP=SHR > >> // DD DSN=CEE.SCEERUN,DISP=SHR > >> //SYSLIB DD DSN=CEE.SCEEBND2,DISP=SHR > >> // DD DSN=CEE.SCEELKED,DISP=SHR > >> //* DD DSN=CEE.SCEEOBJ,DISP=SHR > >> // DD DSN=CBC.ACLBDLL,DISP=SHR > >> // DD DSN=CBC.ACLBDLL2(IOSX64),DISP=SHR > >> //SYSLIN DD DSN=*.PLKED.SYSMOD,DISP=(OLD,DELETE) > >> //* DD DSN=CEE.SCEELIB(CELQSCPP),DISP=SHR > >> // DD DSN=CEE.SCEELIB(C64),DISP=SHR > >> // >> T > > >> // DD DSN=CBC.SCLBSID(IOSX64),DISP=SHR > >> // DD DDNAME=SYSIN > >> //* > >> //* SYSLIN DD specifies the prelinked object module as input to the > >> //* linker. > >> //* > >> //* > >> //* SYSLMOD DD specifies the output dataset to contain the load module > >> //* generated by the linker. > >> //* > >> //SYSLMOD DD DSN=IBMUSER.TEST.LOADLIB(TESTDLL),DISP=SHR > >> //SYSUT1 DD UNIT=&TUNIT.,SPACE=&TSPACE. > >> //SYSPRINT DD SYSOUT=* > >> //SYSIN DD DUMMY > >> // > >> > >> > >> > >> > >> > >> > >> > >> > > >> ---------------------------------------------------------------------- >> For IBM-MAIN subscribe / signoff / archive access instructions, >> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN > > -- > Don Poitras - SAS Development - SAS Institute Inc. - SAS Campus Drive > sas...@sas.com (919) 531-5637 Cary, NC 27513 > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN