objShowHistory.setPrev(BigInteger.valueOf(1));
Answer objAnswer = null;
if(flgRunAsSchedulerAPIJob) {
logger.debug("... runs as Job Scheduler API job");
String strShowHistoryXML = objShowHistory.toXMLString();
String answerXML = objJSCommands.executeXML(strShowHistoryXML);
objAnswer = objShowHistory.getAnswer(answerXML);
}
else {
logger.debug("... runs as command line job");