Thursday, March 31, 2011

Organization of OS/400 Objects

Organization of OS/400 Objects

Objects

On the AS/400, everything that can be stored or retrieved is stored in an object. Examples of objects are libraries, files, executable programs, queues, and more. Objects share some common attributes such as name, type, size, description, date created, and owner. The concept of an object allows the system to perform certain standard operations, such as authorization management, on all objects types. The object types that we will be primarily concerned with in this manual are:
  • *LIB Libraries
  • *FILE Files
  • *PGM Compiled programs
  • *OUTQ Output queues

Send Message (SNDMSG)

Send Message (SNDMSG)

Type choices, press Enter.

Message text . . . . . . . . . .  ________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________

To user profile . . . . . . . . .  __________   Name , *SYSOPR, *ALLACT...



F3=Exit F4=Prompt F5=Refresh F10=Additional parameters F12=cancel
F13=How to use this display F24=More keys

To execute the command, supply the required information for Message text and user profile and press <Enter>. Most of the parameters used on commands have default values that are used if no other value is specified. You may change the default values if you desire to do so.
If <F4>= Prompt is shown on the prompt display, you can press < F4>to request a list of predefined values (such as *SYSOPR and *ALLACT in the above display) that are permitted in the field where the cursor is currently positioned.
In relation to the SNDMSG command, you can use DSPMSG at any time to display messages in your message queue.

Using the Prompt Facility

AS/400 provides interactive command prompting for any command supplied with the system or created by the user. On the command entry screen notice the option F4 = Prompt at the bottom of the screen. You can type the command name only, and press <F4>to see the prompt display for the command. Usually, a command may require many parameters before it can be executed. The prompt displays provide a convenient method of supplying that parameter information. For example, type SNDMSG on any command line and press <F4>. The following prompt display is shown:

More Help


More Help


There are three ways to get help on the READ/DOS book reader (AS/400 command MANUALS):
  • Start the book reader and select the bookshelf entitled BookManager READ/DOS.
  • Press <F1>anywhere you're in question about your current options.
  • Press <Alt>h (or <F10>h) and select the appropriate help selection for your current problem.

CD-ROM Manuals

CD-ROM Manuals
If you are attached to the AS/400 using PC Support/400 you have the ability to look at a hypertext version of a subset of the complete AS/400 manual set. To start the hypertext book reader type the command MANUALS at any AS/400 prompt. This guide is laid out like a library. The library contains bookshelves. These bookshelves contain books. For example our library contains a bookshelf name Languages. We select the bookshelf by using the arrow keys to place the highlighted cursor over it and press <Enter>. On this bookshelf there are several books on languages. One of the books is titled "COBOL/400 Reference". Once again we use the arrows and cursor to select the item. Now that we have the book it opens up a "Table of Contents" for the book. By using this search and select procedure you can look through the book like a book you'd check out at the library.