Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Problem caracter '\' using bpxwunix

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
josessegura

New User


Joined: 12 Feb 2015
Posts: 6
Location: México,D.F.

PostPosted: Tue Jul 14, 2015 1:47 am    Post subject: Problem caracter '\' using bpxwunix
Reply with quote

Hello,

I'm trying to make a search for a valid IP pattern in
each member on a data set using 'grep' with bpxwunix in REXX,
but I'm noting that the character '\' or '{' is replaced by ':',
how I can solve this ?.

The regular expression is as follows (the expression was tested in a unix):

exp = '(25 [0-5] | 2 [0-4] [0-9] |? [01] [0-9] [0-9]) \.
(25 [0-5] | 2 [0-4] [0-9] | [01] [0-9] [0-9]?) \.
(25 [0-5] | 2 [0-4] [0-9] | [01] [0-9] [0-9]?) \.
(25 [0-5] | 2 [0-4] [0-9] | [01] [0-9] [0-9]?) "

That return code is 0, but does not return any result.

cmd = 'echo 127.0.0.1 | grep -E "' exp '"
bpxwunix cmd call out,,., STACK.
do i = 1 to out.0
say out.i
end

thx
Back to top
View user's profile Send private message

View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Having problem passing a variable to ... markzasz JCL & VSAM 12 Thu Jul 11, 2019 5:31 pm
No new posts Pipeline scan problem John Poulakos CICS 1 Thu Feb 28, 2019 10:02 pm
This topic is locked: you cannot edit posts or make replies. Problem while Decompressing the ZIP file Nethraa All Other Mainframe Topics 2 Tue Feb 26, 2019 6:55 am
No new posts Problem while Decompressing the ZIP file Nethraa All Other Mainframe Topics 6 Fri Feb 22, 2019 11:41 pm
No new posts Problem with OVERLAY - BI on SMF Record Ghellar DFSORT/ICETOOL 4 Sat Dec 01, 2018 9:41 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us