AS400 CPU, Memory and Storage Capacity

My post this time contains how to find out the number of CPU or Processor, Memory and Storage on the AS400 green screen. I will not explain technically the details of each screen. To see detailed page descriptions, you can use the F1-HELP AS400 feature.


From command line, type WRKSYACT (Work with System Activity) then press Enter.

Current processing capacity represent number of Processor or CPU:


From command line, type WRKSHRPOOL (Work with Shared Pools) then press Enter.

The Main storage size (M) parameter is the total AS400 system memory used. With details of the allocation of pool ID pool used in the Pool column.

Kapsitas Storage

From command line, type WRKSYSSTS (Work with System Status) then press Enter.

The System ASP is the total storage on AS400, and % system ASP used as a percentage of storage utilization.

May be useful. If you have anything to ask you can write a comment below.

Object Based OS400

OS400 is an object-based operating system. If we are familiar with Windows in folders, files, txt and others, not with OS400 specifically. Basically, OS400 is based on UNIX, so we can still find objects based on the path. But the basis of OS400 is object based. Where all OS400 operations can be accessed based on these objects. OS400 objects are stored in a Library that is used as a place to hold objects (or in Windows it is known as a folder).

On the database side OS400 is the same. For example when creating a database on OS400, when creating a Schema, tables and so on it is stated to be object based if we are going to access it using a green screen or TN5250 terminal for OS400. If we create a DB2 OS400 database. When creating a MYDB schema, in OS400 an object named MYDB will be created with the * LIB (Library) object type. Likewise if we will create a table in the MYDB database schema, for example with the name MYTABLE, then on OS400 an object * FILE will be created with the name MYTABLE, and so on.

This is what I think is the advantage of OS400, we have various ways to manage the DB2 database that runs on OS400. We can use DB2 Admin or directly use the green screen access to the object.

The following OS400 objects are often used daily by me:

  • *LIB – Library (where all objects are stored except for other libraries – there are no libraries in the library except the QSYS library).
  • *FILE – File (object file in the form of a database or other type of data)
  • *PGM – Program (compile program results such as CLP, RPGLE, C ++, cobol and others)
  • *DTAARA – Data area (a kind of data reservoir that can be used by many jobs that are running)
  • *JRN – Journal (object journal as a place to collect the results of recording system or database activities)
  • *JOBD – Job Description (predefine the job as an attribute parameter when a job will be run)
  • *JOBQ – Job Queue (job holding place that will run)
  • *OUTQ – Output Queue (where the output from a processing output is stored)
  • *SBSD – Subsystem Description (predefine a subsystem that runs on the system)
  • *LIND – Line Description (object related to the configuration of the ethernet card or CMN that is on OS400)

The following objects on OS400:

To see in more detail these objects, visit the official IBM website.

If there is anything you want to ask, just type in comments.

Basic Introduction to CL Programming

The CL Program or CL Procedures is a collection of CL Commands that are used on the AS400 system to get input, carry out the process and the final results will be obtained. The program or procedure is given a name (CL Program object with type * PGM and CLP attribute) and can be called in the AS400 comman line or can be used in other programs or procedures. Things that must be considered in making CL Program is the Source Program (Source Physical File), compile and bind the source according to the procedure.

If you enter CL Command separately from the Command Entry screen, each command is separately processed. With the CL Program, there is no need to input one by one so that the time needed can be faster. Plus, the CL procedure can be used in batch or interactive processes.

Continue reading Basic Introduction to CL Programming

Learn AS400 Using F1 Help

This is one of the most effective tips for us as beginners at AS400. Even I, who have been drowning in AS400 for several years, still often use Help. With the F1-Help function we can understand the information from the commands, parameters or pages that we are currently using. Before we discuss Help, here are the requirements for Help to be used by users:

  1. License Program – Online Information (product option 2) is installed with * COMPATIBLE status.
  2. The QHLPSYS library was the user library list that is used.

Check License Program

Type GO LICPGM in the command line then press Enter.
Type opt 10 in the command line and then press Enter, to Display installed licensed programs.
Ensure Licensed Programs Online Information installed with *COMPATIBLE status.

Check User Library List

Type DSPLIBL in the command line then press Enter.
Ensure QHLPSYS exist in the library list.

If both of these requirements are met, then we can use the help function on AS400. The AS400 Help function can be used by pressing the F1 key in the section that we want to know about. For example, on the MAIN menu page. Hover your cursor (shown in the figure with a red underline) in the command line or in the header of the IBM i Main Menu page then press F1.

Help appears from the IBM I Main Menu which contains an explanation of the page (press page down to go to the next page).

Hover your cursor towards the options menu, then the help will come out according to the options that we want to know.

Ex. hover at option 1. User tasks and press F1.
Help information specific for option 1 will appear.

Begitu juga ketika kita akan menggunakan command. Jika memang command tersebut baru kita tahu dan ingin tau fungsinya apa dan parameter apa saja yang dapat diisi. Misalkan command WRKOBJ, berikut caranya:

Likewise when we will use the command, if the it’s new command we want to know what functions and what parameters can be filled. For example the WRKOBJ command, here’s how:

Type WRKOBJ in the command line and press F4 = Prompt.
Hover your cursor one by one according to the picture to check the Help function and read the description.

Note: Not all commands or pages have Help Guidance, it depends on the program or the command provides help function or not. For all commands and menus built in, the system usually provides help functions. But if our AS400 has another command or menu from 3rd parties or applications outside of IBM, there may be no help function in that command or menu.

What is OS/400?

I created this article as an opening for my plan to create content about AS400. The language used might use my language style. I apologize if there are deficiencies or things that are not pleasing to the reader.

Ok… Welll.. Lets start with “What is OS/400?”.

A brief history of my relationship with AS400, I worked for the first company as a AS400 support services. As a new graduate and still innocent with AS400 (because I believe any IT-based campus in Indonesia does not have AS400 to study), I was challenged to quickly understand AS400 during the trial period. Okay and I’m drowning and struggling in the world of green screens.

Certainly, I will not write the history of AS400. Because readers can look for it in SEO like Google or Wikipedia. I will explain a little about AS400 using my language style.

AS400 is an IBM product with an operating system known as OS400 or OS / 400. Currently this platform is running on the IBM Power 9 Family or there may have been the latest release depending on the reader when reading this article.

Jadi, AS400 merupakan sistemnya, sedangkan OS400 adalah operating systemnya.

So, AS400 was the system and OS400 was the operating system.

AS400 DIsplay

At the bottom, it says Selection or Command, along with a two-line underline. The underline is a place for typing and running commands on OS400.

Why use AS400? If I were asked this, I would definitely answer with my view that I have been using OS400 from 2011. In my opinion, OS400 is safe and auditable (depending on the configuration of the system being made). All activities can be tracked and accounted for. Maybe the shortcomings are on the price side … ^ _ ^

For more details on operating the OS400, will be discussed in other chapters.

Twinkle Twinkle Little Star Chord

By Jane Taylor

C       G       F      C
Twinkle twinkle little star
F     C      G        C
How I wonder what you are   
C   F        C        G
Up above the world so high
C      F       C      G
Like a diamond in the sky
C       G       F      C
Twinkle twinkle little star
F     C      G        C
How I wonder what you are 
Verse 2
C        G       F      C
When the blazing sun is gone
F       C       G       C
When he nothing shines upon
C        F         C      G
Then you show your little light
C       F       C       G
Twinkle twinkle all the night
C       G       F      C
Twinkle twinkle little star
F     C      G        C
How I wonder what you are
Verse 3
C        G        F      C
Then the traveler in the dark
F          C        G    C
Thanks you for your tiny spark
C        F             C      G
He could not see which way to go
C      F       C       G
If you did not twinkle so
C       G       F      C
Twinkle twinkle little star
F     C      G        C
How I wonder what you are
Verse 4
C      G         F       C
In the dark blue sky you keep
F         C        G      C
While you thro' my window peep
C       F     C         G
And you never shut your eye
C        F      C      G
Till the sun is in the sky
C       G       F      C
Twinkle twinkle little star
F     C      G        C
How I wonder what you are

Source tab image: