Setup Instructions [ Using the 900 Series HP 3000: Advanced Skills Module 0: Begin Here ] MPE/iX 5.0 Documentation
Using the 900 Series HP 3000: Advanced Skills Module 0: Begin Here
Setup Instructions
NOTE If you are responsible for setting up your own account(s) for this
course, you must have SM capability to install the course material.
If you do not, please ask your system manager to install the
material according to the following instructions.
This section helps you to create the account structure for all users
doing the MPE/iX exercises associated with this training.
Equipment
You should have the following equipment:
* one 900 Series HP 3000 (MPE/iX operating system)
* two 7935 or 7937 disk drives (at least 1000 sectors per student
account and 2000 sectors per course manager account)
* one tape drive (1600 bpi or 6250 bpi)
* one or two line printers
* one terminal per student, connected to the 900 Series HP 3000
* one 900 Series lab tape (STORE format)
Procedure summary
There are nine steps in setting up the account structure for students
taking the course. The following is a general description of the steps;
each step is explained in greater detail on later pages, under
"Step-by-Step Procedure."
1. Notify system management and operations of course needs (disk
space, paper).
2. Restore the instructor's account from tape to disk.
a. Modify the instructor's account capabilities.
b. Verify the current job limit, session limit, and job
security level.
3. Log on as the instructor and activate UDCs.
4. Execute the ADVSETUP command file and its options to create the
student accounts for either of the following courses:
Fundamentals Skills Course:
* Create the Fundamental Skills accounts from scratch.
Advanced Skills Course:
* Purge the existing Fundamental Skills accounts and create
new Advanced Skills accounts.
- OR -
* Create the Advanced Skills accounts from scratch.
5. Execute the MOVEFILE command file to set up Advanced Skills
account files.
_________________________________________________________________
NOTE Execute MOVEFILE only if you are setting up Advanced Skills
accounts. This file creates job files that let you log on
to each student account and move files over from the
instructor account.
_________________________________________________________________
6. Execute the CLEANUP command file to perform file management
activities.
7. Remove the tape from the tape drive and store it in a safe place.
8. Create new student accounts as needed.
9. Purge existing student accounts as needed.
Each of the steps will now be explained.
Step-by-step procedure
1. Notify system management and operations of the course
requirements:
Disk space = 2000 sectors for course manager account
1000 sectors for each student account
Paper = full supply of line printer paper
JOBSECURITY = LOW (or if HIGH, operator must
ALLOW job management commands)
JLIMIT = greater than the number of students
SLIMIT = greater than the number of students
JOBFENCE = 7
OUTFENCE = 7
INPRI = 7
OUTPRI = 7
_________________________________________________________________
NOTE If system management cannot set the JOBFENCE and OUTFENCE
values as indicated, the student must check those values
during module 3 to ensure that the jobs used in the
activities behave as they should.
_________________________________________________________________
2. Restore the instructor's account from tape to disk.
a. Mount the MPE/iX course tape.
b. Log on as MANAGER.SYS (and stay logged on until told to do
otherwise!)
c. Use the RESTORE command as follows to restore the
instructor's account to the system:
FILE T;DEV=TAPE
RESTORE *T;@.@.ACCT0;CREATE;SHOW
(0 in ACCT0 is a zero, not an "oh")
You may have to reply at the system console as follows:
REPLY=pin#,ldev''!!(tape drive)!!
d. Once the restoration is complete, place the tape drive back
online by pressing the ON LINE key of the tape drive.
e. You should now have ACCT0, the instructor's account, on
disk ). Enter the following command to verify that there
are 42 files in the account:
LISTFILE @.@.ACCT0,2
Compare what you find with LISTFILE with this list:
Account: ACCT0 (instructor) DISC SPACE: 1568 (SECTORS)
User : USER0
Groups : CLASS (home) PUB PROJECT MYGROUP
Files : ADVSETUP MYUDC1 PFILE (future) FKEY1
AFILE MYUDC2 PROMPT1
AJOB MYUDC3 (This ROMAN1
CF P group
CLEANUP PR will be
COPYFILE PRX created
DELVAR PURMOVE by the
DOFILE RECUR ADVSETUP
HIC RELFILE command
HICOM SECFILE file.)
JOB0 SJT
JOB1 STATS
JOB2 T
JOB3 TERTIME
LF TESTFILE
MODINST WELCTEMP (template for welcome file)
MOVEFILE
MYFILE
MYFILE1
MYFILE2
MYJOB1
MYJOB2
f. Modify the instructor's capabilities, passwords, and home
group with the following command file:
MODINST.CLASS.ACCT0
MODINST is a command file that contains the following
commands:
ALTACCT ACCT0;CAP=SM,AM,AL,GL,ND,SF,BA,IA,PH;PASS=MORE
ALTUSER USER0.ACCT0;CAP=SM,AM,ND,SF,BA,IA,PH;PASS=MONEY;HOME=CLASS
ALTGROUP PUB.ACCT0;ACCESS=(R,x:ANY;W,A,L,S:AL,GU)
ALTGROUP CLASS.ACCT0;CAP=BA,IA,PH;ACCESS=(R,W,A,L,x,S:GU)
Enter the following command and compare the account, user,
and group capabilities and passwords with those listed
above:
LISTACCT ACCT0;PASS
LISTUSER USER0.ACCT0;PASS
LISTGROUP PUB.ACCT0;PASS
LISTGROUP CLASS.ACCT0;PASS
If the capabilities do not match, use ALTACCT, ALTUSER, or
ALTGROUP to change them accordingly.
__________________________________________________________
NOTE The instructor account or manager of the course,
using USER0 and ACCT0, now has extended capabilities
beyond those of the student, in order to be able to
monitor or amend student accounts as needed.
You may want to replace MORE and MONEY with
meaningful passwords of your choice. Use the ALTACCT
and ALTUSER commands to do so.
__________________________________________________________
3. Log on as the instructor and activate UDCs:
a. Log on as USER0.ACCT0:
HELLO USER0.ACCT0
(home group = CLASS)
Account password: MORE
User password: MONEY
b. Verify that you are in the CLASS group:
SHOWME
c. Issue the following command to activate all of your UDCs:
SETCATALOG MYUDC1
d. Issue the following command to verify that MYUDC1 is
activated:
SHOWCATALOG
4. Execute the ADVSETUP command file to create the students'
accounts:
a. Issue the following command:
ADVSETUP
or
XEQ ADVSETUP
You can now set up accounts for either the Fundamental
Skills course or the Advanced Skills course. Each time
that you execute ADVSETUP, you can set up accounts for one
type of course.
b. You receive the following prompt:
________________________________________________________________________
| |
| Are you setting up the Fundamental Skills course? (Y or N): |
| |
________________________________________________________________________
c. Fundamental Skills:
* Respond Y if you are setting up accounts for the
Fundamental Skills course. You receive another set
of prompts.
_______________________________________
| |
| |
| Purge Create Quit Modify |
| |
_______________________________________
* Respond C to create the Fundamental Skills accounts.
___________________________________________________
NOTE Q lets you QUIT, P lets you PURGE the
accounts. Use P to purge individual or all
accounts in either course whenever necessary.
___________________________________________________
________________________________________________
| |
| |
| What is the number of the first |
| account/user you that want to create or |
| purge? |
| |
________________________________________________
* Respond with 1 when you are first setting up the
accounts. See step 7 if you are adding more
accounts.
____________________________________________________
| |
| |
| What is the number of the final |
| account or/ user you that want to create or |
| purge? |
| |
____________________________________________________
* Respond with a number representing the last account
that you that want created - usually the same as the
total number of students. (See step 7 if you are
adding more accounts.)
* You get this message when the accounts are created:
___________________________________________________________________
| |
| |
| *** Creating new account ACCTx for Fundamental Skills *** |
| |
| *** x account(s) created *** |
| |
___________________________________________________________________
d. Advanced Skills (General):
* Respond N if you are not setting up the Fundamental
Skills accounts. You receive another set of
prompts:
_________________________________________________________________
| |
| |
| Are you setting up the Advanced Skills course? (Y or N): |
| |
_________________________________________________________________
* Respond Y if you are setting up accounts for the
Advanced Skills course.
e. Advanced Skills (Fundamental Skills accounts already
exist):
_____________________________________________________________________________
| |
| |
| ************************************************************ |
| *** ACCTx accounts may already exist for the Fundamental *** |
| *** Skills course. Be careful not to purge any accounts *** |
| *** that may still be in use. If any accounts on the *** |
| *** system are no longer in use, you can purge them and *** |
| *** reuse them for the Advanced Skills course by answer- *** |
| *** ing YES to the following prompt. *** |
| ************************************************************ |
| |
| Do accounts/users from Fund. Skills already exist (Y or N): |
| |
| |
_____________________________________________________________________________
* Answer Y only if you previously executed ADVSETUP
and created student accounts for Fundamental Skills.
This ensures that the old accounts are purged and
the new ones are created.
You get this message:
____________________________________________________________
| |
| |
| *** Press P to purge old Fund. Skills accounts. *** |
| |
| Purge Create Quit Modify |
| |
____________________________________________________________
* Respond P to purge the old Fundamental Skills
accounts:
______________________________________________________
| |
| |
| What is the number of the first account/user? |
| |
______________________________________________________
* Respond with the number of the first Fundamental
Skills account that you want to purge.
________________________________________________________________________
| |
| What is the number of the final account that you want to create or |
| purge? |
| |
________________________________________________________________________
* Respond with a number representing the last account
that you want purged--usually the same as the total
number of students.
You now see this message:
___________________________________________________
| |
| |
| *** ACCTx through ACCTy will be purged *** |
| Proceed with purging? (Y/N) |
| |
___________________________________________________
* Respond Y if you want to continue purging the old
accounts.
You now get the following prompt(s) and message(s):
* Respond Y as long as you want to purge accounts:
_______________________________________________________________
| |
| |
| ACCOUNT ACCTx TO BE PURGED? (YES/NO) |
| ACCOUNT ACCTy TO BE PURGED? (YES/NO) |
| |
| *** Creating new account ACCTx for Advanced Skills *** |
| *** Creating new account ACCTy for Advanced Skills *** |
| |
| *** x accounts created *** |
| |
_______________________________________________________________
f. Advanced Skills (Fundamental Skills accounts do not exist.
Create new Advanced Skills accounts):
__________________________________________________________
NOTE Skip to Step 5 for the rest of the procedure.
__________________________________________________________
________________________________________________________________
| |
| |
| Do accounts/users from Fundamental Skills already exist |
| (Y or N): |
| |
________________________________________________________________
* Answer N if this is the first time that you are
setting up accounts.
_______________________________________
| |
| |
| Purge Create Quit Modify? |
| |
_______________________________________
* Respond C to create the Advanced Skills accounts.
______________________________________________________
| |
| |
| What is the number of the first account/user? |
| |
______________________________________________________
* Respond with 1 if you are setting up Advanced Skills
accounts for the first time. See step 7 if you are
adding more accounts.
______________________________________________________
| |
| |
| What is the number of the final account/user? |
| |
______________________________________________________
* Respond with a number representing the last account
that you want created - usually the same as the
total number of students. See step 7 if you are
adding more accounts. You see these messages:
_______________________________________________________________________
| |
| |
| *** Creating new account ACCTx for Advanced Skills *** |
| *** Creating new account ACCTy for Advanced Skills *** |
| |
| *** z accounts created *** |
| |
| |
_______________________________________________________________________
* Example #1:
Suppose that you want to set up accounts for ten
Fundamental Skills course students. Your responses
to the prompts would be as follows:
_______________________________________________________________
| |
| |
| Are you setting up the Fundamental Skills course? Y |
| Purge Create Quit Modify? C |
| What is the number of the first account/user? 1 |
| What is the number of the final account/user? 10 |
| |
| *** Creating account ACCT1 for Fundamental Skills *** |
| *** Creating account ACCT2 for Fundamental Skills *** |
| . |
| . |
| . |
| *** Creating account ACCT10 for Fundamental Skills *** |
| |
| *** 10 accounts created *** |
| |
_______________________________________________________________
* Example #2:
Suppose that those users now want to take the
Advanced Skills course. Your responses the prompts
would be as follows:
______________________________________________________________________________
| |
| |
| Are you setting up the Fundamental Skills course? N |
| Are you setting up the Advanced Skills course? Y |
| |
| ************************************************************ |
| *** ACCTx accounts may already exist for the Fund. Skills*** |
| *** course. Be careful not to purge any accounts *** |
| *** that may still be in use. If any accounts on the *** |
| *** system are no longer in use, you can purge them and *** |
| *** reuse them for the Adv. Skills course by answering *** |
| *** YES to the following prompt. *** |
| ************************************************************ |
| |
| Do accounts/users from Fund. Skills already exist (Y or N): Y |
| |
| *** Press P to purge the old Fundamental Skills accounts *** |
| |
| Purge Create Quit Modify? P |
| |
| What is the number of the first account/user? 1 |
| What is the number of the final account/user? 10 |
| |
| *** ACCT1 through ACCT10 will be purged *** |
| Proceed with purging? (Y/N) Y |
| |
| ACCOUNT ACCT1 TO BE PURGED? (YES/NO) Y |
| ACCOUNT ACCT2 TO BE PURGED? (YES/NO) Y |
| ACCOUNT ACCT3 TO BE PURGED? (YES/NO) Y |
| . |
| ACCOUNT ACCT10 TO BE PURGED? (YES/NO) Y |
| |
| *** Creating account ACCT1 for Advanced Skills *** |
| *** Creating account ACCT2 for Advanced Skills *** |
| |
| *** Creating account ACCT10 for Advanced Skills *** |
| |
| |
______________________________________________________________________________
* Example #3:
Suppose that you purged or never had the Fundamental
Skills course student accounts and you now want to
create ten Advanced Skills course student accounts.
Your responses to the prompts would be as follows:
______________________________________________________________________________
| |
| |
| Are you setting up the Fundamental Skills course? N |
| Are you setting up the Advanced Skills course? Y |
| |
| ************************************************************ |
| *** ACCTx accounts may already exist for the Fund. Skills *** |
| *** course. Be careful not to purge any accounts *** |
| *** that may still be in use. If any accounts on the *** |
| *** system are no longer in use, you can purge them and *** |
| *** reuse them for the Adv. Skills course by answering *** |
| *** YES to the following prompt. *** |
| ************************************************************ |
| |
| Do accounts/users from Fund. Skills already exist (Y or N): N |
| |
| Purge Create Quit Modify? C |
| What is the number of the first account/user? 1 |
| What is the number of the final account/user? 10 |
| |
| *** Creating account ACCT1 for Advanced Skills *** |
| *** Creating account ACCT2 for Advanced Skills *** |
| . |
| . |
| . |
| *** Creating account ACCT10 for Advanced Skills *** |
| |
| *** 10 accounts created *** |
| |
| |
______________________________________________________________________________
g. When account creation is complete, you have the following
student account structure for the respective courses.
Issue the following command to verify that the accounts
exist:
LISTACCT ACCTx
(x is the number of each student account)
Fundamental Skills Course:
Account: ACCT1 to ACCTx (students)
User : USER1 to USERx
Groups : PUB MYGROUP YOURGRP
Files : empty empty empty
Advanced Skills Course:
Account: ACCT1 to ACCTx (students)
User : USER1 to USERx
Groups : CLASS PUB PROJECT
Files : empty empty empty
5. If you are creating Advanced Skills course accounts, after account
creation, execute the MOVEFILE command file. MOVEFILE moves files
from the instructor account to each student account. It does this
by creating and streaming jobs that log on to each student account
and execute the COPYFILE command file. COPYFILE does the actual
copying of files from instructor to student account.
a. Issue the following command:
MOVEFILE
b. Answer the prompts as you did when executing ADVSETUP:
________________________________________________________________________________
| |
| |
| *** ENTER A ZERO (0) TO TERMINATE WHEN ANSWERING PROMPTS *** |
| |
| What is the number of the first student account you just added? |
| |
| What is the number of the final student account you just added? |
| |
| |
________________________________________________________________________________
c. As MOVEFILE executes for each student account, you see
several messages on the screen. The most important are
shown below:
MOVEFILE START1 Executes MOVEFILE.
#Jx STREAM MOVEPRx Streams job to log on to student accounts.
Press CR at this point.
COPYFILE IS MOVED OVER Copies COPYFILE command file to student account.
ALL FILES COPIED TO ACCTx Executes COPYFILE and copies all files to student
account.
These messages repeat for each account created earlier, not
necessarily in order. The process is complete only when
ALL FILES COPIED... message appears for the last account.
When no more messages appear, press Return to return to the
system prompt.
d. When MOVEFILE has completed, the student account structure
should look like this. Issue the following command to
verify:
LISTFILE @.@.ACCTx,2
Advanced Skills Course:
Account: ACCT1 to ACCTx (students)
User : USER1 to USERx
Groups : CLASS PUB PROJECT
Files : AFILE PFILE empty
CF
COPYFILE
DOFILE
HIC
HICOM
JOB0
JOB1
JOB2
LF
MYFILE
MYFILE1
MYFILE2
MYJOB1
MYJOB2
MYUDC1
MYUDC2
MYUDC3
PR
PRX
RECUR
SJT
STATS
TERTIME
e. The account users are USER1 to USERx. The home group is
CLASS, and the logon
HELLO USERx.ACCTx
Account password: APASSx
User password: UPASSx
6. All student accounts now contain their necessary files. At this
point, perform file management activities to resecure files,
delete variables, and purge temporary files created during
MOVEFILE and COPYFILE execution. Execute this command:
CLEANUP
The CLEANUP command file actually executes three other command
files (which can be executed separately on other occasions, if
need be):
DELVAR Deletes all variables used by MOVEFILE.
PURMOVE Purges temporary files.
SECFILE Secures all previously released instructor files.
7. The course account creation is now complete. To finish the
installation, rewind and remove the tape from the tape drive.
a. Fundamental Skills Course:
You need the following amount of disk space for the initial
student and instructor accounts:
GROUP and ACCOUNT DISK SPACE BY SECTORS
Course Manager or Instructor:
CLASS.ACCT0 2128
PUB.ACCT0 16
PROJECT.ACCT0 0
MYGROUP 0
YOURGRP 0
SUBTOTAL: 2208 sectors
Student:
PUB.ACCT 0
MYGROUP 64
YOURGROUP 0
SUBTOTAL: 0 sectors
TOTAL: 3136 sectors
b. Advanced Skills Course:
You need the following amount of disk space for the initial
student and instructor accounts
GROUP and ACCOUNT DISK SPACE BY SECTORS
Course Manager or Instructor:
CLASS.ACCT0 2128
PUB.ACCT0 16
PROJECT.ACCT0 0
MYGROUP 64
YOURGRP 0
SUBTOTAL: 2208 sectors
Student:
CLASS.ACCT 1552
PUB.ACCTx 16
PROJECT.ACCTx 0
SUBTOTAL: 1568 sectors
TOTAL: 3776 sectors
8. Create additional student account(s) as needed:
a. Use ADVSETUP to create the accounts. Respond as you did in
step 4. Just remember to specify the correct first and
final account number and specify the C option.
* Example #1:
Suppose that you already have ten Fundamental Skills
accounts and want to add two more. You would
respond to the prompts as follows:
____________________________________________________________
| |
| |
| Are you setting up the Fundamental Skills course? Y |
| Purge Create Quit Modify? C |
| What is the number of the first account/user? 11 |
| What is the number of the final account/user? 12 |
| |
| *** Creating account ACCT1 for Advanced Skills *** |
| *** Creating account ACCT2 for Advanced Skills *** |
| . |
| . |
| . |
| *** Creating account ACCT12 for Advanced Skills *** |
| |
| *** 12 accounts created *** |
| |
____________________________________________________________
* Example #2:
Suppose that you purged Advanced Skills accounts
ACCT5 and ACCT6 earlier, and now two new students
need those accounts:
You would respond to the prompts as follows:
______________________________________________________________________
| |
| |
| Are you setting up the Fundamental Skills course? N |
| Are you setting up the Advanced Skills course? Y |
| |
| ************************************************************* |
| *** ACCTx accounts may already exist for the Fund. Skills *** |
| *** course. Be careful not to purge any accounts *** |
| *** that may still be in use. If any accounts on the *** |
| *** system are no longer in use, you can purge them and *** |
| *** reuse them for the Adv. Skills course by answering *** |
| *** YES to the following prompt. *** |
| ************************************************************* |
| |
| Do accounts/users from Fund. Skills already exist (Y or N): N |
| |
| Purge Create Quit Modify? C |
| What is the number of the first account/user? 5 |
| What is the number of the final account/user? 6 |
| |
| *** Creating account ACCT5 for Adv. Skills *** |
| *** Creating account ACCT6 for Adv. Skills *** |
| |
| *** 2 accounts created *** |
| |
______________________________________________________________________
* Example #3:
Suppose that you already have ten Fundamental Skills
accounts. USER2 and USER4 are ready to continue
with Advanced Skills. You would respond to the
prompts as follows:
______________________________________________________________________
| |
| |
| Are you setting up the Fundamental Skills course? N |
| Are you setting up the Advanced Skills course? Y |
| |
| ************************************************************* |
| *** ACCTx accounts may already exist for the Fund. Skills *** |
| *** course. Be careful not to purge any accounts *** |
| *** that may still be in use. If any accounts on the *** |
| *** system are no longer in use, you can purge them and *** |
| *** reuse them for the Adv. Skills course by answering *** |
| *** YES to the following prompt. *** |
| ************************************************************* |
| |
| Do accounts/users from Fund. Skills already exist (Y or N): Y |
| |
| *** Press P to purge old Fund. Skills accounts. *** |
| |
| Purge Create Quit Modify? P |
| |
| What is the number of the first account/user? 2 |
| What is the number of the final account/user? 2 |
| |
| *** ACCT2 through ACCT2 will be purged *** |
| Proceed with purging? (Y/N) Y |
| |
| ACCOUNT ACCT2 TO BE PURGED? (YES/NO) Y |
| |
| *** Creating account ACCT2 for Adv. Skills *** |
| |
| *** 1 account created *** |
| |
______________________________________________________________________
______________________________________________________________________
| |
| |
| Are you setting up the Fundamental Skills course? N |
| Are you setting up the Advanced Skills course? Y |
| |
| ************************************************************* |
| *** ACCTx accounts may already exist for the Fund. Skills *** |
| *** course. Be careful not to purge any accounts *** |
| *** that may still be in use. If any accounts on the *** |
| *** system are no longer in use, you can purge them and *** |
| *** reuse them for the Adv. Skills course by answering *** |
| *** YES to the following prompt. *** |
| ************************************************************* |
| |
| Do accounts/users from Fund. Skills already exist (Y or N): Y |
| |
| *** Press P to purge old Fund. Skills accounts. *** |
| |
| Purge Create Quit Modify? P |
| |
| What is the number of the first account/user? 4 |
| What is the number of the final account/user? 4 |
| |
| *** ACCT2 through ACCT4 will be purged *** |
| Proceed with purging? (Y/N) Y |
| |
| ACCOUNT ACCT4 TO BE PURGED? (YES/NO) Y |
| |
| *** Creating account ACCT4 for Adv. Skills *** |
| |
| *** 1 account created *** |
| |
______________________________________________________________________
b. For Advanced Skills accounts, enter MOVEFILE to copy files
into the accounts. Just remember to specify the correct
first and final account number as you did with the ADVSETUP
command file.
9. Purge existing student account(s) as needed:
* Use ADVSETUP to purge the accounts. Answer N to the
prompts asking if you are setting up Fundamental Skills or
Advanced Skills accounts. Then specify the P option for
purge and give the correct first and final account number.
MPE/iX 5.0 Documentation