ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzahq_5.4.0.1/rzahqadvisor18.htm

546 lines
22 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<!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--Restricted device resources</title>
<script language="Javascript" type="text/javascript" src="../rzahg/iccommon.js"></script>
<script language="Javascript" type="text/javascript" src="rzahqadvcommon.js"></script>
<script type="text/javascript" language="Javascript">
<!-- // Hide script from older browsers
var errMess = "You selected to restrict specific devices, but you did not specify any devices. Either uncheck the specific devices checkbox or enter at least one device to continue.";
var errMess1 = "Specify at least one device to restrict or select not to restrict any devices.";
var tooMany1 = "Since you have selected to restrict all tape resources, you may only select to restrict 9 specific devices. Click OK to automatically remove device 10 and continue, or click Cancel to change your restrictions.";
var tooMany1a = "Since you have selected to restrict all tape resources, you may only select to restrict 9 specific devices. Click OK to automatically remove device 9 and continue, or click Cancel to change your restrictions.";
var tooMany2 = "Since you have selected to restrict all optical resources, you may only select to restrict 9 specific devices. Click OK to automatically remove device 10 and continue, or click Cancel to change your restrictions.";
var tooMany2a = "Since you have selected to restrict all optical resources, you may only select to restrict 9 specific devices. Click OK to automatically remove device 9 and continue, or click Cancel to change your restrictions.";
var errMess2 = "You entered a device that 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 (.).";
//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[29])) {
if (parseInt(parent.hidden.v1[29]) == 2) {
document.form1.rad[1].checked = true;
if (!isEmpty(parent.hidden.v1[30])) {
if (parseInt(parent.hidden.v1[30]) == 1) {
document.form1.ch1.checked = true
}
}
if (!isEmpty(parent.hidden.v1[31])) {
if (parseInt(parent.hidden.v1[31]) == 1) {
document.form1.ch2.checked = true
}
}
if (!isEmpty(parent.hidden.v1[30]) && !isEmpty(parent.hidden.v1[31])) {
MM_showHideLayers('specdiv','','hide');
} else {
MM_showHideLayers('specdiv','','show');
if (!isEmpty(parent.hidden.v1[32])) {
if (parseInt(parent.hidden.v1[32]) == 1) {
if (isNS && !isNS6) {
document.layers.specdiv.document.form2.ch3.checked = true;
if (!isEmpty(parent.hidden.v1[33])) {
document.layers.specdiv.document.form2.d1.value = parent.hidden.v1[33];
}
if (!isEmpty(parent.hidden.v1[34])) {
document.layers.specdiv.document.form2.d2.value = parent.hidden.v1[34];
}
if (!isEmpty(parent.hidden.v1[35])) {
document.layers.specdiv.document.form2.d3.value = parent.hidden.v1[35];
}
if (!isEmpty(parent.hidden.v1[36])) {
document.layers.specdiv.document.form2.d4.value = parent.hidden.v1[36];
}
if (!isEmpty(parent.hidden.v1[37])) {
document.layers.specdiv.document.form2.d5.value = parent.hidden.v1[37];
}
if (!isEmpty(parent.hidden.v1[38])) {
document.layers.specdiv.document.form2.d6.value = parent.hidden.v1[38];
}
if (!isEmpty(parent.hidden.v1[39])) {
document.layers.specdiv.document.form2.d7.value = parent.hidden.v1[39];
}
if (!isEmpty(parent.hidden.v1[40])) {
document.layers.specdiv.document.form2.d8.value = parent.hidden.v1[40];
}
if (!isEmpty(parent.hidden.v1[41])) {
document.layers.specdiv.document.form2.d9.value = parent.hidden.v1[41];
}
if (!isEmpty(parent.hidden.v1[42])) {
document.layers.specdiv.document.form2.d10.value = parent.hidden.v1[42];
}
} else {
document.form2.ch3.checked = true;
if (!isEmpty(parent.hidden.v1[33])) {
document.form2.d1.value = parent.hidden.v1[33];
}
if (!isEmpty(parent.hidden.v1[34])) {
document.form2.d2.value = parent.hidden.v1[34];
}
if (!isEmpty(parent.hidden.v1[35])) {
document.form2.d3.value = parent.hidden.v1[35];
}
if (!isEmpty(parent.hidden.v1[36])) {
document.form2.d4.value = parent.hidden.v1[36];
}
if (!isEmpty(parent.hidden.v1[37])) {
document.form2.d5.value = parent.hidden.v1[37];
}
if (!isEmpty(parent.hidden.v1[38])) {
document.form2.d6.value = parent.hidden.v1[38];
}
if (!isEmpty(parent.hidden.v1[39])) {
document.form2.d7.value = parent.hidden.v1[39];
}
if (!isEmpty(parent.hidden.v1[40])) {
document.form2.d8.value = parent.hidden.v1[40];
}
if (!isEmpty(parent.hidden.v1[41])) {
document.form2.d9.value = parent.hidden.v1[41];
}
if (!isEmpty(parent.hidden.v1[42])) {
document.form2.d10.value = parent.hidden.v1[42];
}
}
}
}
}
}
}
}
function onNext() {
dCount = 0;
if (isNS && !isNS6) {
if (document.layers.specdiv.document.form2.ch3.checked == true) {
check3 = true;
} else {
check3 = false;
}
dev1 = document.layers.specdiv.document.form2.d1.value;
dev2 = document.layers.specdiv.document.form2.d2.value;
dev3 = document.layers.specdiv.document.form2.d3.value;
dev4 = document.layers.specdiv.document.form2.d4.value;
dev5 = document.layers.specdiv.document.form2.d5.value;
dev6 = document.layers.specdiv.document.form2.d6.value;
dev7 = document.layers.specdiv.document.form2.d7.value;
dev8 = document.layers.specdiv.document.form2.d8.value;
dev9 = document.layers.specdiv.document.form2.d9.value;
dev10 = document.layers.specdiv.document.form2.d10.value;
} else {
if (document.form2.ch3.checked == true) {
check3 = true;
} else {
check3 = false;
}
dev1 = document.form2.d1.value;
dev2 = document.form2.d2.value;
dev3 = document.form2.d3.value;
dev4 = document.form2.d4.value;
dev5 = document.form2.d5.value;
dev6 = document.form2.d6.value;
dev7 = document.form2.d7.value;
dev8 = document.form2.d8.value;
dev9 = document.form2.d9.value;
dev10 = document.form2.d10.value;
}
//Save data
for (var i=29; i < 43; i++) {
parent.hidden.v1[i] = "";
}
if (document.form1.rad[0].checked == true) {
parent.hidden.v1[29] = "1";
} else {
if (document.form1.rad[1].checked == true) {
if (document.form1.ch1.checked == false && document.form1.ch2.checked == false && check3 == false) {
alert(errMess1);
return;
} else {
parent.hidden.v1[29] = "2";
if (document.form1.ch1.checked == true) {
parent.hidden.v1[30] = "1";
}
if (document.form1.ch2.checked == true) {
parent.hidden.v1[31] = "1";
}
if (check3 == true && (document.form1.ch1.checked == false || document.form1.ch2.checked == false)) {
parent.hidden.v1[32] = "1";
currentIndex = 33;
if (!isEmpty(dev1)) {
if (isValidName(dev1) == false) {
alert(errMess2);
if (isNS && !isNS6) {
document.layers.specdiv.document.form2.d1.focus();
document.layers.specdiv.document.form2.d1.select();
} else {
document.form2.d1.focus();
document.form2.d1.select();
}
return;
} else {
parent.hidden.v1[currentIndex] = dev1;
dCount = dCount + 1;
currentIndex = currentIndex + 1;
}
}
if (!isEmpty(dev2)) {
if (isValidName(dev2) == false) {
alert(errMess2);
if (isNS && !isNS6) {
document.layers.specdiv.document.form2.d2.focus();
document.layers.specdiv.document.form2.d2.select();
} else {
document.form2.d2.focus();
document.form2.d2.select();
}
return;
} else {
parent.hidden.v1[currentIndex] = dev2;
dCount = dCount + 1;
currentIndex = currentIndex + 1;
}
}
if (!isEmpty(dev3)) {
if (isValidName(dev3) == false) {
alert(errMess2);
if (isNS && !isNS6) {
document.layers.specdiv.document.form2.d3.focus();
document.layers.specdiv.document.form2.d3.select();
} else {
document.form2.d3.focus();
document.form2.d3.select();
}
return;
} else {
parent.hidden.v1[currentIndex] = dev3;
dCount = dCount + 1;
currentIndex = currentIndex + 1;
}
}
if (!isEmpty(dev4)) {
if (isValidName(dev4) == false) {
alert(errMess2);
if (isNS && !isNS6) {
document.layers.specdiv.document.form2.d4.focus();
document.layers.specdiv.document.form2.d4.select();
} else {
document.form2.d4.focus();
document.form2.d4.select();
}
return;
} else {
parent.hidden.v1[currentIndex] = dev4;
dCount = dCount + 1;
currentIndex = currentIndex + 1;
}
}
if (!isEmpty(dev5)) {
if (isValidName(dev5) == false) {
alert(errMess2);
if (isNS && !isNS6) {
document.layers.specdiv.document.form2.d5.focus();
document.layers.specdiv.document.form2.d5.select();
} else {
document.form2.d5.focus();
document.form2.d5.select();
}
return;
} else {
parent.hidden.v1[currentIndex] = dev5;
dCount = dCount + 1;
currentIndex = currentIndex + 1;
}
}
if (!isEmpty(dev6)) {
if (isValidName(dev6) == false) {
alert(errMess2);
if (isNS && !isNS6) {
document.layers.specdiv.document.form2.d6.focus();
document.layers.specdiv.document.form2.d6.select();
} else {
document.form2.d6.focus();
document.form2.d6.select();
}
return;
} else {
parent.hidden.v1[currentIndex] = dev6;
dCount = dCount + 1;
currentIndex = currentIndex + 1;
}
}
if (!isEmpty(dev7)) {
if (isValidName(dev7) == false) {
alert(errMess2);
if (isNS && !isNS6) {
document.layers.specdiv.document.form2.d7.focus();
document.layers.specdiv.document.form2.d7.select();
} else {
document.form2.d7.focus();
document.form2.d7.select();
}
return;
} else {
parent.hidden.v1[currentIndex] = dev7;
dCount = dCount + 1;
currentIndex = currentIndex + 1;
}
}
if (!isEmpty(dev8)) {
if (isValidName(dev8) == false) {
alert(errMess2);
if (isNS && !isNS6) {
document.layers.specdiv.document.form2.d8.focus();
document.layers.specdiv.document.form2.d8.select();
} else {
document.form2.d8.focus();
document.form2.d8.select();
}
return;
} else {
parent.hidden.v1[currentIndex] = dev8;
dCount = dCount + 1;
currentIndex = currentIndex + 1;
}
}
if (!isEmpty(dev9)) {
if (isValidName(dev9) == false) {
alert(errMess2);
if (isNS && !isNS6) {
document.layers.specdiv.document.form2.d9.focus();
document.layers.specdiv.document.form2.d9.select();
} else {
document.form2.d9.focus();
document.form2.d9.select();
}
return;
} else {
parent.hidden.v1[currentIndex] = dev9;
dCount = dCount + 1;
currentIndex = currentIndex + 1;
}
}
if (!isEmpty(dev10)) {
if (isValidName(dev10) == false) {
alert(errMess2);
if (isNS && !isNS6) {
document.layers.specdiv.document.form2.d10.focus();
document.layers.specdiv.document.form2.d10.select();
} else {
document.form2.d10.focus();
document.form2.d10.select();
}
return;
} else {
parent.hidden.v1[currentIndex] = dev10;
dCount = dCount + 1;
currentIndex = currentIndex + 1;
}
}
if (currentIndex == 33) {
alert(errMess);
document.form2.d1.focus();
return;
}
}
}
}
//can only restrict 10 total
if (dCount >= 10) {
if (document.form1.ch1.checked == true && document.form1.ch2.checked == false) {
if (!confirm(tooMany1)) {
return;
} else {
parent.hidden.v1[42] = "";
}
} else {
if (document.form1.ch2.checked == true && document.form1.ch1.checked == false) {
if (!confirm(tooMany2)) {
return;
} else {
parent.hidden.v1[42] = "";
}
}
}
}
}
//Next page
if (parseInt(parent.hidden.v1[5],10) == 1 && (parent.hidden.v1[3] == "2689" || parent.hidden.v1[3] == "iSCSI")) { //basic install and hardware type is 2689 or iSCSI
window.location = "rzahqadvisor25.htm";
} else {
window.location = "rzahqadvisor19.htm";
}
}
function onBack() {
window.location = "rzahqadvisor17.htm";
}
function checkRadios() {
if (isNS && !isNS6) {
document.layers.specdiv.document.form2.ch3.checked = true;
} else {
document.form2.ch3.checked = true;
}
selectRadio(1);
}
function checkRadio(field) {
if (field.checked == true) {
selectRadio(1);
}
if (document.form1.ch1.checked == true && document.form1.ch2.checked == true) {
MM_showHideLayers('specdiv','','hide');
} else {
MM_showHideLayers('specdiv','','show');
}
}
//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>Restricted device resources</strong>
<p>Restricted device resources restrict iSeries tape and optical devices from being used by the Windows server. You
can restrict up to 10 device resources.</p>
<p>Do you want to restrict any devices?</p>
<table>
<form name="form1">
<tr>
<td>&nbsp;&nbsp;&nbsp;</td>
<td><input type="radio" name="rad" value="nores" id="nores" checked></td>
<td><label for="nores">Do not restrict tape or optical devices</label></td>
</tr>
<tr>
<td>&nbsp;&nbsp;&nbsp;</td>
<td><input type="radio" name="rad" value="spec" id="spec"></td>
<td><label for="spec">Specify which devices to restrict</label></td>
</tr>
<tr>
<td>&nbsp;&nbsp;&nbsp;</td>
<td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td>
<table>
<tr>
<td><input type="checkbox" name="ch1" value="ch1" id="ch1" onClick="checkRadio(this.form.ch1)"></td>
<td><label for="ch1">All tape resources</label></td>
</tr>
</table>
<table>
<tr>
<td><input type="checkbox" name="ch2" value="ch2" id="ch2" onClick="checkRadio(this.form.ch2)"></td>
<td><label for="ch2">All optical resources</label></td>
</tr>
</table>
</td></tr>
</form>
</table>
<div id="specdiv" style="position: relative;">
<table>
<form name="form2">
<tr>
<td>&nbsp;&nbsp;&nbsp;</td>
<td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td>
<table>
<tr>
<td><input type="checkbox" name="ch3" value="ch3" id="ch3" onClick="checkRadio(this.form.ch3)"></td>
<td><label for="ch3">Specific devices</label></td>
</tr>
<tr>
<td></td>
<td>
<table>
<tr>
<td><label for="d1">Device 1:</label></td>
<td><input type="text" name="d1" maxlength="10" id="d1" onKeyPress="checkRadios()"></td>
<td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td><label for="d6">Device 6:</label></td>
<td><input type="text" name="d6" maxlength="10" id="d6" onKeyPress="checkRadios()"></td>
</tr>
<tr>
<td><label for="d2">Device 2:</label></td>
<td><input type="text" name="d2" maxlength="10" id="d2" onKeyPress="checkRadios()"></td>
<td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td><label for="d7">Device 7:</label></td>
<td><input type="text" name="d7" maxlength="10" id="d7" onKeyPress="checkRadios()"></td>
</tr>
<tr>
<td><label for="d3">Device 3:</label></td>
<td><input type="text" name="d3" maxlength="10" id="d3" onKeyPress="checkRadios()"></td>
<td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td><label for="d8">Device 8:</label></td>
<td><input type="text" name="d8" maxlength="10" id="d8" onKeyPress="checkRadios()"></td>
</tr>
<tr>
<td><label for="d4">Device 4:</label></td>
<td><input type="text" name="d4" maxlength="10" id="d4" onKeyPress="checkRadios()"></td>
<td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td><label for="d9">Device 9:</label></td>
<td><input type="text" name="d9" maxlength="10" id="d9" onKeyPress="checkRadios()"></td>
</tr>
<tr>
<td><label for="d5">Device 5:</label></td>
<td><input type="text" name="d5" maxlength="10" id="d5" onKeyPress="checkRadios()"></td>
<td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td><label for="d10">Device 10:</label></td>
<td><input type="text" name="d10" maxlength="10" id="d10" onKeyPress="checkRadios()"></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</form>
</table>
</div>
<br><br>
<form name="form3">
<center>
<input type="button" value="&lt;&lt; Back" onClick="onBack()">
<input type="button" value="Next &gt;&gt;" onClick="onNext()">
</center>
</form>
</body>
</html>