 |
» |
|
|
|
Challenge Answers |  |
| Is Your Answer...? | If Not, Start With... |
---|
1. | File name plus group name. | Lesson 1 | 2. | File name plus group and account names. | Lesson 1 | 3. | LISTFILE A@ | Lesson 1 | 4. | RENAME | Lesson 2 | 5. | Files take up valuable disk space on the computer; therefore, seldom-used files should be stored on a magnetic tape. | Lesson 3 | 6. | PURGE | Lesson 4 | 7. | PRINT | Lesson 5 | 8. | COPY | Lesson 6 | 9. | RELEASE; SECURE | Lesson 6 | 10. | Your system manager. | Lesson 6
|
Lesson 1: Displaying Qualified File Name |  |
FILE1 file1.payroll.acct FILE1.PUB file1.pub.sys
LISTFILE LISTFILE A@ LISTFILE @S LISTFILE @.@,6 LISTFILE s@r@t.pub.sys
Lesson 2: Renaming Files |  |
Get into the editor. Keep one file as OAK and the other as MAPLE. You get the following error message;
RENAME FAILED DUE TO FILE SYSTEM ERROR, NOT RENAMED (CIERR 373)
|
RENAME oak,acorn LISTFILE acorn or LISTFILE
Lesson 3: Storing Seldom-Used Files |  |
Files take up disk space on the system. If your file needs to be archived and it is a file that is relatively inactive, you should have the file stored to a magnetic tape as a good housekeeping practice.
Lesson 4: Deleting Files |  |
PURGE maple LISTFILE maple b
Lesson 5: Displaying File Contents |  |
Lesson 6: Copying Files |  |
COPY FROM=ACORN;TO=PINE Get into the editor and change the file PINE so that it now looks different. Keep PINE.
COPY PINE,ACORN
PURGE OLD? no
NO COPY WAS DONE (CIERR 9113)
|
COPY PINE,ACORN
PURGE OLD? yes
PRINT ACORN
|
The PINE file writes over the "original" ACORN file. Printing the contents of the "new" ACORN file reveals the contents of the "old" PINE file.
RELEASE SECURE d The file is copied to your current group. Your system manager.
|