Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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 Problem reading GTF trace output danik56 ABENDS & Debugging 7 Thu Mar 16, 2017 1:02 pm
No new posts ROUNDED Problem with COMPUTE statement shalem COBOL Programming 11 Thu Feb 09, 2017 8:16 pm
No new posts SYMNAMES problem jacobdng DFSORT/ICETOOL 7 Thu Dec 22, 2016 7:47 am
No new posts Problem in writing Output file vickey_dw COBOL Programming 5 Mon Nov 14, 2016 11:14 pm
No new posts Problem in Running Query via JCL vickey_dw DB2 3 Tue Oct 18, 2016 11:11 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us