Your own AS/400: Difference between revisions

From Try-AS/400
Jump to navigation Jump to search
(Reworked)
m (→‎Recommendation: What I learned from experience)
(21 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{FIXME|
{{FIXME|
* Add Pictures
* Add Pictures}}
* Add Web links supporting claims}}


If you want to have your very own AS/400, the first step is to acquire one. New machines are expensive. Unless you recently won a lottery jackpot, you might want to look for older machines.
If you want to have your very own AS/400, the first step is to acquire one. New machines with the accompanying OS/400 license are ''expensive''. Unless you recently won a lottery jackpot, you might want to look for older machines.


There's no known emulation of the AS/400 platform on common platforms available. Virtualization of the OS is available, though. But only on IBM hardware, starting with POWER5 CPUs.
There's no known emulation of the AS/400 platform on common platforms available. Virtualization of the OS is available, though. But only on IBM hardware, starting with POWER5 CPUs.


As I pointed out in [[The Naming of the System]], the main differences between older and newer systems are mostly hardware based and not software based. Of course, newer OS releases have more features but I'm questioning their significance for a rookie regarding AS/400.
As I pointed out in '''[[The Naming of the System]]''', the main differences between older and newer systems are mostly hardware based and not software based. Of course, newer OS releases have more features but I'm questioning their significance for a rookie regarding AS/400.


Facts to keep in mind when deciding which machine would be the right one for a beginner:
Facts to keep in mind when deciding that machine would be the right one for a beginner:
 
== Complexity ==
Newer hardware with LPAR support is inherently complex to set up and configure. You probably need a Hardware Management Console for proper configuration of LPARs and IPL parameters, and for easy access to a Console. Ethernet ports are virtual and can be used by IBM i lines and probably by DST as a LAN console attachment. Which port corresponds to which entity in IBM i? I got multiple headaches when fighting with a 8203-E4A to get a grip onto how stuff works.
 
Older hardware is much simpler to set up. Twinax Console, Power, Probably LAN attachment, that's it. No virtualization means that physical ports have exactly one logical resource in OS/400.


== Power Consumption ==
== Power Consumption ==
Older machines from pre 2000 need most power for spinning their hard disks. You can add 10..12 W of power for every 3,5"-Disk. Depending on model and how much stuff is in there, you can calculate between 60..300 W for a machine.
Older machines from pre 2000 need most power for spinning their hard disks. You can add 10..12 W of power for every 3,5"-Disk. Depending on model and how much stuff is in there, you can calculate between 80..400 W for a machine.


Every expansion card needs power to operate. The more cards, the more power. It's usually safe to wade out cards one doesn't need. Some boxes had multiple modems attached to dedicated serial ports. Get rid of them.
Every expansion card needs power to operate, even if it is not used. The more cards, the more power. It's usually safe to wade out cards one doesn't need. Some boxes had multiple modems attached to dedicated serial ports. Get rid of them.<br />
It is possible that older machines (with SPD-Slots instead of PCI) request a new ''system password'' when the hardware configuration changes. To my knowledge, this password can be calculated by IBM only by providing some output of hardware inventory to IBM. Your mileage may vary.


Especially power hungry are integrated PC servers. These are cards with an INTeL-CPU and it's own RAM. These allow you to run Netware or Windows directly from virtual disk files on the AS/400 disks. Even if not in use, these cards draw a good deal of power. E.&thinsp;g. 2850-011-Adapter: Pentium II@333MHz with 128&thinsp;MB RAM sucks about 20&thinsp;W extra power from the power supply.
Especially power hungry by comparison are integrated PC servers. These are cards that have an INTeL-CPU and dedicated RAM. These allow you to run Netware or Windows directly from virtual disk files on the AS/400 disks. Especially if not in use, these cards draw a good deal of power, because the CPU doesn't get HALT instructions for power saving.<ref>Just like an ordinary PC when displaying BIOS settings screen.</ref> E.&thinsp;g. 2850-011-Adapter: Pentium II@333MHz with 128&thinsp;MB RAM sucks about 20&thinsp;W extra power from the power supply.


The low end model 9401-150 is more on the 60&thinsp;W-end whereas a full blown 9406-S20 with two full disk cages is more on the 300&thinsp;W-end.
The low end model 9401-150 is more on the 80&thinsp;W-end whereas a full blown 9406-S20 with two full disk cages sucks around 320&thinsp;W from mains. A 9406-800 with just two disks needs around 170&thinsp;W.<br />
Standby Usage of a 9401-150 is about 4&thinsp;W. Standby Usage from a 9406-800 is about 20&thinsp;W.  


Oh, and: The AS/400 greatly benefits from having many disks. Data is cut into pieces and scattered over all available disks, just like RAID 0.
Oh, and: The AS/400 greatly benefits from having many disks. Data is cut into pieces and scattered over all available disks, just like RAID 0.


== Boot time ==
== Boot time ==
Okay, you want to have a big box. You plan to boot when you decide to tinker around and shut it down when you're done. Drawback is that those machines take awful long to boot. I'm talking about 5..15 Minutes or more, if the system was powered off without proper shutdown. Keep in mind that you probably don't tinker around as much as you wanted, because booting the box for just a short test isn't worthwhile.
Okay, you want to have a big box, because you like it fast. You plan to boot when you decide to tinker around and shut it down when you're done. Drawback is that those machines take awful long to boot. I'm talking about 5..15 Minutes or more, if the system was powered off without proper shutdown. Keep in mind that you probably don't tinker around as much as you intent, because booting the box for just a short test isn't worthwhile the investment in patience. Proper shutdown also takes several minutes.
 
Shutdown also takes several minutes.


Besides that, AS/400s usually can be tasked to power up and down to certain times on certain days.
Think twice. Maybe it's a better idea to have a slower box readily available when you're awake. Since it doesn't draw so much power, it doesn't hurt the pocket equally to have a big box running all the time. Besides that, AS/400s usually can be tasked on a very flexible way to power up and down to certain times on certain days.


Boot and shutdown are somewhat I/O intensive tasks. More disks make the box boot and shut down a bit faster.
Boot and shutdown are somewhat I/O intensive tasks. More disks make the box boot and shut down a bit faster.


== Noise Level ==
== Noise Level ==
Most machines are surprisingly silent when initially powered on: Only the fans rotate. Disks will be started one by one during the boot sequence.
Most older machines are surprisingly silent when initially powered on: Only the (few and huge) fans rotate. Disks will be started one by one by the service processor during the boot sequence.


The more disks, the more noise. The more disks, the more performance you gain.<br />
The more disks, the more noise. The more disks, the more performance you gain.<br />
The faster the disks, the more noise. The faster the disks, the more performance you gain.
The faster the disks spin, the more noise. The faster the disks spin, the more performance you gain.
 
Many disks of around the 2000s are slightly out of rotational balance, which is not a problem. But these usually produce audible hum between around 100..300&thinsp;Hertz, depending on rotational speed of the disks in question. Add the audible beat effect resulting from tiny differences in rotational speed and you get a hum swelling louder and quieter. When the outer case of the box resonates with the disks hum, the noise level could be easily multiplied.
 
From my experience, this hum is way more annoying than the sole noise from disks just spinning, with a slight increase in rattling noise when the disk actually positions its heads to read or write data.


If you're lucky you can tuck away the box in the basement and still have access via some kind of network connection.
Many disks of around the 2000s are slightly out of rotational balance, that is not a problem for their lifetime expectancy. But these usually produce audible hum between around 100..300&thinsp;Hertz, depending on rotational speed of the disks in question. Add the audible beat effect resulting from tiny differences in rotational speed and you get a hum swelling louder and quieter. When the outer case of the box resonates with the disks' hum, the noise level could be easily multiplied. From my experience, this hum is way more annoying than the base noise from disk's motor trying to keep the platters rotating with nominal speed; with a slight increase in rattling noise when the disk actually positions its heads to read or write data.


Another considerable option is to buy adhesive bitumen mats and stick these to almost all areas of the inside of the case. This usually makes a huge difference.
If you're lucky you can tuck away the box in the basement and still have access via some kind of network connection. Best noise insulation though sheer distance.


I have a 9401-150 with three 2&thinsp;GB disks with a slow spindle speed, maxbe 4500&thinsp;RPM. The hum was barely audible but after applying bitumen mats to the case, the box is now so quiet, I easily could run it in the living room with only slight disturbance. The box feels much slower than another 9401-150 with four 8&thinsp;GB 7200&thinsp;RPM disks, though.
Another considerable option is to buy adhesive bitumen mats and stick these to almost all flat areas of the inside of the case. This usually makes a huge difference.<br />
I have a 9401-150 with three 2&thinsp;GB disks with a slow spindle speed, maxbe 4500&thinsp;RPM. The hum was not too annoying, but after applying bitumen mats to the case, the box is now so quiet, I easily could run it in the living room with only slight disturbance.


== Accessories ==
== Accessories ==
Often, companies throw away documentation, license keys, proof of ownership, OS CDs and other stuff prior to the disposal of the machine itself. The machines usually are heavy and as long as the occupied space is not needed, they tend to stay.
Often, companies throw away documentation, license keys, proof of ownership, OS install media and other stuff prior to the disposal of the machine itself. The machines usually are really heavy to lift and as long as the occupied space is not badly needed, they tend to stay.


Hard Disks are often formatted or even removed and scrapped onsite to prevent data leaks. This transforms the machine in question into a nearly useless blob of mainly steel.
Hard Disks are often formatted or even removed and scrapped onsite to prevent data leaks. This transforms the machine in question into a nearly useless blob of mainly steel.


OS install CD images can be acquired by asking nicely in proper USENET groups or web based forums revolving around AS/400. But without license keys, you have 72 days from installation until the machine finally refuses to boot. Or to provide proper license keys which stops this timer. The other option is to reinstall the OS, possibly with prior blanking of the disks. The LIC-keys are dependent on model and serial number and possibly other factors. So, it's not as easy as searching for s3r14lz in h4ck3r'z sp4c3z.
Older OS install CD images can be acquired by asking nicely in proper USENET groups or web based forums revolving around AS/400. Newer releases can be downloaded as trial releases from the [https://www.ibm.com/eserver/ess IBM Entitled Software Support] pages after registering an IBM ID. But without license keys, you have 72 days from installation until the machine finally refuses to boot. Or to provide proper license keys that stops this timer. The other option is to reinstall the OS, with prior blanking of the disks to yield another 72 days. The LIC-keys are dependent on model, hardware serial number and possibly other factors. So, it's not as easy as searching for s3r14lz in h4ck3r'z sp4c3z.


Even if you manage to get a box and put in some SCSI disks, [[Ordinary Harddisks on the AS/400|it just won't work]]. IBM utilizes disks with unusual sector size, and more fancy stuff. So you need to buy more expensive AS/400 compatible (used) hard disks to re-equip the box.
Even if you manage to get a box with appropriate license keys and put in some SCSI disks, [[Ordinary Harddisks on the AS/400|it just won't work]]. IBM utilizes disks with unusual sector size, and more fancy stuff. So you need to buy more expensive AS/400 compatible (used) hard disks to re-equip the box. This investment is not a big deal, though.


There are certain combinations of system type and OS version which just work indefinitely without entering any license keys. One such combination is a 9401-150 with OS/400 V4R5M0.
There are certain combinations of system type and OS version that just work indefinitely without entering any license keys. One such combination is a 9401-150 with OS/400 V4R5M0.


=== Console ===
=== Console ===
AS/400s usually don't have a keyboard connector nor a port for a VGA display. They lack a RS-232 port for attaching a serial terminal (or PC with terminal emulation software).
AS/400s usually don't have a keyboard connector nor a port for a VGA display.<ref>If you see something like that on such a machine, it's from an ''Integrated PC server'' board.</ref> They lack a RS-232 port for attaching a conventional serial terminal (or PC with conventional terminal emulation software).<ref>Any lookalike ports have special uses that is described in the appropriate hardware documentation.</ref>


For the initial setup, troubleshooting and backup of the system, a console is needed. This equals to a 5250 terminal from IBM or equivalents from other manufacturers. Most companies who had AS/400 still have at least one of these in the basement: Because a console is important.
For the initial setup, troubleshooting and backup of the system, a console is needed. This equals to a 5250 terminal from IBM or equivalents from other manufacturers. Most companies who had AS/400 still have at least one of these in the basement: Because a console is important.


Every machine has a so called ''twinax controller'' either built-in or on a PCI card. The connector type is either DB-9F or larger at the box's case itself. Another needed accessory is the so called ''twinax brick'', a heavy plastic box with multiple twinax connectors and a cable with a fitting plug for the attachment to the twinax controller in the AS/400.<br />
Every machine has a so called ''twinax controller'' either built-in or on a PCI card. The connector type is either DB-9F or DB-25F, on an addon card or at the box's case itself. Depends on model, thus age and how it was ordered back then. Another needed accessory is the so called ''twinax brick'', a heavy plastic box with multiple twinax connectors and a cable with a fitting plug for the attachment to the twinax controller in the AS/400.<br />
Older (CISC) machines might have twinax plugs directly attached to their case.
Older (CISC) machines might have twinax plugs directly attached to their case.


Line 70: Line 71:
Terminals were attached to the twinax cable with kind of a Y-adapter: A short piece of two cables having two twinax plugs on two ends and a DB-15 connector on the common end of the Y. The DB-15 is attached to the logic board of the terminal. The two twinax ports allowed to daisy-chain terminals on one common twinax cable.
Terminals were attached to the twinax cable with kind of a Y-adapter: A short piece of two cables having two twinax plugs on two ends and a DB-15 connector on the common end of the Y. The DB-15 is attached to the logic board of the terminal. The two twinax ports allowed to daisy-chain terminals on one common twinax cable.


Every twinax terminal has a primary address<ref>Not unlike the SCSI-ID of SCSI devices.</ref> and probably a secondary address. The console must have it's address set to 0.
Every twinax terminal has a primary address<ref>Not unlike the SCSI-ID of SCSI devices.</ref> and probably a secondary address, for a second session or a locally attached parallel port printer. The console must have it's primary address set to 0.


'''Device id 0 on twinax port 0 defines the console.'''
'''Device id 0 on twinax port 0 defines the console.'''
Line 79: Line 80:


== Y2K issues ==
== Y2K issues ==
Very old machines (beige case, CISC CPU, pre 199x) usually run very old OS releases which aren't y2k-safe. One may choose to select a pastime year with a likewise mapping from weekday to actual date.
Very old machines (beige case, CISC CPU, pre 199x) usually run very old OS releases that aren't y2k-safe. One may choose to select a pastime year with a likewise mapping from weekday to actual date to partly work around this issue.


IBM states<ref>IBM Redbook SG24-4829-00 ''AS/400 Applications: Year 2000 Enablement & Services Considerations''.</ref>, Version 3 of OS/400 is „Y2k-enabled“ to different degrees in the minor releases of V3 with appropriate patches (PTFs) applied.
IBM states<ref>IBM Redbook SG24-4829-00 ''AS/400 Applications: Year 2000 Enablement & Services Considerations''.</ref>, Version 3 of OS/400 is „Y2k-enabled“ to different degrees in the minor releases of V3 with appropriate patches (PTFs) applied.


== Space requirements ==
== Space requirements ==
Depending on model, AS/400s can be huge. Keep this in mind when running for the fast but cheap box.
Depending on model, AS/400s can be huge. Keep this in mind when reaching out for the fast but cheap box. The coolness-factor of a full-blown 9406-890 with 32 POWER4 CPUs and 256&thinsp;GiB of RAM is incredible. So are the power, noise, cooling, and space requirements. See [https://www.ibm.com/support/knowledgecenter/en/POWER5/iphad_p5/i52h.html Model 9406-870 and 9406-890 server specifications] for the shocking details.


Also, console display and keyboard need space. They don't need to be physically attached all the time, though. Also, they don't need to be nearby the machine. It helps to have it nearby when disc-jockeying install media, though.
Also, console display and keyboard need space. They don't need to be physically attached all the time, though. And, they don't need to be nearby the machine. It helps to have it nearby when disc-jockeying install media, though.


== Recommendation ==
== Recommendation ==
If asked for a precise recommendation, I'd say, a 9401-150, equipped with max. memory (192&thinsp;MB) and four disks is nearly optimal:
[[File:IBM-9401-150-main-planar-front.jpg|thumb|right|Mainboard of a model 150]]
[[File:IBM-9401-150-main-planar-back.jpg|thumb|right|Mainboard of a model 150, backside]]
If asked for a precise recommendation, I'd say, a 9401-150, equipped with max. memory (192&thinsp;MB) and three to four 6607 (4&thinsp;GiB) disks is nearly optimal:
* Small form factor,
* Small form factor,
* Comparatively low power consumption,
* Comparatively low power consumption,
* No need for license keys,
* Not requiring license keys for OS and most add-on components,
* Not too slow.
* Not too slow.


Drawbacks include:
Drawbacks include:
* Too slow for heavy usage of SQL in interactive applications,
* Too slow for heavy usage of SQL in interactive applications,
* Attach to modern LANs through an ethernet card which runs at 10&thinsp;Mbit/s only (2723 adapter) or 16&thinsp;Mbit/s Token Ring (2724 adapter). Probably not a huge problem since the CPU is easily saturated by a single FTP transfer over TCP/IP. IP is a very resource hungry protocol. And we mostly will run terminal sessions which need only a tiny fraction of the seemingly tiny bandwidth. See also: [[Getting Data in and out of your AS/400]],
* Attach to modern LANs through an ethernet card that runs at 10&thinsp;Mbit/s only (2723 adapter) or 16&thinsp;Mbit/s Token Ring (2724 adapter). Usually not a problem since the CPU is easily saturated by a single FTP transfer over TCP/IP via a 2723 Ethernet Adapter. IP is a very resource hungry protocol. And we mostly will run terminal sessions that need only a tiny fraction of the seemingly tiny bandwidth. See also: '''[[Getting Data in and out of your AS/400]]''',
* Maybe noisy, depending on the disks,
* Maybe noisy, depending on the disks,
* Old machine: Was current around the 2000s.
* Old machine, old OS: Was current around the 2000s.
 
Old OS in regard to Programming means: Current fancy RPG features such as <code>/free</code> or <code>/all-free</code> are '''not''' implemented. Some RPG-Commands themselves are missing (date/time calculation functions come to mind). Many SQL features and commands are '''not''' implemented. And possibly more.
 
== Weblinks ==
* [https://www.ibm.com/support/knowledgecenter/ssw_ibm_i_72/rzajr/rzajrfunctions6521.htm Using the console service functions (65+21)] to gain access to console when it's set to a wrong value


== Footnotes ==
== Footnotes ==
<references />
<references />
[[Category: Basic Knowledge]]
[[Category: Musings]]

Revision as of 11:58, 22 October 2020

Qsicon Fixme.png This article isn't finished yet or needs to be revised. Please keep in mind that thus it may be incomplete.

Reason:

  • Add Pictures

If you want to have your very own AS/400, the first step is to acquire one. New machines with the accompanying OS/400 license are expensive. Unless you recently won a lottery jackpot, you might want to look for older machines.

There's no known emulation of the AS/400 platform on common platforms available. Virtualization of the OS is available, though. But only on IBM hardware, starting with POWER5 CPUs.

As I pointed out in The Naming of the System, the main differences between older and newer systems are mostly hardware based and not software based. Of course, newer OS releases have more features but I'm questioning their significance for a rookie regarding AS/400.

Facts to keep in mind when deciding that machine would be the right one for a beginner:

Complexity

Newer hardware with LPAR support is inherently complex to set up and configure. You probably need a Hardware Management Console for proper configuration of LPARs and IPL parameters, and for easy access to a Console. Ethernet ports are virtual and can be used by IBM i lines and probably by DST as a LAN console attachment. Which port corresponds to which entity in IBM i? I got multiple headaches when fighting with a 8203-E4A to get a grip onto how stuff works.

Older hardware is much simpler to set up. Twinax Console, Power, Probably LAN attachment, that's it. No virtualization means that physical ports have exactly one logical resource in OS/400.

Power Consumption

Older machines from pre 2000 need most power for spinning their hard disks. You can add 10..12 W of power for every 3,5"-Disk. Depending on model and how much stuff is in there, you can calculate between 80..400 W for a machine.

Every expansion card needs power to operate, even if it is not used. The more cards, the more power. It's usually safe to wade out cards one doesn't need. Some boxes had multiple modems attached to dedicated serial ports. Get rid of them.
It is possible that older machines (with SPD-Slots instead of PCI) request a new system password when the hardware configuration changes. To my knowledge, this password can be calculated by IBM only by providing some output of hardware inventory to IBM. Your mileage may vary.

Especially power hungry by comparison are integrated PC servers. These are cards that have an INTeL-CPU and dedicated RAM. These allow you to run Netware or Windows directly from virtual disk files on the AS/400 disks. Especially if not in use, these cards draw a good deal of power, because the CPU doesn't get HALT instructions for power saving.[1] E. g. 2850-011-Adapter: Pentium II@333MHz with 128 MB RAM sucks about 20 W extra power from the power supply.

The low end model 9401-150 is more on the 80 W-end whereas a full blown 9406-S20 with two full disk cages sucks around 320 W from mains. A 9406-800 with just two disks needs around 170 W.
Standby Usage of a 9401-150 is about 4 W. Standby Usage from a 9406-800 is about 20 W.

Oh, and: The AS/400 greatly benefits from having many disks. Data is cut into pieces and scattered over all available disks, just like RAID 0.

Boot time

Okay, you want to have a big box, because you like it fast. You plan to boot when you decide to tinker around and shut it down when you're done. Drawback is that those machines take awful long to boot. I'm talking about 5..15 Minutes or more, if the system was powered off without proper shutdown. Keep in mind that you probably don't tinker around as much as you intent, because booting the box for just a short test isn't worthwhile the investment in patience. Proper shutdown also takes several minutes.

Think twice. Maybe it's a better idea to have a slower box readily available when you're awake. Since it doesn't draw so much power, it doesn't hurt the pocket equally to have a big box running all the time. Besides that, AS/400s usually can be tasked on a very flexible way to power up and down to certain times on certain days.

Boot and shutdown are somewhat I/O intensive tasks. More disks make the box boot and shut down a bit faster.

Noise Level

Most older machines are surprisingly silent when initially powered on: Only the (few and huge) fans rotate. Disks will be started one by one by the service processor during the boot sequence.

The more disks, the more noise. The more disks, the more performance you gain.
The faster the disks spin, the more noise. The faster the disks spin, the more performance you gain.

Many disks of around the 2000s are slightly out of rotational balance, that is not a problem for their lifetime expectancy. But these usually produce audible hum between around 100..300 Hertz, depending on rotational speed of the disks in question. Add the audible beat effect resulting from tiny differences in rotational speed and you get a hum swelling louder and quieter. When the outer case of the box resonates with the disks' hum, the noise level could be easily multiplied. From my experience, this hum is way more annoying than the base noise from disk's motor trying to keep the platters rotating with nominal speed; with a slight increase in rattling noise when the disk actually positions its heads to read or write data.

If you're lucky you can tuck away the box in the basement and still have access via some kind of network connection. Best noise insulation though sheer distance.

Another considerable option is to buy adhesive bitumen mats and stick these to almost all flat areas of the inside of the case. This usually makes a huge difference.
I have a 9401-150 with three 2 GB disks with a slow spindle speed, maxbe 4500 RPM. The hum was not too annoying, but after applying bitumen mats to the case, the box is now so quiet, I easily could run it in the living room with only slight disturbance.

Accessories

Often, companies throw away documentation, license keys, proof of ownership, OS install media and other stuff prior to the disposal of the machine itself. The machines usually are really heavy to lift and as long as the occupied space is not badly needed, they tend to stay.

Hard Disks are often formatted or even removed and scrapped onsite to prevent data leaks. This transforms the machine in question into a nearly useless blob of mainly steel.

Older OS install CD images can be acquired by asking nicely in proper USENET groups or web based forums revolving around AS/400. Newer releases can be downloaded as trial releases from the IBM Entitled Software Support pages after registering an IBM ID. But without license keys, you have 72 days from installation until the machine finally refuses to boot. Or to provide proper license keys that stops this timer. The other option is to reinstall the OS, with prior blanking of the disks to yield another 72 days. The LIC-keys are dependent on model, hardware serial number and possibly other factors. So, it's not as easy as searching for s3r14lz in h4ck3r'z sp4c3z.

Even if you manage to get a box with appropriate license keys and put in some SCSI disks, it just won't work. IBM utilizes disks with unusual sector size, and more fancy stuff. So you need to buy more expensive AS/400 compatible (used) hard disks to re-equip the box. This investment is not a big deal, though.

There are certain combinations of system type and OS version that just work indefinitely without entering any license keys. One such combination is a 9401-150 with OS/400 V4R5M0.

Console

AS/400s usually don't have a keyboard connector nor a port for a VGA display.[2] They lack a RS-232 port for attaching a conventional serial terminal (or PC with conventional terminal emulation software).[3]

For the initial setup, troubleshooting and backup of the system, a console is needed. This equals to a 5250 terminal from IBM or equivalents from other manufacturers. Most companies who had AS/400 still have at least one of these in the basement: Because a console is important.

Every machine has a so called twinax controller either built-in or on a PCI card. The connector type is either DB-9F or DB-25F, on an addon card or at the box's case itself. Depends on model, thus age and how it was ordered back then. Another needed accessory is the so called twinax brick, a heavy plastic box with multiple twinax connectors and a cable with a fitting plug for the attachment to the twinax controller in the AS/400.
Older (CISC) machines might have twinax plugs directly attached to their case.

The twinax connectors on the brick have numbers, starting from 0. The console terminal is (in part) determined by attaching it to connector 0.

Terminals were attached to the twinax cable with kind of a Y-adapter: A short piece of two cables having two twinax plugs on two ends and a DB-15 connector on the common end of the Y. The DB-15 is attached to the logic board of the terminal. The two twinax ports allowed to daisy-chain terminals on one common twinax cable.

Every twinax terminal has a primary address[4] and probably a secondary address, for a second session or a locally attached parallel port printer. The console must have it's primary address set to 0.

Device id 0 on twinax port 0 defines the console.

One may check and/or change the terminal settings by powering off the terminal, pressing and holding the space bar on the keyboard and powering on the terminal. You'll be presented by a menu system for changing and viewing settings and may release the space bar.

Terminals don't utilize flash memory for storing settings. Usually there is a battery soldered to the logic board to allow NVRAM to retain it's information. If terminals lose their settings when not being powered on, it's very likely that this battery is drained and should be exchanged before it starts to leak corrosive chemicals, destroying the logic board of the terminal.

Y2K issues

Very old machines (beige case, CISC CPU, pre 199x) usually run very old OS releases that aren't y2k-safe. One may choose to select a pastime year with a likewise mapping from weekday to actual date to partly work around this issue.

IBM states[5], Version 3 of OS/400 is „Y2k-enabled“ to different degrees in the minor releases of V3 with appropriate patches (PTFs) applied.

Space requirements

Depending on model, AS/400s can be huge. Keep this in mind when reaching out for the fast but cheap box. The coolness-factor of a full-blown 9406-890 with 32 POWER4 CPUs and 256 GiB of RAM is incredible. So are the power, noise, cooling, and space requirements. See Model 9406-870 and 9406-890 server specifications for the shocking details.

Also, console display and keyboard need space. They don't need to be physically attached all the time, though. And, they don't need to be nearby the machine. It helps to have it nearby when disc-jockeying install media, though.

Recommendation

Mainboard of a model 150
Mainboard of a model 150, backside

If asked for a precise recommendation, I'd say, a 9401-150, equipped with max. memory (192 MB) and three to four 6607 (4 GiB) disks is nearly optimal:

  • Small form factor,
  • Comparatively low power consumption,
  • Not requiring license keys for OS and most add-on components,
  • Not too slow.

Drawbacks include:

  • Too slow for heavy usage of SQL in interactive applications,
  • Attach to modern LANs through an ethernet card that runs at 10 Mbit/s only (2723 adapter) or 16 Mbit/s Token Ring (2724 adapter). Usually not a problem since the CPU is easily saturated by a single FTP transfer over TCP/IP via a 2723 Ethernet Adapter. IP is a very resource hungry protocol. And we mostly will run terminal sessions that need only a tiny fraction of the seemingly tiny bandwidth. See also: Getting Data in and out of your AS/400,
  • Maybe noisy, depending on the disks,
  • Old machine, old OS: Was current around the 2000s.

Old OS in regard to Programming means: Current fancy RPG features such as /free or /all-free are not implemented. Some RPG-Commands themselves are missing (date/time calculation functions come to mind). Many SQL features and commands are not implemented. And possibly more.

Weblinks

Footnotes

  1. Just like an ordinary PC when displaying BIOS settings screen.
  2. If you see something like that on such a machine, it's from an Integrated PC server board.
  3. Any lookalike ports have special uses that is described in the appropriate hardware documentation.
  4. Not unlike the SCSI-ID of SCSI devices.
  5. IBM Redbook SG24-4829-00 AS/400 Applications: Year 2000 Enablement & Services Considerations.