Ze'ev, This JCL works for me:
//TSOUSERZ JOB (ACCT,ROOM),'PROGRAMMER', // CLASS=A,MSGCLASS=X,NOTIFY=&SYSUID //* //JCLLIB JCLLIB ORDER=SYS1.IGY.SIGYPROC //* //**************************************************************** //* COMPILE, LINK AND EXECUTE COBOL PROGRAM WITH ENTERPRISE COBOL //**************************************************************** //COMPILE EXEC IGYWCLG, // PARM.LKED='MAP,LET,LIST', // LIBPRFX=SYS1.CEE, // LNGPRFX=SYS1.IGY, // PGMLIB=TSOUSER.TEST.REGXLOAD, // GOPGM=TSTREGEX //COBOL.SYSIN DD DISP=SHR,DSN=TSOUSER.TEST.REGXSRCE(TSTREGEX) //LKED.SYSLMOD DD DSN=&PGMLIB(&GOPGM),SPACE=,UNIT=,DISP=SHR //LKED.SYSIN DD DUMMY //GO.SYSOUT DD SYSOUT=* //* As expected, SYSOUT output is: match no match COBOL options NODYNAM and CODEPAGE(1140) were used for the compile step. Note that here the COBOL libraries are SYS1.IGY.XXXXXXX, LE libraries are SYS1.CEE.XXXXXXX. You will need to change LNGPRFX and LIBPRFX to match your system. Note also that IBM's IGYWCLG (and IGYWCL) PROC's have SCEELKED as LKED SYSLIB, providing static link of "regxxxxx" modules into the load module. I did try a dynamic call version, with DYNAM compile option with both static program names in the CALL statements and also with initialized program name variables in the CALL statements, and like Frank S. I got S0C1's or S806 abends at execution time even with SCEELKED/RUN/RUN2 in the STEPLIB for the execution step, so dynamic call of these C runtime routines is apparently not possible, one must use NODYNAM static CALL's and link them into the load module. HTH Peter -----Original Message----- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Farley, Peter x23353 Sent: Thursday, July 04, 2013 5:40 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Announcing PCRE 8.33 for native z/OS Ze'ev, I would if I could. I used our shop-standard SCLM system to store and compile the test program, and most of that translate process is driven by a complex series of Rexx exec's, not JCL. I do have some compile-and-link-outside-the-SCLM JCL though, so when I get a chance I will retest the program with just plain JCL and share my results. Peter -----Original Message----- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Ze'ev Atlas Sent: Thursday, July 04, 2013 4:09 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Announcing PCRE 8.33 for native z/OS Frank and Peter Would you be so kind to share the JCL needed to compile it in any flavor please. I do not mind whether somebody use PCRE or opting to use the Posix compliant IBM supplied modules, both are fine for any simple (or even semi-complex) regex (if you know what to expect from Posix vs. Perl compliance.) I'd like people to familirize ith the concept and use it. ZA -- This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN