Berita dan Article
IBM memasarkan laptop pertama yang mereka sebut sebagai IBM 5140 PC Convertible pada tanggal 2 April 1986, yang merupakan pengganti dari IBM 5155 Portable PC yang dihentikan produksinya. Sistem IBM 5140 tidaklah sesukses IBM 5150 atau laptop-laptop lainnya, mengingat laptop pesaing menawarkan media penyimpanan yang lebih baik, penggunaan prosesor yang lebih cepat, layar yang lebih baik, ukuran yang lebih kompak, dan harga yang lebih murah. Meski IBM 5140 menawarkan layar yang lebih baik dibandingkan dengan laptop-laptop pesaing, IBM 5140 tidak begitu dilirik pasar.
IBM 5140 tersedia dalam dua model, yakni:
Model 2, yang diperkuat dengan menggunakan mikroprosesor Intel 80C88 CMOS 4.77 MHz, 64 KB ROM, 256 KB SRAM, layar LCD dengan resolusi 80×25, dua buah 3½ inci floppy-disk drive, keyboard 78-tombol, adaptor AC, dan baterai. Program yang tersedia dalam model ini adalah Application Selector, SystemApps, Tools, Exploring the IBM PC Convertible, dan Diagnostics.
Model 22, yang merupakan IBM 5140 Model 2 yang hanya dilengkapi dengan perangkat lunak diagnosa saja (Diagnostics). Model ini dijual dengan harga yang lebih murah dibandingkan dengan Model 2.
Dua model di atas dapat ditambahi RAM hingga 512 KB dengan menggunakan kartu ekspansi memori RAM sebesar 128 KB. Selain itu, dapat diperluas dengan menggunakan modem internal 1200 bit/detik.
Meski IBM 5140 menggunakan prosesor yang lambat (4.77 MHz, sama seperti IBM 5150), penggunaan SRAM sebagai memori fisik mampu meningkatkan kinerja jika dibandingkan dengan penggunaan DRAM, mengingat SRAM tidak membutuhkan sinyal refresh seperti halnya DRAM (yang mampu menambah waktu tunggu hingga 7% dari kecepatan CPU IBM PC atau IBM PC/XT). Ini berarti IBM 5140 memiliki kinerja yang lebih tinggi hingga 7% dibandingkan dengan IBM PC atau IBM PC/XT, meskipun memiliki prosesor dengan kecepatan yang sama, 4.77 MHz. Karena SRAM memang lebih andal jika dibandingkan DRAM, penggunaannya dalam 5140 tidak membutuhkan pengecekan paritas yang bahkan menambah waktu tunggu yang lebih tinggi lagi.
Sebuah unit IBM 5140 memiliki fitur-fitur standar berikut:
Mikroprosesor yang dibuat berdasarkan teknologi Complimentary Metal-Oxide Semiconductor (CMOS), Intel 80C88 (variasi dari Intel 8088), dengan kecepatan 4.77 MHz.
Dua buah ROM berukuran 32 Kilobyte yang berisi hal-hal berikut (untuk menghemat daya, digunakanlah teknologi CMOS):
Power-On Selft Test yang mampu menjalankan diagnosa terhadap perangkat komputer saat melakukan proses booting, serta BIOS.
interpreter bahasa BASIC.
Memori fisik menggunakan Static Random Access Memory yang berukuran 256 KB. Dapat ditambahi hingga 512 KB. (untuk menghemat daya, maka digunakanlah teknologi CMOS).
Dua buah floppy-disk drive 3½ inci 720 KB.
Sebuah panel LCD dengan resolusi 80 kolom x25 baris (modus teks), atau 640×200 dan 320×200 pixel (modus grafik) yang dapat dilepas.
Sebuah LCD controller
Display buffer dengan ukuran RAM 16 KB, ditambah 8 KB RAM untuk menyimpan font LCD
Keyboard 78-tombol
Adaptor AC
Baterai
The IBM System i 520 server has been withdrawn from the market, effective July 8, 2008. The learn more links provide information on the 520.
Highlights
Can simplify your environment by reducing the number of servers and associated staffing required so you can reinvest the savings to grow your business.
Gives you a complete, integrated system that provides a secure, reliable way to become an On Demand Business.
Runs a broad set of over 6,400 leading, industry applications from more than 2,500 ISVs.
Virus resistant by design, the i520 helps save money by avoiding multiple security patches throughout the year, as well as reducing concern about company data security being compromised.
Bottom line
Many small- and mid-sized companies are facing the challenge of an overly complex IT environment. As your business grows, your computing needs increase. Implementing new applications can mean adding more servers, which increases spending and staffing requirements. Now more than ever, you need a system that can help you become more responsive to your customers, improve productivity, operate without interruption and secure your data and systems-all without making large upfront investments in time, skills or money. You need a business system that is there when you need it and grows with your business. The IBM System i™ family can deliver the power and capacity to run new and existing core business applications on a single system, to easily integrate and simplify your IT environment. The System i platform delivers a complete business system with the features and functions you need built in, making it the most cost-effective business system.
By design, the System i family is highly secure and virus resistant. It supports proven, industry-specific solutions from IBM Business Partners with innovative IBM technology and the capability to run all popular operating systems and application environments on one system. System i offerings provide flexible pricing and a keen focus on delivering value in your business. The result is a simple, affordable solution with outstanding capability, price performance, reliability and manageability, legendary security and the flexibility to start small and grow to meet new business demands.
Common features
IBM POWER5+™ processors-the tenth generation of 64-bit processor technology.
Multi-platform operating environment with capability to run i5/OS®, Linux®, Microsoft® Windows Server™ 1, AIX 5L™ and application environments such as WebSphere® and Java™.
On demand pricing options help match purchasing flexibility with technology and business needs.
Extensive portfolio of proven solutions available in all operating environments.
Enhanced support for Web modernization of 5250 OLTP (On-line Transaction Processing) applications.
Flexible packaging options with attractive pricing provide growth options, delivering outstanding value and reducing total cost of ownership.
Unlinked list items using black bullets.
Hardware summary
Includes i5/OS and can add Microsoft Windows® 1, Linux and AIX 5L operating systems.
1-way offerings provide from 600 CPW to 3800 CPW.
Up to 32GB memory.
Up to 278 disk drives – 39TB of capacity.
Up to six I/O expansion towers/drawers via High Speed Link.
Up to 90 PCI-X slots, 192 WAN lines, 36 LANs.
Integrated Ethernet LAN and disk controllers.
Integrated DVD-ROM or DVD-RAM.
Base 2-line WAN.
Up to 18 Integrated xSeries® Servers.
Up to eight Integrated xSeries Adapters.
Redundant, hot-plug components for additional reliability.
Desk-side tower or rackmount configuration.
Knowing what technology devices to choose can prove to be a difficult task even for the most seasoned business owner. Rapid technology changes make it hard to keep up and the newest features are not necessarily what an infrastructure needs to run optimally. Outside factors like the server environment contribute to the type of hardware utilized in any IT infrastructure. IBM components are highly regarded for their performance capabilities, reliability, and supplied quality. Unfortunately their hardware can be quite pricey for a business making it essential to know how each available option can help enhance current computing components. Countless manufacturer models are purchasable in refurbished or remanufactured condition at a lower expense. They deliver the same features as a new component with minimal to no use. In some scenarios, items are discontinued and sold at half cost to make room for the newest model. Used IBM iSeries products allow an organization to acquire discontinued or current midrange servers affordably.
What Features are Obtainable with this Used Server Choice?
Pre-owned equipment in this particular product line was originally called AS/400 models and can be implemented as a small business, departmental, or enterprise solution. The naming convention was changed in 2000 when the V5R1 operating system was introduced. System I, or iSeries technology is the most widely employed product line offered by IBM, with the i5 containing Power5 microprocessors. These particular servers have the ability to run as many as five operating systems of varying natures simultaneously on more than one partition. Operating systems include:
AIX
Linux
OS/400
Windows
i5/OS
Larger enterprises in need of UNIX capabilities or desiring increased scalability can gain additional advantages from pSeries models, but are still capable of receiving tremendous benefits from these products. The iSeries offers enough configuration and feature flexibility to fit numerous infrastructure setups employed by varying sized organizations. Businesses choose used servers to obtain the necessary AS/400 technology or to reduce the cost of purchasing this versatile hardware. System I models in remanufactured condition offer a unique upgrade opportunity. The i5 models have capabilities such as 64-bit computing, improved performance, single device hardware management, and multiple operating system hardware sharing.
Additional features have contributed to the long-standing reputation of this computing series. The supplied high-level instruction set referred to as Technology Independent Machine Interface eliminates the need for recompilation to utilize advanced hardware or software features. It was designed to create an environment where applications are binary compatible across several processor families. Instructions operate as an intermediate compile step that is translated by the central processor during final compilation and then stored in the end object instead of being interpreted at run time. The operating system includes an extensive library for managing multiple platforms at one time. Used IBM iSeries products include Database 2 management, multi-user capabilities, a menu-driven interface, and are compatible with common client/server setups. A large portion of the software needed to run these systems has been integrated as part of the base OS. The line has become a stable business choice because it offers various features within a reasonable price range.
Article Source: http://EzineArticles.com/6902302
IBM System i
From Wikipedia, the free encyclopedia
The IBM System i is IBM’s previous generation of midrange computer systems for IBM i users, and was subsequently replaced by the IBM Power Systems in April 2008.
The platform was first introduced as the AS/400 on June 21, 1988 and later renamed to the eServer iSeries in 2000. As part of IBM’s Systems branding initiative in 2006, it was again renamed to System i. The codename of the AS/400 project was “Silver Lake”, named for the lake in downtown Rochester, MN, where development of the system took place.
In April 2008, IBM announced its integration with the System p platform. The unified product line is called IBM Power Systems and features support for the IBM i (previously known as i5/OS or OS/400), AIX and Linux operating systems. Power4 or older hardware ran OS/400 exclusively.
The IBM System/38 was introduced in November 1980 as a minicomputer for general business and departmental use. It was replaced by the AS/400 midrange computer in 1988 which was rebranded as the eServer iSeries in 2000 (in accordance with IBM’s new eServer initiative). Later in 2006 it was renamed the IBM System i which lasted until April 2008 (almost 20 years after being introduced) when it too was—finally—replaced by the IBM Power Systems line.
It uses an object-based operating system called IBM i. The operating system has undergone name changes in accordance with the rebranding of the IBM server line. Initially, it was called OS/400 (following the name schema that gave birth to OS/360 and OS/2). Later on became known as i5/OS in line with the introduction of the eServer i5 servers featuring POWER5 processors. Finally, it was called just IBM i coinciding with the 6.1 release.
Features include a RDBMS (DB2/400), a menu-driven interface, multi-user support, dumb terminal support (IBM 5250), printers, as well as security, communications and web-based applications, which could be executed either inside the (optional) IBM WebSphere application server or in PHP/MySQL[1] using a native port of the Apache web server.
While in Unix-like systems “everything is a file”, on the System i everything is an object, with built-in persistence and garbage collection. It also offers Unix-like file directories using the Integrated File System.[2] Java compatibility is implemented through a native port of the Java virtual machine.
In 1999, IBM introduced logical partitioning (LPARs) with i5/OS to support multiple virtual systems on a single hardware footprint.
[edit] Features
The IBM System i platform extended the System/38 architecture of an object-based system with an integrated DB2 relational database. Equally important are the virtual machine and single-level storage concepts which established the platform as an advanced business computer.
[edit] Instruction set
One feature that has contributed to the longevity of the IBM System i platform is its high-level instruction set (called TIMI for “Technology Independent Machine Interface” by IBM), which allows application programs to take advantage of advances in hardware and software without recompilation. TIMI is a virtual instruction set independent of the underlying machine instruction set of the CPU. User-mode programs contain both TIMI instructions and the machine instructions of the CPU, thus ensuring hardware independence. This is conceptually somewhat similar to the virtual machine architecture of programming environments such as Smalltalk, Java and .NET. The key difference is that it is embedded so deeply into the AS/400′s design as to make applications effectively binary-compatible across different processor families.
Unlike some other virtual-machine architectures in which the virtual instructions are interpreted at run time, TIMI instructions are never interpreted. They constitute an intermediate compile time step and are translated into the processor’s instruction set as the final compilation step. The TIMI instructions are stored within the final program object, in addition to the executable machine instructions. This is how application objects compiled on one processor family (e.g., the original CISC AS/400 48-bit processors) could be moved to a new processor (e.g., PowerPC 64-bit) without re-compilation. An application saved from the older 48-bit platform can simply be restored onto the new 64-bit platform where the operating system discards the old machine instructions and re-translates the TIMI instructions into 64-bit instructions for the new processor.
The IBM System i’s instruction set defines all pointers as 48-bit. This was the original design feature of the System/38 (S/38) in the mid 1970s planning for future use of faster processors, memory and an expanded address space. The original AS/400 CISC models used the same 48-bit address space as the S/38. The address space was expanded in 1995 when the RISC PowerPC RS64 64-bit CPU processor replaced the 48-bit CISC processor.
For 64-bit PowerPC processors, the virtual address resides in the rightmost 64 bits of a pointer while it was 48 bits in the S/38 and CISC AS/400. The 64-bit address space references main memory and disk as a single address set which is the single-level storage concept.
[edit] Software
The IBM System i includes an extensive library-based operating system, i5/OS, and is also capable of supporting multiple instances of AIX, Linux, Lotus Domino, Microsoft Windows 2000 and Windows Server 2003. While i5/OS, AIX, Linux and Lotus Domino are supported on the POWER processors, Windows is supported with either single-processor internal blade servers (IXS) or externally-linked multiple-processor servers (IXA and iSCSI). iSCSI also provides support for attachment of IBM Bladecenters. Windows, Linux, and VMware ESX(VI3) are supported on iSCSI attached servers.
LPAR (Logical PARtitioning), a feature introduced from IBM’s mainframe computers, facilitates running multiple operating systems simultaneously on one IBM System i unit. A system configured with LPAR can run various operating systems on separate partitions while ensuring that one OS cannot run over the memory or resources of another. Each LPAR is given a portion of system resources (memory, hard disk space, and CPU time) via a system of weights that determines where unused resources are allocated at any given time. The operating systems supported (and commonly used) under the LPAR scheme are i5/OS, AIX, and Linux.
Other features include an integrated DB2 database management system, a menu-driven interface, multi-user support, non-programmable terminals (IBM 5250) and printers, security, communications, client–server and web-based applications. Much of the software necessary to run the IBM System i is included and integrated into the base operating system.
The IBM System i also supports common client–server systems such as ODBC and JDBC for accessing its database from client software such as Java, Microsoft .NET languages and others.
The IBM System i also provides an environment for AIX applications to run natively on i5/OS without the need for an AIX LPAR.
AIX programs are binary compatible with OS/400 when using OS/400′s PASE (Portable Applications System Environment). PASE is essentially “an operating system within an operating system”, supporting the most recent stable version of AIX. Most AIX 5L compatible binaries may be executed without modification or recompilation in the PASE environment. Exceptions to this are programs that contain direct calls to AIX kernel based APIs as there is no AIX kernel in PASE. If necessary an AIX program may be built directly in PASE using a standard AIX XL C/C++ compiler, for example if native APIs are to be used. In that case APIs are provided to translate between the AIX style pointers and the native 16 byte pointers. Support is provided for running both 32 and 64bit AIX executables.
[edit] Programming
Programming languages available for the AS/400 include RPG, assembly language, C, C++, Pascal, Java, EGL, Perl, Smalltalk, COBOL, SQL, BASIC, PHP, PL/I, Python and REXX. Several CASE tools are available: AllFusion Plex (see *Plex Wiki), Accelerator for IBM i, ADELIA, Synon, AS/SET, IBM Rational Business Developer Extension, LANSA, ProGen Plus and GeneXus.
The ILE (Integrated Language Environment) programming environment allows programs from ILE compatible languages (C, C++, COBOL, RPG, Fortran, and CL), to be bound into the same executable and call procedures written in any of the other ILE languages.
The IBM System i fully supports the Java language, including a 32-bit Java Virtual Machine (JVM) and a 64-bit JVM.
Commands in the Control Language (CL) are promptable using the keyboard F4 function key, and most provide cursor-sensitive help to make specifying command parameters simpler. All command names and parameter keywords are based upon uniform standardized and mostly 3-letter abbreviations for verbs and subjects, making for easy rendering and interpretation by the application developer, as opposed to other operating systems with often cryptic or inconsistent command names for related functions or command parameter switches. For instance, the parameter keyword to apply a text description to any object to be created or changed is spelled the same way for all such commands.
Examples:
CRTUSRPRF – Create user profile
DSPUSRPRF, CHGUSRPRF, DLTUSRPRF – Display, change, and delete user profile
DLTLIB – Delete library
CRTLIB, DSPLIB, CHGLIB – Create, display, and change a library
ADDLIBL, CHGLIBL – Add to or change library list
CPYF, CRTF, DSPF, CHGF, DLTF – Copy, create, display, change, and delete file
WRKACTJOB – Work with Active Jobs
WRKSYSSTS – Work with System Status
STRSST, STRPASTHR, STRSBS – Start System Service Tools, start pass through (remote login), start subsystem
VRYCFG – Vary configuration, bring interfaces up or down
PWRDWNSYS – Power Down System
WRKSPLF – Work with spooled files
For traditional business programming languages such as RPG, COBOL, and C, the IBM System i provides an interface to the integrated database that allows these languages to treat database files much like other platforms treat ISAM or VSAM files.
Support for 5250 display operations is provided via display files, an interface between workstations, keyboards and displays, and interactive applications, as opposed to batch processing with little or no user interaction. ASCII terminals and PC workstations are equally and well supported, also via internet or LAN network access supplemented by either IBM or non-IBM communication software, for example TELNET or TELNET 5250.
[edit] History
The IBM System i, then known as the AS/400, was the continuation of the System/38 database machine architecture (announced by IBM in October 1978 and delivered in August 1979). The AS/400 removed capability-based addressing.[3] The AS/400 added source compatibility with the System/36 combining the two primary computers manufactured by the IBM Rochester plant. The System/36 was IBM’s most successful mini-computer but the architecture had reached its limit. The first AS/400 systems (known by the development code names Silverlake and Olympic) were delivered in 1988 under the tag line “Best of Both Worlds” and the product line has been refreshed continually since then. Guy Dehond from Inventive Designers was one of the beta-testers of Silverlake. The programmers who worked on OS/400, the operating system of the AS/400, did not have a UNIX background. Dr Frank Soltis, the chief architect, says that this is the main difference between this and any other operating system.
The AS/400 was one of the first general-purpose computer systems to attain a C2 security rating from the NSA (Gould UTX/C2, a UNIX-based system was branded in 1986[4]), and in 1995 was extended to employ a 64-bit processor and operating system.
The 1995 change-over from 48 to 64-bit required that all programs be ‘observable’, i.e. that the debugging information had not been stripped out of the compiled code. This caused problems for those who had bought third-party products that had no source and no observability. In 2008, the introduction of V6R1 caused similar problems, although this time IBM preferred to call it a “refresh”.[5]
In 2000 IBM renamed the AS/400 to iSeries, as part of its e-Server branding initiative. The product line was further extended in 2004 with the introduction of the i5 servers, the first to use the IBM POWER5 processor. The architecture of the system allows for future implementation of 128-bit processors when they become available.
Although announced in 1988, the AS/400 remains IBM’s most recent major architectural shift that was developed wholly internally. Since the arrival of Lou Gerstner in 1993, IBM has viewed such colossal internal developments as too risky. Instead, IBM now prefers to make key product strides through acquisition (e.g., the takeovers of Lotus Software and Rational Software) and to support the development of open standards, particularly Linux. It is noteworthy that after the departure of CEO John Akers in 1993, when IBM looked likely to be split up, Bill Gates commented that the only part of IBM that Microsoft would be interested in was the AS/400 division. (At the time, many of Microsoft’s business and financial systems ran on the AS/400 platform.[6][7])
[edit] Hardware
The AS/400 was originally based on a custom IBM CISC CPU which used a CPU architecture known as Internal MicroProgrammed Interface (IMPI) and an instruction set similar to the IBM 370. It was later migrated to a POWER-based RISC CPU family eventually known as RS64.[8]
[edit] CPU in AS/400, iSeries, i5, Power Systems
The System i5 uses IBM POWER CPUs. These CPUs are developed and manufactured by IBM. The POWER 4/5/5+ chips contain two cores. There are Multi-Chip Modules (MCM) available. They have 2 CPUs (4 cores) or 4 CPUs (8 cores) in one MCM.
CPU Year Clock Speed Server-Model
Cobra (A10) since 1995 55 or 75 MHz Model: 4xx, 5xx
Muskie (A25/A30) since 1996 125 or 154 MHz Model: 53x
Apache (RS64) (A35) since 1997 125 MHz Model: 6xx, 150
NorthStar (RS64 II) since 1998 200, 255 or 262 MHz Model: 170, 250, 7xx, 650, S40, SB1[9]
Pulsar (RS64 III) since 1999 450 MHz Model: 270, 820
IStar since 2000 400, 500, 540 or 600 MHz Model: 820, 830, 840, SB2, SB3
SStar (RS64 IV) since 2001 540, 600 or 750 MHz Model: 270, 800, 810, 820, 830, 840
POWER4 since 2002 1.3 GHz Model: 890
POWER4 since 2003 1.1 or 1.3 GHz Model: 825, 870
POWER5 since 2005 1.5 or 1.65 GHz Model: i5-520; i5-550; i5-570; i5-595
POWER5 since 2006 1.9 GHz Model: i5-595
POWER5+ since 2006
1.9 GHz
2.2 GHz Model: i5-520, i5-550, i5-515, i5-525
Model: i5-570
POWER6 since 2007 4.0 GHz
4.7 GHz Model: BladeCenter JS22, JS12
Model: i5-570 (MMA)
Models: M50, M25 & M15
POWER6 as of Dec 2009 3.5 GHz
3.8 GHz
4.0 GHz
4.2 GHz
4.4 GHz
5.0 GHz
Models: BladeCenter JS12, JS22, JS23, JS43
Models: Power 520, 550, 560, 570, 575, 595
POWER7 since 2010 3.0 GHz
3.3 GHz
3.55 GHz Models: Power 710, 720, 730, 740, 750, 755, 770, 780
[edit] Models of AS/400, iSeries, i5 systems
Model Year CPU Group Base – CPW
B10, B20, B30, B35, B40, B45, B50, B60, B70 1988, 1989 P10, P20 2,9 – 20
C04, C06, C10, C20, C25 1990 P10 3,1 – 6,1
D02, D04, D06, D10, D20, D25, D35, D45, D50, D60, D70, D80 1991 P10, P20, P30 3,8 – 56,6
E02, E04, E06, E10, E20, E25, E35, E45, E50, E60, E70, E80, E90, E95 1992 P10, P20, P30, P40 4,5 – 116,6
F02, F04, F06, F10, F20, F25, F35, F45, F50, F60, F70, F80, F90, F95, F97 1993 P05, P10, P20, P30, P40 5,5 – 177,4
P01, P02, P03 1993, 1994, 1995 P05 7,3 – 16,8
150 1996 P05 10,9 – 35,0
S10, S20, S30, S40 1997 P05, P10, P20, P30, P40, P50 45,4 – 4550
SB1, SB2, SB3 1997, 2000 P30, P40 1794 – 16500
10S, 100, 135, 140 1995, 1993 P05, P10, P20 17,1 – 65,6
170 1998 P05, P10, P20, 30 – 1090
200, 20S, 236 1994 P05, P10 7,3 – 17,1
250 2000 P05 50 – 75
270 2000 P05, P10, P20 50 – 2350
300, 30S, 310 1994 P10, P20, P30, P40 11,6 – 177,4
400, 40S, 436 1995 P05, P10 13,8 – 91,0
500, 50S, 510, 530, 53S 1995 P10, P20, P30, P40 18,7 – 650
600, 620, 640, 650 1997 P05, P10, P20, P30, P40, P50 22,7 – 4550
720 1999 P10, P20, P30 240 – 1600
730 1999 P20, P30, P40 560 – 2890
740 1999 P40, P50 3660 – 4550
800 2003 P05, P10 300 – 950
810 2003 P10, P20 750 – 2700
820 2000, 2001 P05, P10, P20, P30, P40 100 – 3700
825 2003 P30 3600 – 6600
830 2000, 2002 P20, P30, P40, P50 1850 – 7350
840 2000,2001,2002 P40, P50 10000 – 20200
870 2002 P40, P50 7700 – 20000
890 2002 P50, P60 20000 – 37400
520 2004 – 2006 P05, P10, P20 500 – 7100
550 2004 – 2006 P20 3300 – 14000
570 2004 – 2006 P30, P40 3300 – 58500
595 2004 – 2006 P50, P60 24500 – 216000
515 2007 P05 3800 – 7100
525 2007 P10 3800 – 7100
570 2007 P40 16700 – 58500
MMA (9406) 2007 P30 5500 – 76900
M15 2008 P05 4300
M25 2008 P10 4300 – 8300
M50 2008 P20 4800 – 18000
MMA 2008 P30 8150 – 76900
JS12 2008 P05 7100
JS22 2008 P10 13800
JS23 2008
JS43 2008
570 (9117) 2008 P30 104800
595 (9119) 2008 P60 294700
[edit] See also
AS/400 Control Language
AS/400 Libraries
AS/400 Library List
AS/400 object
i5/OS
IBM 5250
IPDS
iSeries QSHELL
COMMON
IBM System p
Overview – IBM eServer xSeries 335
Applicable countries and regions
| Processor | Intel Xeon Processor up to 3.2GHz/533MHz front-side bus |
| Memory | 512MB or 1GB/8GB PC2100 ECC DDR |
| Hard disk drive (HDD) | Ultra320 SCSI hard disk drives |
| Networking | Dual integrated 10/100/1000 Ethernet |
| Video | ATI Radeon 7000-M video controller with 16 MB SDRAM video memory on the system board. |
| Power supply | 332W 1/1 or 411W 1/1 |
| RAID support | Integrated RAID-1 (mirroring) |
| Configuration | Rack/1U |
| Detailed specifications | All specifications for the IBM eServer xSeries 335 |
Note: Specifications are dependent on the machine type and model
Warranty
Three-year onsite limited warranty for parts and labor
View warranty status for a machine
For warranty service upgrades and maintenance service, refer to Warranty service upgrades and maintenance services.
Hardware compatibility
For detailed information about IBM and non-IBM devices, adapters, software, and network operating systems supported with xSeries servers, visit the ServerProven compatibility Web site at http://www.ibm.com/servers/eserver/serverproven/compat/us/.
Additional product information
Troubleshooting – Step-by-step instructions for solving common computer issues
Hardware removal and installation – Instruction for removing or installing options and service parts
IBM PC adalah sebutan untuk keluarga komputer pribadi buatan IBM. IBM PC diperkenalkan pada 12 Agustus 1981, dan “dipensiunkan” pada tanggal 2 April 1987. Sejak diluncurkan oleh IBM, IBM PC memiliki beberapa keluarga, yakni
IBM 4860 PCjr
IBM 5140 Convertible Personal Computer (laptop)
IBM 5150 Personal Computer (PC yang asli)
IBM 5155 Portable PC (sebenarnya merupakan PC XT yang portabel)
IBM 5160 Personal Computer/eXtended Technology
IBM 5162 Personal Computer/eXtended Technology Model 286 (sebenarnya merupakan PC AT)
IBM 5170 Personal Computer/Advanced Technology
Daftar isi
[sembunyikan]
1 IBM 5150 Personal Computer
1.1 Model
1.2 Versi BIOS
2 IBM 5140 PC Convertible (laptop)
3 IBM 5160 Personal Computer eXTended
[sunting] IBM 5150 Personal Computer
IBM PC 5150 adalah komputer pribadi generasi pertama yang diluncurkan pada 12 Agustus 1981. Komputer pribadi tersebut diperkuat dengan menggunakan prosesor 16-bit Intel 8088 berkecepatan 4.77 MHz, power supply 63.5 Watt dan memori yang hanya 64 KB. Media penyimpanan yang digunakannya hanya floppy disk drive 5.25 inci 320 KB atau 360 KB (double-side floppy disk).
IBM PC datang dengan ROM yang dilengkapi dengan interpreter bahasa Microsoft Cassette BASIC, sehingga pengguna dapat melakukan pemrograman (jika tidak ada sistem operasi yang dimuat). ROM juga dilengkapi dengan fungsi diagnosa Power-on Self Test (POST) yang akan melakukan pengecekan terhadap perangkat keras sebelum dapat bekerja (meski proses pengecekan yang dilakukannya sangat lambat, lebih dari 10 detik).
Mikroprosesor yang digunakan Intel 8088, dengan kecepatan 4.77MHz.
Math co-processor opsional: Intel 8087 berkecepatan 4.77 MHz.
Jenis bus yang digunakan ISA (Industry Standard Architecture) 8-bit
Tingkatan interupsi 8 (6 yang dapat digunakan), tidak dapat saling berbagi, bersifat Edge-triggered
Saluran Direct Memory Access (DMA) 4 buah (3 yang dapat digunakan), tidak dapat mendukung bus mastering
Prosesor dapat di-upgrade Tidak
Memori Chip Dynamic Random Access Memory (DRAM), 200 nanodetik, dengan kapasitas 16 KB, 64 KB, atau 256 KB.
Interkoneksi dengan motherboard menggunakan soket Dual-Inline Package (DIP) 16-pin, yang berjumlah 27 buah (3 x 9 chip).
Maksimum 64 KB (untuk motherboard yang dijual sebelum tahun 1983)/256 KB (untuk motherboard yang dijual setelah 1983) yang dapat ditancapkan di tiap soket atas motherboard.
Untuk memori yang lebih besar (hingga 640 KB), dapat menggunakan slot ekspansi memory (memory expansion slot).
Bank pertama dari memori disolder ke atas motherboard, sehingga tidak dapat diganti secara langsung tanpa melakukan desolder (IBM menyarankan untuk mengganti motherboard untuk mengganti memori yang disolder).
Total Memori RAM maksimum 640 KB, dapat diinstalasikan dengan menggunakan slot ekspansi memori (karena motherboard hanya mendukung 64 KB atau 256 KB).
ROM 40 KB, tidak mendukung ROM Shadowing.
Port serial 2 buah NS8250B UART, 9600 baud/detik
Port paralel 3 buah, tidak mendukung operasi dua arah (bi-directional).
Jenis media penyimpanan Floppy disk drive, 360 KB 5.25 inci
Slot ekspansi 5 buah yang terdapat dalam motherboard, 3 buah yang masih kosong
(1 buah digunakan untuk kontrolir floppy disk, 1 buah lagi digunakan untuk kontrolir video)
Power Supply 63.5 Watt, diberi kipas pendingin.
Beberapa kartu ekspansi yang haus daya mensyaratkan penggantian power supply yang dapat menyuplai daya yang lebih besar.
Keyboard IBM PC Keyboard, 83-tombol. Dicolokkan ke dalam soket keyboard yang memiliki enam buah pin.
[sunting] Model
Sebelum Maret 1983, IBM memasarkan beberapa model dengan konfigurasi yang berbeda (meskipun hanya sedikit perbedaannya), tapi setelah Maret 1983, IBM PC 5150 datang dalam dua model, yakni:
IBM PC 5150 Model 166 (Intel 8088, 256 KB RAM, 1 buah floppy-disk drive 360 KB)
IBM PC 5150 Model 176 (Intel 8088, 256 KB RAM, 2 buah floppy-disk drive 360 KB)
Hingga dipensiunkan tanggal 2 April 1987 (enam tahun masa jabatan), IBM PC dapat mendunia. Tetapi, secara arsitektural, tidak ada perubahan yang signifikan di dalamnya.
[sunting] Versi BIOS
IBM PC datang dengan tiga versi BIOS, yang dibedakan dari tanggalnya, yakni sebagai berikut:
24 April 1981, merupakan versi BIOS pertama dalam IBM PC yang hanya mendukung memori fisik hingga 544 KB. Tidak dilengkapi dengan fitur pemindaian blok memori UMA (Upper Memory Address) untuk beberapa kartu ekspansi (seperti video, adapter hard disk, dan lainnya).
19 Oktober 1981, merupakan versi BIOS kedua dalam IBM PC yang hanya mendukung memori fisik hingga 544 KB. Sama seperti halnya versi pertama tapi ditambahi beberapa bugfix.
27 Oktober 1982, merupakan versi BIOS ketiga yang dapat mendukung memori fisik hingga 640 KB (conventional memory), ditambah dengan fitur pemindaian blok memori UMA. BIOS ini merupakan BIOS yang paling umum digunakan.
Upgrade BIOS hanya dapat dilakukan dengan mengganti chip BIOS yang lama dengan chip BIOS yang baru. IBM menjual kit upgrade BIOS dengan nomor spare part 1501005.
[sunting] IBM 5140 PC Convertible (laptop)
IBM memasarkan laptop pertama yang mereka sebut sebagai IBM 5140 PC Convertible pada tanggal 2 April 1986, yang merupakan pengganti dari IBM 5155 Portable PC yang dihentikan produksinya. Sistem IBM 5140 tidaklah sesukses IBM 5150 atau laptop-laptop lainnya, mengingat laptop pesaing menawarkan media penyimpanan yang lebih baik, penggunaan prosesor yang lebih cepat, layar yang lebih baik, ukuran yang lebih kompak, dan harga yang lebih murah. Meski IBM 5140 menawarkan layar yang lebih baik dibandingkan dengan laptop-laptop pesaing, IBM 5140 tidak begitu dilirik pasar.
IBM 5140 tersedia dalam dua model, yakni:
Model 2, yang diperkuat dengan menggunakan mikroprosesor Intel 80C88 CMOS 4.77 MHz, 64 KB ROM, 256 KB SRAM, layar LCD dengan resolusi 80×25, dua buah 3½ inci floppy-disk drive, keyboard 78-tombol, adaptor AC, dan baterai. Program yang tersedia dalam model ini adalah Application Selector, SystemApps, Tools, Exploring the IBM PC Convertible, dan Diagnostics.
Model 22, yang merupakan IBM 5140 Model 2 yang hanya dilengkapi dengan perangkat lunak diagnosa saja (Diagnostics). Model ini dijual dengan harga yang lebih murah dibandingkan dengan Model 2.
Dua model di atas dapat ditambahi RAM hingga 512 KB dengan menggunakan kartu ekspansi memori RAM sebesar 128 KB. Selain itu, dapat diperluas dengan menggunakan modem internal 1200 bit/detik.
Meski IBM 5140 menggunakan prosesor yang lambat (4.77 MHz, sama seperti IBM 5150), penggunaan SRAM sebagai memori fisik mampu meningkatkan kinerja jika dibandingkan dengan penggunaan DRAM, mengingat SRAM tidak membutuhkan sinyal refresh seperti halnya DRAM (yang mampu menambah waktu tunggu hingga 7% dari kecepatan CPU IBM PC atau IBM PC/XT). Ini berarti IBM 5140 memiliki kinerja yang lebih tinggi hingga 7% dibandingkan dengan IBM PC atau IBM PC/XT, meskipun memiliki prosesor dengan kecepatan yang sama, 4.77 MHz. Karena SRAM memang lebih andal jika dibandingkan DRAM, penggunaannya dalam 5140 tidak membutuhkan pengecekan paritas yang bahkan menambah waktu tunggu yang lebih tinggi lagi.
Sebuah unit IBM 5140 memiliki fitur-fitur standar berikut:
Mikroprosesor yang dibuat berdasarkan teknologi Complimentary Metal-Oxide Semiconductor (CMOS), Intel 80C88 (variasi dari Intel 8088), dengan kecepatan 4.77 MHz.
Dua buah ROM berukuran 32 Kilobyte yang berisi hal-hal berikut (untuk menghemat daya, digunakanlah teknologi CMOS):
Power-On Selft Test yang mampu menjalankan diagnosa terhadap perangkat komputer saat melakukan proses booting, serta BIOS.
interpreter bahasa BASIC.
Memori fisik menggunakan Static Random Access Memory yang berukuran 256 KB. Dapat ditambahi hingga 512 KB. (untuk menghemat daya, maka digunakanlah teknologi CMOS).
Dua buah floppy-disk drive 3½ inci 720 KB.
Sebuah panel LCD dengan resolusi 80 kolom x25 baris (modus teks), atau 640×200 dan 320×200 pixel (modus grafik) yang dapat dilepas.
Sebuah LCD controller
Display buffer dengan ukuran RAM 16 KB, ditambah 8 KB RAM untuk menyimpan font LCD
Keyboard 78-tombol
Adaptor AC
Baterai
[sunting] IBM 5160 Personal Computer eXTended
IBM PC/XT adalah sebuah komputer mikro buatan IBM yang dirilis pada tanggal 8 Maret 1983. Komputer ini diperkuat dengan menggunakan hard disk berkapasitas 10 Megabyte, yang merupakan hard disk yang dianggap “spesial” pada saat itu. XT di sini merupakan singkatan dari eXTended, karena IBM PC XT memiliki fitur-fitur yang tidak dimiliki oleh IBM PC standar (5150). IBM PC XT memiliki delapan buah slot, sehingga meningkatkan kemampuan ekspansinya; kapasitas power-supply yang lebih besar; memori yang dapat dibongkar/pasang (karena semuanya berupa soket), dan dapat mendukung hingga 640 KB RAM tanpa slot ekspansi memori, selain tentunya sebuah hard disk. Karena memiliki fitur-fitur itulah, desain motherboard IBM PC/XT berbeda dengan desain motherboard IBM PC yang asli. IBM PC/XT ini menawarkan beberapa perangkat keras yang masih digunakan hingga saat ini, yakni keyboard 101 tombol (Enhanced Keyboard) yang menggantikan model keyboard IBM 83 tombol.
Nuvola apps mycomputer.png Artikel bertopik komputer ini adalah sebuah rintisan. Anda dapat membantu Wikipedia dengan mengembangkannya.
sumber : http://en.wikipedia.org/wiki/AS_400/
Salah satu fitur yang memberikan kontribusi untuk umur panjang dari platform IBM System i adalah tingkat tinggi instruksi yang ditetapkan (disebut TIMI untuk “Antarmuka Teknologi Mesin Independen” oleh IBM), yang memungkinkan program aplikasi untuk mengambil keuntungan dari kemajuan dalam perangkat keras dan perangkat lunak tanpa kompilasi ulang. TIMI merupakan sebuah set instruksi virtual independen dari instruksi mesin yang mendasari set CPU. User-mode program mengandung TIMI instruksi dan instruksi mesin CPU, sehingga menjamin kemerdekaan hardware. Hal ini secara konseptual agak mirip dengan arsitektur mesin virtual lingkungan pemrograman seperti Smalltalk, Java dan. NET. Perbedaan utama adalah bahwa hal itu tertanam begitu dalam ke dalam desain AS/400 itu untuk membuat aplikasi secara efektif biner-kompatibel di seluruh keluarga prosesor yang berbeda.
Perhatikan bahwa, tidak seperti beberapa virtual mesin arsitektur lain di mana instruksi virtual yang ditafsirkan pada waktu berjalan, TIMI instruksi yang pernah ditafsirkan. Mereka merupakan langkah kompilasi waktu menengah dan diterjemahkan ke dalam instruksi prosesor ditetapkan sebagai langkah kompilasi akhir. Para TIMI instruksi disimpan dalam objek program akhir, di samping instruksi mesin dieksekusi. Ini adalah bagaimana objek aplikasi dikompilasi pada satu keluarga prosesor (misalnya, AS/400 CISC asli 48-bit prosesor) dapat dipindahkan ke prosesor baru (misalnya, PowerPC 64-bit) tanpa re-kompilasi. Sebuah aplikasi diselamatkan dari platform 48-bit yang lebih tua hanya dapat dikembalikan ke platform 64-bit yang baru dimana sistem operasi membuang instruksi mesin tua dan kembali menerjemahkan instruksi TIMI menjadi 64-bit instruksi untuk prosesor baru.
Set instruksi dengan IBM System i mendefinisikan semua pointer sebagai 48-bit. Ini adalah fitur desain asli dari System/38 (S/38) pada pertengahan 1970-an perencanaan untuk penggunaan masa depan prosesor yang lebih cepat, memori dan ruang alamat diperluas. Model AS/400 CISC asli menggunakan ruang 48-bit alamat yang sama seperti S/38. Ruang alamat diperluas pada tahun 1995 ketika PowerPC RS64 RISC 64-bit CPU prosesor diganti prosesor 48-bit CISC.
Untuk 64-bit prosesor PowerPC, alamat virtual berada di 64 bit paling kanan dari pointer sementara itu 48 bit di S/38 dan AS/400 CISC. The 64-bit alamat ruang utama referensi memori dan disk sebagai satu set alamat tunggal yang adalah konsep penyimpanan tunggal-tingkat.
sumber : http://en.wikipedia.org/wiki/AS_400
IBM System i, dulu dikenal sebagai AS/400, merupakan kelanjutan dari arsitektur System/38 mesin database (diumumkan oleh IBM pada bulan Oktober 1978 dan dikirimkan pada bulan Agustus 1979). AS/400 menambahkan kompatibilitas sumber dengan System/36 menggabungkan dua komputer utama yang diproduksi oleh pabrik IBM Rochester. Yang paling sukses System/36 IBM mini komputer tapi arsitektur telah mencapai batasnya. Sistem AS/400 pertama (dikenal dengan nama kode pengembangan Silverlake dan Olimpiade) dikirim pada tahun 1988 di bawah tag line “Best of Both Worlds” dan lini produk telah refresh terus sejak saat itu. Guy Dehond dari Desainer Inventif adalah salah satu beta-penguji dari Silverlake. Para programer yang bekerja pada OS/400, sistem operasi AS/400, tidak memiliki latar belakang UNIX. Dr Frank Soltis, kepala arsitek, mengatakan bahwa ini adalah perbedaan utama antara ini dan sistem operasi lain.
AS/400 adalah salah satu tujuan umum pertama sistem komputer untuk mencapai peringkat keamanan C2 dari NSA (Gould UTX/C2, sistem berbasis UNIX pada tahun 1986, dan pada tahun 1995 diperpanjang untuk mempekerjakan prosesor 64-bit dan sistem operasi.
Perubahan dari tahun 1995-48-64-bit diperlukan bahwa semua program harus ‘diamati’, yaitu bahwa informasi debugging belum dilucuti keluar dari kode dikompilasi. Hal ini menyebabkan masalah bagi mereka yang telah membeli produk pihak ketiga yang tidak memiliki sumber dan observability tidak ada. Pada tahun 2008, pengenalan V6R1 disebabkan masalah yang sama, meskipun kali ini IBM lebih suka menyebutnya sebagai “refresh”.
Pada tahun 2000 IBM AS/400 berganti nama untuk iSeries, sebagai bagian dari e-Server inisiatif branding. Lini produk kemudian diperpanjang pada tahun 2004 dengan pengenalan dari server i5, yang pertama menggunakan prosesor IBM POWER5. Arsitektur sistem yang memungkinkan untuk pelaksanaan masa depan 128-bit prosesor ketika mereka menjadi tersedia.
Meskipun diumumkan pada tahun 1988, AS/400 tetap paling baru pergeseran arsitektur IBM besar yang sepenuhnya dikembangkan secara internal. Sejak kedatangan Lou Gerstner pada tahun 1993, IBM telah dilihat perkembangan seperti internal yang kolosal karena terlalu berisiko. Sebaliknya, IBM sekarang lebih suka untuk membuat langkah kunci produk melalui akuisisi (misalnya, pengambilalihan Perangkat Lunak Lotus dan Rational Software) dan untuk mendukung pengembangan standar terbuka, khususnya Linux. Perlu dicatat bahwa setelah kepergian John Akers CEO pada tahun 1993, ketika IBM tampak mungkin berpisah, Bill Gates berkomentar bahwa satu-satunya bagian dari IBM bahwa Microsoft akan tertarik adalah divisi AS/400. (Pada saat itu, banyak sistem internal Microsoft berlari pada platform AS/400.)
sumber : http://en.wikipedia.org/wiki/AS_400
[wowslider id="1"]
Kami mencakup dasar-dasar menggunakan perintah prosesor AS/400 untuk membantu Anda port aplikasi Anda. Pelajari cara menggunakan perintah mendorong dan membantu,metode instalasi dan pesan produk AS/400.
Saran kode dan pemrograman di sini, yang dilengkapi oleh IBM, adalah serangkaian contoh sederhana, dimaksudkan untuk memberikan ilustrasi dari konsep. Contoh-contoh ini belum diuji secara menyeluruh dalam segala kondisi. IBM, karena itu, tidak dapat menjamin atau menyiratkan keandalan, kemudahan servis, atau fungsi kode ini.
Semua kode program dan saran pemrograman yang terkandung di sini disediakan untuk Anda “SEBAGAIMANA ADANYA”. Jaminan tersirat dapat diperjualbelikan dan kesesuaian untuk tujuan tertentu secara tegas menyangkal. Pada akhirnya, itu adalah tanggung jawab programmer individu untuk memahami aplikasi nya sendiri dan menggunakan saran ini karena berkaitan terbaik untuk aplikasi tersebut.
IBM menawarkan berikut sebagai hanya sebagai solusi potensial, yang harus dievaluasi secara individual digunakan. Semua merek, perusahaan, layanan, atau nama produk yang disebutkan adalah merek dagang, merek layanan, atau merek dagang terdaftar dari perusahaan masing-masing.
Ikhtisar
Untuk melengkapi port dari aplikasi Anda untuk AS/400, Anda akan ingin menggunakan beberapa layanan AS/400 dasar seperti perintah mendorong dan membantu, metode produk instalasi, dan pesan AS/400. Yang pertama dari ketiga topik akan dibahas dalam dokumen ini.
Jika Anda memiliki kesempatan untuk menghabiskan beberapa waktu menggunakan perintah AS/400 mendorong, Anda akan menghargai kegunaan dan mungkin bertanya-tanya mengapa UNIX atau DOS tidak pernah sesuatu yang begitu bersih dan sehingga benar-benar terintegrasi ke dalam sistem operasi. Anda dapat memberikan aplikasi semacam ini sama antarmuka perintah berikut petunjuk sederhana di bawah ini.
Pertama, di sini adalah referensi definitif untuk semua hal yang saya akan membahas:
CL Pemrograman: SC41-5721
Tampilan Aplikasi Pemrograman: SC41-5715
Juga, sementara ada banyak tindakan yang kompleks dan kuat yang dapat dilakukan dengan menggunakan perintah prosesor AS/400, itu bukan maksud dari dokumen ini untuk mencakup semua aspek ini – hanya dasar yang diperlukan.
Berikut adalah gambaran singkat dari objek yang dibutuhkan. Objek perintah (* CMD) adalah apa yang dimasukkan pada baris perintah. Parameter untuk menciptakan perintah termasuk menentukan objek panel membantu kelompok (* PNLGRP) dan objek program (* PGM) untuk memproses data dari perintah. Dalam contoh ke kanan, program pengolah perintah, FOOCPP membangun string perintah, yang digunakan untuk memanggil program foo.
Program yang disebut ‘FOO’ memiliki tiga parameter baris perintah:
-O [nama file] output ke file
-S semacam output yang
-W menampilkan peringatan
Foo memahami semua kombinasi bendera atau ketiadaan. Jadi, menggunakan valid ‘FOO’ dalam lingkungan UNIX mungkin:
Foo%
% Foo-omyfile.out
Foo%-w
Foo%-w-s
Foo% -o/home/joe/out1-s
% Foo-s
Demikian pula, khas perintah AS/400 cocok akan terlihat seperti:
FOO
FOO OUTPUT (‘myfile.out’)
FOO MEMPERINGATKAN (* YES)
FOO OUTPUT (‘/ home/joe/out1′) SORT (* YES)
OO SORT (* YES) WARN (* NO)
Plus, dengan versi AS/400, pengguna akan mengharapkan bantuan kontekstual dengan menekan F1 manapun pada parameter perintah, atau perintah itu sendiri. Memberikan kemampuan ini tidak terlalu sulit dan akan mewakili perbedaan antara ‘aplikasi AS/400′ dan sebuah ‘aplikasi UNIX yang berjalan di AS/400′.
Perintah AS/400, seperti semua hal lain pada sistem, adalah obyek. Benda-benda perintah memiliki jenis CMD *. Mereka diciptakan oleh ‘sumber perintah’ kompilasi. Sumber ini harus berada dalam sebuah file sumber fisik, biasanya disebut QCMDSRC. Bagian dari menciptakan objek CMD * adalah menentukan sebuah program untuk proses perintah. Dalam contoh kita, kita akan menulis sebuah program C yang kecil untuk melakukan pengolahan data dari perintah. Bagian lain dari menciptakan objek CMD * adalah menentukan ‘kelompok panel’ untuk bantuan interaktif. Pembentukan bagian-bagian ini dapat dengan mudah dilakukan dengan menggunakan template yang disediakan.
Secara singkat, langkah-langkahnya:
Mengubah perpustakaan saat ini (* CURLIB).
Buat file sumber fisik.
Masukkan kode sumber untuk perintah, program pengolah perintah, dan kelompok panel membantu.
Buat kelompok bantuan panel (* PNLGRP) objek.
Buat program perintah pengolahan (* PGM) objek.
Buat perintah (* CMD) objek.
Uji perintah.
Buatlah perpustakaan di mana Anda ingin membuat objek ‘perpustakaan saat ini’ Anda. Hal ini dilakukan menggunakan perintah CHGCURLIB. Atau, Anda dapat mengubah profil pengguna Anda untuk mengatur ‘perpustakaan saat ini’ pada saat signon. Lakukan ini dengan mendorong pada perintah CHGPRF. Dalam contoh ini, saya telah mengatur perpustakaan saat ini untuk MYLIB.
Selanjutnya, membuat file sumber fisik. Sangat mungkin bahwa Anda sudah memiliki file sumber bernama QCSRC, yang berisi sumber untuk FOO program yang akhirnya tidak pekerjaan yang kita sedang membangun semua hal ini, jadi pada contoh di bawah, pesan kesalahan ditampilkan saat membuat QCSRC. Untuk membuat file sumber ketiga, masukkan perintah berikut:
CRTSRCPF QCMDSRC
QCMDSRC file yang dibuat di perpustakaan MYLIB.
CRTSRCPF QPNLSRC
QPNLSRC file yang dibuat di perpustakaan MYLIB.
CRTSRCPF QCSRC
Berkas QCSRC sudah ada di MYLIB perpustakaan.
QCSRC File tidak diciptakan di perpustakaan MYLIB.
Kemudian, masukkan sumber. Untuk contoh ini, ini adalah anggota dalam file sumber yang sesuai fisik:
JENIS ANGGOTA
FILE
QCMDSRC FOO CMD
QPNLSRC FOO PNLGRP
QCSRC FOOCPP C
QCSRC FOO C
Ingat, kita mengasumsikan bahwa anggota ini sudah ada.
Berikut adalah tiga anggota sumber baru, dalam urutan yang tercantum di atas.
QCMDSRC / FOO
CMD PROMPT (‘Foo, seperti dalam Fubar’)
Parm KWD (OUTPUT) TYPE (* CHAR) LEN (32) DFT (”) +
BERBEDA (* YES) PROMPT (‘Output nama’)
Parm KWD (SORT) TYPE (* CHAR) LEN (4) RSTD (* YES) +
DFT (* NO) VALUES (* NO * YES) PROMPT (‘Urutkan +
output ‘)
Parm KWD (MEMPERINGATKAN) TYPE (* CHAR) LEN (4) RSTD (* YES) +
DFT (* NO) VALUES (* NO * YES) PROMPT (‘Tampilan +
Peringatan ‘)
QPNLSRC / FOO
: PNLGRP.
: HELP nama = foo.
: P.
Teks di sini menjelaskan apa perintah ‘FOO’ tidak.
Anda dapat menggunakan tag format yang dijelaskan dalam buku untuk membuat tampilan ini lebih cantik.
Tampilan Aplikasi Pemrograman SC41-5715.
: EHELP.
: HELP name = ‘foo / output’.
: P.
Item ini digunakan untuk membantu informasi tentang parameter pertama.
: EHELP.
: HELP name = ‘foo / semacam’.
: P.
Item ini digunakan untuk membantu informasi tentang parameter kedua.
: EHELP.
: HELP name = ‘foo / memperingatkan’.
: P.
Item ini digunakan untuk membantu informasi tentang parameter ketiga.
: EHELP.
: Nama BANTUAN = boo.
: P.
Item ini digunakan untuk membantu informasi tentang perintah hantu, ‘boo’.
: EHELP.
: EPNLGRP.
QCSRC / FOOCPP
# Include <string.h>
# Include
void main (int argc, char * argv [])
{
arang cmdstr [512] = “CALL PGM (FOO) parm (“;
if (argc = 4!)
exit (1);
/ * Ini 2 byte pertama dari string teks yang masuk mewakili, sebagai pendek,
panjang teks masuk. Tidak ada
null terminator pada akhir string.
Hal ini karena BERBEDA (* YES) pilihan parameter dalam sumber perintah.
* /
jika (* (* singkat) argv [1]> 0)
{
strcat (cmdstr, “‘-o”);
strncat (cmdstr, argv [1] +2, * (pendek *) argv [1]);
strcat (cmdstr, “‘”);
}
if (strncmp (argv [2], “* YA”, 4) == 0)
strcat (cmdstr, “‘-s’”);
if (strncmp (argv [3], “* YA”, 4) == 0)
strcat (cmdstr, “‘-w’”);
strcat (cmdstr, “)”);
sistem (cmdstr);
}
Berikutnya, kita akan menciptakan tiga obyek dari kode sumber di atas. Ingat, karena kita telah mengubah perpustakaan saat ini untuk di mana kita ingin membuat benda-benda, mereka akan diciptakan di sana secara default.
CRTCMD CMD (FOO) PGM (FOOCPP) HLPPNLGRP (FOO) HLPID (FOO)
Perintah FOO dibuat di perpustakaan MYLIB.
CRTPNLGRP PNLGRP (FOO)
Pesan peringatan yang dikeluarkan ketika panel kelompok FOO dibuat.
CRTBNDC PGM (FOOCPP)
Program FOOCPP diciptakan di perpustakaan MYLIB pada 11/05/97 di 17:17:50.
Itu saja! Anda sekarang dapat prompt perintah FOO, karena itu dalam daftar perpustakaan. Tentu saja, jika MYLIB tidak dalam daftar perpustakaan, maka Anda bisa meminta pada MLIB / FOO. Anda dapat menekan F1 untuk mendapatkan bantuan tentang parameter. Anda mungkin akan ingin menempatkan semua benda-benda di perpustakaan yang sama seperti semua program aplikasi Anda untuk menyederhanakan hal.
Kembali ke atas
Catatan
Semua bantuan untuk beberapa perintah dapat ditemukan dalam kelompok panel yang sama, dikelompokkan dalam yang sama: PNLGRP dan: EPNLGRP tag. Para: HELP dan: EHELP tag membantu kelompok untuk perintah individu. Anda akan melihat bahwa bahasa ini menyerupai HTML struktural, dengan tag untuk mengidentifikasi bagian. Jika Anda melihat dekat pada kode sumber untuk kelompok panel membantu, Anda akan melihat bahwa ada didefinisikan nama bantuan ‘boo’ untuk perintah hantu, yang tidak ada.
Semua anggota perintah sumber individu, untuk perintah yang berbeda dan program, harus ditempatkan dalam QCMDSRC.
Parameter * Para CHAR dari perintah mendorong, diteruskan ke program pengolah perintah, tidak diakhiri dengan null, dan ini adalah mengapa kita menggunakan BERBEDA (* YES) pilihan untuk parameter. Hal ini membuat command prompt mengirim byte 2-(default) ditandatangani integer sebagai 2 byte pertama dari string. Itulah mengapa C untuk berurusan dengan parameter yang mendapat jelek.
Semua parameter dari perintah yang diberikan kepada program pengolah perintah. Oleh karena itu, bahkan jika Anda tidak memasukkan apa pun untuk parameter tertentu, argc masih akan ditetapkan untuk jumlah parameter yang didefinisikan dalam sumber perintah.
Analyzer perintah (CA) dapat melakukan banyak pemeriksaan sintaks untuk Anda, jadi jika nilai untuk parameter OUTPUT adalah benar-benar nama jalan, Anda dapat menentukan JENIS (* PNAME) dan CA akan memverifikasi bahwa apa yang pengguna tertentu adalah sah nama. Anda juga mungkin ingin menentukan KASUS (* CAMPURAN) sehingga CA tidak monocase nilai-nilai tidak tertutup dalam tanda kutip tunggal.
Analyzer perintah (CA) dapat melakukan banyak pekerjaan parameter validasi untuk Anda dan tidak akan membiarkan pengguna memasukkan parameter yang tidak didefinisikan dalam perintah Anda. Sebagai contoh, cara perintah kita ditentukan, pengguna tidak dapat memasukkan apa pun selain * YA atau TIDAK untuk SORT * dan MEMPERINGATKAN parameter. Jika FOO melakukan banyak hal parameter validasi (seperti memeriksa nilai-nilai yang valid), Anda mungkin ingin menambahkan parameter lain untuk FOO untuk mengatakan bahwa ia sedang dipanggil untuk proses perintah FOO, maka bisa melewatkan parameter validasi setiap pekerjaan yang telah telah dilakukan oleh CA.





