177 lines
5.3 KiB
HTML
177 lines
5.3 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
|
|
<TITLE>IPL system reference code (SRC) finder</TITLE>
|
|
<link rel="stylesheet" type="text/css" href="../rzahg/ic.css">
|
|
|
|
<SCRIPT LANGUAGE="Javascript" type="text/javascript">
|
|
|
|
var message1 = "Enter an SRC and then click Go.";
|
|
var cookieMess = "This finder uses cookies to function. Ensure that you have are using a browser that supports cookies and that cookies are enabled.";
|
|
var toomany = "System Reference Codes may not exceed eight characters. Re-enter a valid SRC.";
|
|
var wrongchar = "The SRC you entered contains a character that is not valid. SRCs consist of numbers 0-9 and letters A-F. Re-enter a valid SRC.";
|
|
|
|
|
|
//START NON-TRANSLATABLE
|
|
var notext = "zzzz";
|
|
|
|
function getCookieData(label) {
|
|
var labelLen = label.length;
|
|
var cLen = document.cookie.length;
|
|
var i=0;
|
|
var cEnd;
|
|
while (i < cLen) {
|
|
var j = i + labelLen;
|
|
if (document.cookie.substring(i,j) == label) {
|
|
cEnd = document.cookie.indexOf(";",j);
|
|
if (cEnd == -1) {
|
|
cEnd = document.cookie.length;
|
|
}
|
|
return unescape(document.cookie.substring(j+1,cEnd));
|
|
}
|
|
i++
|
|
}
|
|
|
|
//if they reach this point, no cookie data was found
|
|
return(notext);
|
|
}
|
|
|
|
function loadhidden() {
|
|
input = getCookieData("iplsrc"); //load stored data
|
|
if (input != notext && input != "*") {
|
|
document.srcfinder.searcher.value = input;
|
|
}
|
|
|
|
}
|
|
|
|
function storeValue(input) {
|
|
var exp = new Date();
|
|
var oneHourFromNow = exp.getTime() + (60 * 60 * 1000); //save data for one hour
|
|
exp.setTime(oneHourFromNow);
|
|
document.cookie = "iplsrc=" + input + ";expires=" + exp.toGMTString();
|
|
}
|
|
|
|
function valfind() {
|
|
tstring = document.srcfinder.searcher.value;
|
|
tempstring = tstring;
|
|
re = /\s*/;
|
|
tempstring = tempstring.split(re);
|
|
var x = 0;
|
|
while (x == 0) { //necessary for Netscape
|
|
if (tempstring[tempstring.length-1] == "") {
|
|
tempstring = tempstring.slice(0,tempstring.length-1);
|
|
} else {
|
|
x = 1;
|
|
}
|
|
}
|
|
if (tempstring.length > 8) {
|
|
alert(toomany);
|
|
return;
|
|
} else {
|
|
for (var b=0; b < tempstring.length; b++) {
|
|
tlt = tempstring[b].toUpperCase();
|
|
if (tlt != "0" && tlt != "" && tlt != "1" && tlt != "2" && tlt != "3" && tlt != "4" && tlt != "5" && tlt != "6" && tlt != "7" && tlt != "8"
|
|
&& tlt != "9" && tlt != "A" && tlt != "B" && tlt != "C" && tlt != "D" && tlt != "E" && tlt != "F") {
|
|
alert(wrongchar);
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
|
|
if (tstring == "") {
|
|
alert(message1);
|
|
} else {
|
|
storeValue(tstring);
|
|
input = getCookieData("iplsrc"); //load stored data
|
|
if (input == notext) { //cookie did not work, probably disabled
|
|
alert(cookieMess);
|
|
return;
|
|
}
|
|
window.location = "rzahbiplsrcfinder10.htm";
|
|
}
|
|
}
|
|
|
|
|
|
function valfind2() {
|
|
storeValue("*");
|
|
input = getCookieData("iplsrc"); //load stored data
|
|
if (input == "zzzz") { //cookie did not work, probably disabled
|
|
alert(cookieMess);
|
|
return;
|
|
}
|
|
window.location = "rzahbiplsrcfinder10.htm"
|
|
}
|
|
|
|
function detectenter(e) {
|
|
var charCode = (navigator.appName == "Netscape") ? e.which : e.keyCode;
|
|
if (charCode == 13) {
|
|
valfind();
|
|
return false;
|
|
}
|
|
}
|
|
//END NON-TRANSLATABLE
|
|
|
|
</script>
|
|
<LINK rel="stylesheet" type="text/css" href="../rzahg/ic.css">
|
|
</head>
|
|
|
|
<BODY onload="loadhidden()">
|
|
|
|
<!-- Java sync-link -->
|
|
<script language="Javascript" type="text/javascript" src="../rzahg/synch.js"></script>
|
|
|
|
<H2>IPL system reference code (SRC) finder</H2>
|
|
|
|
<noscript><p><b>Important:</b> This finder uses JavaScript<sup>(TM)</sup> to function. Ensure you are using a browser that supports
|
|
JavaScript and that JavaScript is enabled.</p></noscript>
|
|
|
|
<P>Use the IPL SRC finder to find information about SRC messages that are displayed on your server when you perform an IPL. The SRCs indicate
|
|
the status of the IPL and are often useful in problem analysis. You can search for an SRC by name, or display a list of the most common SRCs.</P>
|
|
|
|
<FORM NAME="srcfinder">
|
|
<table cellspacing="4" cellpadding="4" border="0" WIDTH="85%" ALIGN="CENTER">
|
|
<TR>
|
|
<TD COLSPAN=2><br></td>
|
|
</TR>
|
|
<TR>
|
|
<TD colspan="2" class="finderbar"><b><label for="searcher">Search by name</label></b></TD>
|
|
</TR>
|
|
<TR>
|
|
<TD colspan="2">Search by name for individual SRCs.</TD>
|
|
</TR>
|
|
<TR>
|
|
<TD width="15%"><br><br></TD>
|
|
<TD>Example: Enter <i>C6004016</i> or <i>C600</i>.<br>
|
|
<INPUT TYPE="text" NAME="searcher" id="searcher" onKeyPress = "return detectenter(event)" maxlength="9">
|
|
<INPUT TYPE="button" NAME="Go" VALUE="Go" onclick="valfind()">
|
|
</TD>
|
|
</TR>
|
|
<TR>
|
|
<TD COLSPAN="2"><br></TD>
|
|
</TR>
|
|
</table>
|
|
</FORM>
|
|
|
|
<table cellspacing="4" cellpadding="4" border="0" WIDTH="85%" ALIGN="CENTER">
|
|
<tr>
|
|
<td colspan="2" class="finderbar"><b>Search by list</b></td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2">Click the Show all button to display a list of SRCs that commonly appear on the control panel when your restart a server.</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%"><br><br></td>
|
|
<td>
|
|
<FORM NAME="srcfinderall">
|
|
<INPUT TYPE="button" NAME="Show common IPL SRCs" VALUE="Show all" onclick="valfind2()">
|
|
</FORM>
|
|
</td>
|
|
</tr>
|
|
<TR>
|
|
<TD COLSPAN="2"><br></TD>
|
|
</TR>
|
|
</table>
|
|
</BODY></HTML>
|
|
|