MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Regular Expressions in PL/1 program

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
bauer
Intermediate


Joined: 10 Oct 2003
Posts: 315
Topics: 49
Location: Germany

PostPosted: Mon Mar 14, 2011 5:07 am    Post subject: Regular Expressions in PL/1 program Reply with quote

Hi all,

exit's any PL/1, z/OS, LE Runtime routine for regular expressions?

After some searching / asking google, I think, the answer is no?!

regards,
bauer
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Mon Mar 14, 2011 10:56 am    Post subject: Reply with quote

bauer,

AFAIK Regular expressions are not supported by most of mainframe languages. However I guess you can code a C or C++ routines which can use regular expressions with Posix and call it from PLI

Here is an example of using regular expressions in C.

http://www.peope.net/old/regex.html

Here is an example of PLI main module calling C++ subroutine

http://publib.boulder.ibm.com/infocenter/zos/v1r9/index.jsp?topic=/com.ibm.zos.r9.ceea400/cplappx.htm

Kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
bauer
Intermediate


Joined: 10 Oct 2003
Posts: 315
Topics: 49
Location: Germany

PostPosted: Mon Mar 14, 2011 11:50 am    Post subject: Reply with quote

Hi kolusu,

thank you for your reply. I will check, if it's possible to link c and pl/1 object code together to one load module, I never saw a link jcl in my company to do this.

And also to check: Is it a good idea to link c routines and PL/1 in our environment.

regards,
bauer
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group