Table of Contents
SETUP
Chapter 1
Before the Power Is On
1
A Note About Names
1
An Installation Checklist
1
Before You Install Your System
3
Develop an Installation Plan
3
Plan Education
5
Develop a Migration Plan
5
Develop a Security Plan
6
System Security Level
7
Security Level 10
7
Security Level 20
7
Security Level 30
8
Security Level 40
8
Security Level 50
8
Password Format Rules
9
Identifying System Users
10
Wizardry and Advice
12
Develop a Backup and Recovery Plan
12
Establish Naming Conventions
15
Device Names
15
User Profile Names
16
What Next?
18
Chapter 2:
That Important First Session
19
Establish User ASPs
19
Verify Software and PTF Levels
20
Signing On for the First Time
20
Set the Security Level
20
Set the Password Format Control System Values
20
Change the System-Supplied User Profile Passwords
21
Enable/Disable Autoconfiguration
23
Set General System Values
23
Establishing Your Work Environment
25
Establish Your Subsystems
26
Retrieve and Modify the Start-up Program
28
Now What?
31
Chapter 3
Access Made Easy
33
What Is a User Profile?
33
Creating User Profiles
35
UsrPrf (User Profile)
35
Password (User Password)
35
PwdExp (Set Password to Expired)
36
Status (Status)
36
UsrCls (User Class) and SpcAut (Special Authority)
36
Initial Sign-On Options
39
System Value Overrides
41
Group Profiles
42
JobD (Job Description)
43
Message Handling
44
Printed Output Handling
44
Text (Text Description)
45
Plan Your Profiles
45
Maintaining User Profiles
46
Changing a User Password
47
Deleting a User Profile
47
Integrity: The CpyUsr and CrtUsr Commands
50
Making User Profiles Work for You
67
Chapter 4
Public Authorities
69
What Are Public Authorities?
70
Creating Public Authority by Default
72
Limiting Public Authority
74
Public Authority by Design
74
Object-Level Public Authority
75
Chapter 5
Installing a New Release
77
Planning Is Preventive Medicine
77
The Planning Checklist
78
Pre-Installation-Day Tasks
78
Step 1: Is Your Order Complete?
79
Step 2: Manual or Automatic?
81
Step 3: Permanently Apply PTFs
82
Step 4: Clean Up Your System
82
Step 5: Is There Enough Room?
93
Step 6: Document System Changes
84
Step 7: Get the Latest Fixes
84
Step 8: Save Your System
84
Installation-Day Tasks
85
Step 9: Resolve Pending Operations
85
Step 10: Shut Down the INS/IXS
85
Installing from Tape?
86
Step 11: Verify System Integrity
86
Step 12: Check System Values
87
Ready, Set, Go!
87
Final Advice
91
Chapter 6
An Introduction to PTFs
93
When Do You Need a PTF?
93
How Do You Order a PTF?
94
SndPTFOrd Basics
94
Ordering PTFs on the Internet
96
How Do You Install and Apply a PTF?
96
PTFs and Logical Partitioning (LPAR)
97
Installing Licensed Internal Code PTFs
98
Installing Licensed Program Product PTFs
99
Verifying Your PTF Installation
99
How Current Are You?
100
Developing a Proactive PTF Management Strategy
100
Preventive Service Planning
100
Preventive Service
101
Corrective Service
102
OPERATIONS
Chapter 7
Getting Your Message Across: User-to-User
103
Sending Messages
103
Sending Messages into History
105
Message Delivery with SndMsg
105
I Break for Messages
106
Messaging with Operational Assistant
107
Casting Network Messages
108
Chapter 8
Secrets of a Message Shortstop
111
Return Reply Requested
111
A Table of Matches
113
Give Me a Break Message
117
Take a Break
117
It's Your Own Default
121
Chapter 9
Printer Files, Job Logs, and Print Direction
123
How Do You Make It Print Like This?
123
Controlling When a Report Is Printed
126
Controlling Your Job Logs
127
Controlling Where the Printed Output Is Directed
128
Deciding to Generate a Printed Job Log for Normally Completed Jobs
130
Determining How Much Information to Include in Job Logs
132
Where Have All the Reports Gone?
133
Tailoring Print Direction
134
*Job
134
*JobD
135
*Current
135
*UsrPrf
136
*WrkStn
136
*SysVal
137
*Dev
137
Charting the Print Path
138
Job QPrtJob and Print Direction
140
Ready for Action
142
Chapter 10
Understanding Output Queues
143
What Is an Output Queue?
143
How to Create Output Queues
145
Procedural Parameters
147
Configuration Parameters
148
Security Parameters
148
Who Should Create Output Queues?
149
How Spooled Files Get on the Queue
150
How Spooled Files Are Printed from the Queue
151
A Different View of Spooled Files
153
How to Organize Output Queues
155
Chapter 11
A Plug-and-Play Output Queue Monitor
157
Setting the Stage
158
The Output Queue Monitor Utility
160
Configuring the Output Queue Monitor
162
Using the Output Queue Monitor
163
Monitoring Program OutQMon
164
Installing the Output Queue Monitor Utility
165
Chapter 12
Disk Storage Cleanup
213
Automatic Cleanup Procedures
213
Manual Cleanup Procedures
216
Detach, Save, and Clean Up Security Audit Journal Receivers
217
Reclaim Spool File Storage
217
Reclaim Storage and Clean Up Recovery Areas
218
How RclStg Deals with Lost Objects
218
Recovering After RclStg
220
Commands Used in Recovery Area Cleanup
220
Remove Unused Licensed Program Products
222
Permanently Apply PTFs as Necessary
222
Detach, Save, and Clean Up Journal Receivers
222
Reset User Message Queue Size
222
Clean Up Spooled Files
223
Clear or Delete Unneeded Save Files
223
Delete Unused Objects
223
Reorganize Document Library Objects
225
Purge and Reorganize Physical Files
225
Clean Up OfficeVision for AS/400 Objects
225
Clean Up Hardware Configuration
226
Enhancing Your Manual Procedures
226
Chapter 13
All Aboard the OS/400 Job Scheduler!
229
Arriving on Time
229
Running on a Strict Schedule
230
Two Trains on the Same Track
235
Derailment Dangers
242
Job Schedule Entries and the LDA
243
SbmJob vs. the Job Scheduler
243
A Matter of Timing
244
System Date and Time Changes
244
Detecting the Completion of Other Jobs
245
Chapter 14
Keeping Up with the Past
247
The History Log
247
System Message Show and Tell
247
History Log Housekeeping
249
Inside Information
251
SYSTEM MANAGEMENT
Chapter 15
Backup Basics
253
Designing and Implementing a Backup Strategy
253
Availability Options
255
Implementing a Simple Backup Strategy
258
Implementing a Medium Backup Strategy
259
Saving Changed Objects
259
Journaling Objects and Saving the Journal Receivers
260
Saving Groups of User Libraries, Folders, or Directories
261
Implementing a Complex Backup Strategy
261
Saving Data Concurrently Using Multiple Tape Devices
261
Saving Data in Parallel Using Multiple Tape Devices
262
Save-While-Active
262
An Alternative Backup Strategy
262
The Inner Workings of Menu SAVE
262
Entire System (Option 21)
263
System Data Only (Option 22)
264
All User Data (Option 23)
264
Setting Save Option Defaults
265
Printing System Information
266
Saving Data Concurrently Using Multiple Tape Devices
267
Concurrent Saves of Libraries and Objects
267
Concurrent Saves of DLOs (Folders)
268
Concurrent Saves of Objects in Directories
269
Save-While-Active
269
How Does Save-While-Active Work?
269
Synchronization
269
Save Commands That Support the Save-While-Active Option
271
Backing Up Spooled Files
271
Recovering Your System
272
Preparing and Managing Your Backup Media
273
Chapter 16
Backup, Recovery and Media Services (BRMS) Overview
279
An Introduction to BRMS
279
Getting Started with BRMS
280
Saving Data in Parallel with BRMS
282
Online Backup of Lotus Notes Servers with BRMS
282
Restricted-State Saves Using BRMS
283
Backing Up Spooled Files with BRMS
283
Including Spooled File Entries in a Backup List
284
Restoring Spooled Files Saved Using BRMS
285
The BRMS Operations Navigator Interface
285
Terminology Differences
286
Functional Differences
286
Backup and Recovery with BRMS OpsNav
287
Backup Policies
287
Creating a BRMS Backup Policy
287
Backing Up Individual Items
288
Restoring Individual Items
288
Scheduling Unattended Backup and Restore Operations
288
System Recovery Report
289
BRMS Security Functions
289
Security Options for BRMS Functions, Components, and Items
290
Media Management
292
BRMS Housekeeping
292
Check It Out
293
Chapter 17
Defining a Subsystem
295
Getting Oriented
295
Defining a Subsystem
297
Main Storage and Subsystem Pool Definitions
298
Starting a Subsystem
301
The Next Step
303
Chapter 18
Where Jobs Come From
305
Types of Work Entries
305
Workstation Entries
306
Using Workstation Entries
307
Conflicting Workstation Entries
308
Job Queue Entries
309
Communications Entries
311
Prestart Job Entries
312
Autostart Job Entries
313
Where Jobs Go
313
Chapter 19
Demystifying Routing
315
The Importance of Routing Data
315
Routing Entry Attributes
317
Runtime Attributes
318
Routing Data for Interactive Jobs
319
Routing Data for Batch Jobs
320
Routing Data for Autostart, Communications, and Prestart Jobs
322
Is There More Than One Way to Get There?
322
Do-It-Yourself Routing
322
FILE BASICS
Chapter 20
File Structures
329
Structure Fundamentals
329
Data Members
331
iSeries File Types
334
Database Files
334
Source Files
334
Device Files
335
DDM Files
336
Save Files
336
Chapter 21
So You Think You Understand File Overrides
337
What Do Overrides Do?
337
Prerequisites
339
The Call Stack and Job Call Levels
339
Activation Groups
340
Override Rules
341
Scoping an Override
341
Overriding the Same File Multiple Times
342
The Order of Applying Overrides
344
Protecting an Override
353
Explicitly Removing an Override
354
Miscellanea
355
Important Additional Override Information
356
Overriding the Scope of Open Files
356
Non-File Overrides
356
Overrides and Multithreaded Jobs
357
File Redirection
357
Is All This Really Necessary?
357
Overrides and System Commands
358
Chapter 22
Logical Files
361
Record Format Definition/Physical File Selection
361
Key Fields
364
Select/Omit Logic
365
Using Select/Omit Statements
366
Dynamic Selection with Select/Omit
368
Multiple Logical File Members
369
Keys to the iSeries Database
370
Chapter 23
File Sharing
371
Sharing Fundamentals
371
Sharing Examples
373
Shared Database File Example
373
Shared Printer File Example
376
How Sharing ODPs Can Help
381
Share and Enhance Program Performance
381
BASIC CL PROGRAMMING
Chapter 24
CL Programming: You're Stylin' Now!
387
Apples and Oranges
387
Developing Stylistic Standards
390
1.0 Comments
397
2.0 Statement Alignment
398
3.0 Variable Names and Case
399
4.0 Shortcut Dos and Don'ts
400
5.0 Miscellaneous Suggestions
400
Start Stylin'!
401
CL Coding Suggestions
401
Chapter 25
Extend CL's Reach with APIs
403
Know Your Limitations
403
Reporting Errors with APIs
405
Handling API Errors
407
Retrieve an IP Address
412
Displaying IP Addresses
416
EndPgm
426
Chapter 26
CL Programs and Database Files
427
Why CL?
427
I DCLare!
427
Extracting Field Definitions
428
Reading the Database File
430
File Positioning
432
Rules for Database File Processing in CL
433
What About Record Output?
434
A Useful Example
435
Chapter 27
CL Programs and Display Files
441
CL Display File Basics
441
CL Display File Examples
445
Using a Message Subfile
449
Using an Error Subfile
450
Considerations
452
Chapter 28
OpnQryF Fundamentals
453
First Things First
453
The Command
454
Start with a File and a Format
454
Record Selection
457
QrySlt Guidelines
458
QrySlt and Constants
458
QrySlt and Variables
459
Differentiate Between Upper- and Lowercase Data
462
Key Fields
462
Mapping Virtual Fields
463
OpnQryF Command Performance
464
Chapter 29
Teaching Programs to Talk
465
Putting SndUsrMsg to Work
465
Send Break Messages to a User with SndBrkMsgU
471
Knowing When to Speak
484
Chapter 30
Just Between Us Programs
485
Call Message Queues
485
Understanding Job Logs
487
The SndPgmMsg Command
488
Message Types
491
The Receiving End
493
Program Message Uses
493
Chapter 31
Hello, Any Messages?
497
Receiving the Right Message
497
RcvMsg and the MsgType and MsgKey Parameters
500
Receiving the Right Values
501
Retrieving Message Sender Data
501
Retrieving the Message Return Type
502
Monitoring for a Message
504
Command-Level Message Monitoring
506
Global Message Monitoring
506
Message Processing in Action
508
What Else Can You Do with Messages?
510
Chapter 32
OS/400 Commands
511
Commands: The Heart of the System
511
Tips for Entering Commands
514
Customizing Commands
516
Changing Default Values
517
THE NEW FACE OF THE SYSTEM
Chapter 33
It's Gotta Be TCP/IP, If You Wanna Talk with Me
519
Networks and Internetworks
520
IP Addressing
524
Classful IP Addressing
524
Classless Addressing and Subnetworks
526
Peaceful Coexistence
529
A Simple iSeries Configuration
530
Starting TCP/IP
535
TCP/IP Administration and Configuration Options
536
Identifying Other Hosts in Your Network
538
The Real World
540
Chapter 34
Operations Navigator
541
OpsNav Components
541
Basic Operations
543
Job Management
549
Configuration and Service
549
Network
550
Security
550
Users and Groups
551
Database
551
File Systems
551
Multimedia
552
Backup
552
Application Development
552
Management Central
552
Application Administration
553
Plug-in Support
553
More Than Just a Pretty Face
553
More About OpsNav
554
Further Reading
557
Index
561