StringWriter writer = new StringWriter();
BufferedReader in = new BufferedReader(new StringReader(body));
try {
PreprocessorContext pc = new PreprocessorContext(50);
pc.loadParamVal(Arrays.asList(args), null);
Map<String, String> paramVal = pc.getParamVal();
for (Map.Entry<String, String> e : pigContext.getParamVal().entrySet()) {
if (paramVal.containsKey(e.getKey())) {
throw new ParserException(
"Macro contains argument or return value " + e.getKey() + " which conflicts " +
"with a Pig parameter of the same name."