Property file containing regular expression

General discussion on the JZOS batch launcher and toolkit
Post Reply
ual
Posts: 3
Joined: Tue Jun 07, 2011 2:47 pm

Property file containing regular expression

Post by ual »

I am probably doing something wrong and need your help in resolving what it appears to me is an encoding problem. I am reading a Property file containing regular expression string patterns and the patterns are not finding anything. There is not too much info out there in reference to zOS and regular expression. Your help would be highly appreciated.

<code>
Properties zProp = new Properties();
BufferedReader reader = FileFactory.newBufferedReader(zName,
FileFactory.getDefaultJavaIoEncoding());
zProp.load(reader);
</code>

JVMJZBL1001N JZOS batch Launcher Version: 2.4.3 developerWorks 2011-10-11
JVMJZBL1002N Copyright (C) IBM Corp. 2011. All rights reserved.
java version "1.6.0"
Java(TM) SE Runtime Environment (build 20110418_80450)
IBM J9 VM (build 2.6, JRE 1.6.0 z/OS s390-31 20110418_80450 (JIT enabled, AOT enabled)
J9VM - R26_Java626_GA_FP1_20110418_1915_B80450
JIT - r11_20110215_18645ifx8
GC - R26_Java626_GA_FP1_20110418_1915_B80450
J9CL - 20110418_80450)
Post Reply