169 lines
5.5 KiB
HTML
169 lines
5.5 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">
|
||
|
<meta name="Copyright" content="Copyright (c) 2004 by IBM Corporation">
|
||
|
<!-- All rights reserved. Licensed Materials Property of IBM -->
|
||
|
<!-- US Government Users Restricted Rights -->
|
||
|
<!-- Use, duplication or disclosure restricted by -->
|
||
|
<!-- GSA ADP Schedule Contract with IBM Corp. -->
|
||
|
<TITLE>Logical partition SRC finder</TITLE>
|
||
|
|
||
|
<SCRIPT LANGUAGE="Javascript" type="text/javascript">
|
||
|
<!-- // Hide script from older browsers
|
||
|
|
||
|
var message1 = "Enter an SRC and then click Go.";
|
||
|
var toomany = "Logical partition SRCs may not exceed 9 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
|
||
|
function getCookieData(label) {
|
||
|
var labelLen = label.length;
|
||
|
var cLen = document.cookie.length;
|
||
|
var i=0;
|
||
|
var cEnd;
|
||
|
var retNone = "zzzz";
|
||
|
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(retNone);
|
||
|
}
|
||
|
|
||
|
function loadhidden() {
|
||
|
input = getCookieData("lparsrc"); //load stored data
|
||
|
if (input != "zzzz" && 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 = "lparsrc=" + input + ";expires=" + exp.toGMTString();
|
||
|
}
|
||
|
|
||
|
function valfind() {
|
||
|
if (document.srcfinder.searcher.value == "*" || document.srcfinder.searcher.value == "") {
|
||
|
storeValue("*");
|
||
|
window.location = "rzaitsrcfinder10.htm"
|
||
|
} else {
|
||
|
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 > 9) {
|
||
|
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);
|
||
|
window.location = "rzaitsrcfinder10.htm"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
function valfind2() {
|
||
|
window.location = "rzaitsrclist.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>Logical partition SRC finder</H2>
|
||
|
|
||
|
<noscript><p><strong>Important:</strong> This finder uses JavaScript<SUP>(TM)</SUP> to function but JavaScript is either not available or enabled in your browser.
|
||
|
If you do not have access to a browser that supports JavaScript, you can still view the <a href="rzaitsrclist.htm">list of all logical partition SRCs</a>.</p></noscript>
|
||
|
<P>Use the Logical partition SRC finder to find information about system reference code (SRC) messages related to logical partitions. You can find
|
||
|
an SRC by name, or display a list of logical partition SRCs that are the most common.</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"><font size="+1"><STRONG>Find by name</strong></font></TD>
|
||
|
</TR>
|
||
|
<TR>
|
||
|
<TD colspan="2"><label for="searcher">Search by name for individual SRCs.</label></TD>
|
||
|
</TR>
|
||
|
<TR>
|
||
|
<TD width="15%"><BR><BR></TD>
|
||
|
<TD><FONT SIZE="-1">Example: Enter <EM>B201 3200</EM> or <EM>3200</EM>.</FONT><BR>
|
||
|
<INPUT TYPE="text" id="searcher" NAME="searcher" onKeyPress="return detectenter(event)" maxlength="11"> <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"><font size="+1"><STRONG>Find by list</strong></font></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td colspan="2">Click the Show All button to display a list of logical partition SRCs that are the most common.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td width="15%"><br><br></td>
|
||
|
<td>
|
||
|
<FORM NAME="srcfinderall">
|
||
|
<INPUT TYPE="button" NAME="show all" VALUE="Show All" onclick="valfind2()">
|
||
|
</FORM>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<TR>
|
||
|
<TD COLSPAN="2"><br></TD>
|
||
|
</TR>
|
||
|
</table>
|
||
|
</BODY></HTML>
|
||
|
|