109 lines
4.1 KiB
HTML
109 lines
4.1 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 4.0//EN">
|
|
<html>
|
|
<head>
|
|
<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. -->
|
|
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
|
|
<title>Windows Server installation advisor--Resource name</title>
|
|
<script language="Javascript" type="text/javascript" src="rzahqadvcommon.js"></script>
|
|
<script type="text/javascript" language="Javascript">
|
|
<!-- // Hide script from older browsers
|
|
|
|
var errMess = "The resource name is not in a valid format. The first character must be a letter (A-Z), dollar sign ($), pound sign (#), or 'at' sign (@). The remaining characters can contain these characters as well as digits (0-9), underscores (_), and periods (.).";
|
|
var errMess1 = "You must enter a resource name.";
|
|
var errMess2 = "The resource name must contain at least three characters.";
|
|
|
|
//START NON-TRANSLATABLE
|
|
//Obtain name of HTML file in parent frame.
|
|
var parentDir = parent.window.location.href.substring(0,location.href.lastIndexOf('/')+1);
|
|
var parentUrl = parent.window.location.href.substring(parentDir.length,parent.window.location.href.length+1);
|
|
if (parentUrl.indexOf("#") >= 0) { parentUrl = parentUrl.substring(0,parentUrl.indexOf("#"));}
|
|
|
|
function checkFrame() {
|
|
//Is the hidden frame already loaded with the correct html?
|
|
if (parentUrl != "rzahqadvisor1.htm") {
|
|
window.location = "rzahqadvisor1.htm"; //load advisor frameset
|
|
return;
|
|
} else {
|
|
//Obtain name of HTML file in hidden frame.
|
|
var hiddenDir = parent.hidden.window.location.href.substring(0,location.href.lastIndexOf('/')+1);
|
|
var hiddenUrl = parent.hidden.window.location.href.substring(hiddenDir.length,parent.hidden.window.location.href.length+1);
|
|
if (hiddenUrl.indexOf("#") >= 0) { hiddenUrl = hiddenUrl.substring(0,hiddenUrl.indexOf("#"));}
|
|
if (hiddenUrl != "rzahqadvhidden.htm") {
|
|
//Correct HTML not loaded, load it
|
|
parent.hidden.window.location = "rzahqadvhidden.htm";
|
|
} else { //already loaded
|
|
getData();
|
|
}
|
|
}
|
|
}
|
|
|
|
function getData() {
|
|
if (!isEmpty(parent.hidden.v1[4])) {
|
|
document.form1.resname.value = parent.hidden.v1[4];
|
|
}
|
|
}
|
|
|
|
function onNext() {
|
|
if (isEmpty(document.form1.resname.value)) {
|
|
alert(errMess1);
|
|
return;
|
|
}
|
|
//Check if resournce name is alphanumeric
|
|
if (isValidName(document.form1.resname.value) == false) {
|
|
alert(errMess);
|
|
return;
|
|
} else {
|
|
var tempA = document.form1.resname.value;
|
|
if (tempA.length < 3 || tempA.length > 10) {
|
|
alert(errMess2);
|
|
return;
|
|
} else {
|
|
//Save data
|
|
parent.hidden.v1[4] = document.form1.resname.value;
|
|
//Next page
|
|
if (parent.hidden.v1[3] == "2689") {
|
|
window.location = "rzahqadvisor5.htm";
|
|
} else { //IXS models default to full install
|
|
window.location = "rzahqadvisor6.htm";
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
function onBack() {
|
|
window.location = "rzahqadvisor3.htm";
|
|
}
|
|
|
|
//END NON-TRANSLATABLE
|
|
|
|
////////// -->
|
|
</script>
|
|
<LINK rel="stylesheet" type="text/css" href="../rzahg/ic.css">
|
|
</head>
|
|
<body onLoad="checkFrame()">
|
|
<h2>Windows Server installation advisor</h2>
|
|
<strong>Resource name</strong>
|
|
|
|
<p>To determine the hardware resource name, enter <tt>DSPHDWRSC *CMN</tt> at the i5/OS command line.
|
|
Look for a name in the form LINxx, where xx is a number. The text associated with this name should
|
|
indicate that the resource is a file server input/output adapter (IOA).</p>
|
|
|
|
<p>What i5/OS hardware resource name do you want to use for the hardware type that you selected?</p>
|
|
<form name="form1">
|
|
<blockquote>
|
|
<label for="resname">Resource name:</label></td>
|
|
<input type="text" name="resname" id="resname" maxlength="10"></td>
|
|
</blockquote>
|
|
<br><br>
|
|
<center>
|
|
<input type="button" value="<< Back" onClick="onBack()">
|
|
<input type="button" value="Next >>" onClick="onNext()">
|
|
</center>
|
|
</form>
|
|
</body>
|
|
</html>
|