Running Metal C on MVS should produce code that will run on as a pipeline stage. You may be able to adapt it to the old PL/I support by writing/adapting the macros.
But you won't be able to call the regcmp() &c functions as they require the Language Environment. j. On 12 April 2011 03:25, Dave Jones <[email protected]> wrote: > Hmmmmm.....I wonder if it would be possible to take some plain C code. > with few or no calls to the C library (no malloc, printf, fopen, etc.) > and use the METAL option of the C/C++ z/OS compiler to get plain HLASM > code that would be LE-dependent free. Could that code then be used in > the PIPE's environment? > > DJ > > On 4/11/2011 6:29 PM, Ian S. Worthington wrote: >> >> Compile the open source lib? >> >> i >> >> ------ Original Message ------ >> Received: 05:50 PM COT, 04/11/2011 >> From: Paul Gilmartin<[email protected]> >> To: [email protected] >> Subject: Re: regexps? >> >>> On 4/11/2011 3:13 PM, Ian S. Worthington wrote: >>>> >>>> I'm looking for something to help me write regular expressions for >> >> pipelines. >>>> >>>> I've found the documentation for PATTERN but the stage itself seems not >>>> to >> >> be >>>> >>>> available and it is, perhaps, even harder to understand than unix >> >> regexps, >>>> >>>> unless maybe you're well versed in snobol. >>>> >>>> Are there any options available that perform better than custom rexx >> >> stages? >>>> >>> I asked a similar question several years ago, and John H. >>> suggested it was contingent on availability of a regex >>> library in assembler language. >>> >>> -- gil >> >
