numRecs = (int) Math.min(maxRecs.longValue(), maximumRecords);
long startPoint = 1;
PositiveInteger startRec = request.getStartRecord();
if(startRec!=null)
startPoint=startRec.longValue();
if (startPoint>postingsCount)
diagnostic(SRWDiagnostic.FirstRecordPositionOutOfRange,
null, response);
if ((startPoint-1+numRecs)>postingsCount)