Why System Values
On the iSeries, all user and system data structures are held in objects (files, folders, libraries,menus, programs, user profiles, etc.). It is possible to see in the objects only via their defined interfaces. iSeries operates on object-level security. The iSeries comes with four major operating system components: Integrated Communications, Integrated Database, Integrated Work Management, and Integrated Security. The functions within the Integrated Security component protect all objects and data from unauthorized access. The iSeries has default values known as system values, which can be used to control the operations of the system. System values are a part of iSeries and cannot be created by a user. However, most can be changed to customize your system according to your requirements. System values are used as default parameters in many commands and object descriptions. Other system values control the operation of certain parts of the operating system.
System values, *SYSVAL, are AS/400 attributes that allow each installation to customize the machine to the organizations own needs and specifications. Consider, for example, the differing needs of an AS/400 installed in China and one installed in Holland. Each machine would need different alphabet characters, different displays of the time and date, and probably different security levels and hardware.
Few Examples of System Values
Consider the date system value QDATE, which may be either a 5-digit or 6-digit field. A 6-digit field could hold a date such as 11-28-96, while a 5-digit field would be used for a Julian date. Julian dates have no days or months; instead, they contain a single value for the day of the year. For example, the first day of January expressed as a Julian date is 1, while December 31 is 365 (or 366 in a leap year). Another system value is QYEAR, which would hold only the year value in this example, 96. QDATFMT (an editing system value) defines how your machine will use the date value. Several options are available for this, including mm-dd-yy, used for most reports; yy/mm/dd, convenient for sorting; or dd:mm:yy, used in military format, and in many European countries. You can also customize the type of separators; the previous examples show three such options the hyphen, the dash, and the colon.
The time value, QTIME, represents the system time of day. It comprises three other system values, QHOUR, QMINUTE, and QSECOND. QHOUR is based on a 24-hour clock. For example, 1:00 p.m. is 13. The system value QCURSYM determines the currency symbol, which is country dependent; for example, the yen, lira, franc, and dollar use different symbols.
Changing System Values
A user must have proper authority to change a system value; in many installations only the security officer has sufficient authority to make these changes. However, operators must be aware of many of the nearly 100 system values, because these values provide a convenient method for modifying small portions of the operating system they control how a given command, or even the entire system, will perform. Particular system values control system performance; others define the security levels; yet others simply provide defaults to command options that were unspecified. System values can be divided into eight categories: Date/time, editing, system control items, library lists, allocations, message logging, storage values, and security values.
In order to access the complete list of system values for viewing or editing purposes, enter the command “WRKSYSVAL” at the command line prompt. If the user is authorized to access this menu, the “Work with System Values” menu will appear. The matrix of values contains the system value, the category that the value fits under (Security, Storage, System control, etc.), and a description of the value. The values can be changed by entering option 2 or just displayed by entering option 5. Once option 2 is selected to edit a particular value, the menu may allow the user to choose from the different options available to that value or the user will be able to type the value in a provided space. If option 5 is selected for viewing, the user typically will see the option currently set for the value, as well as all the options available with a short description. If the user edits the system value, a confirmation notice is displayed at the bottom of the screen upon returning to the “Work with System Values” menu.
Few Important System Value Definitions
- QDSPSGNINF – The Display Sign-on Information system value determines whether the sign-on information display is shown after signing on.
- QSECURITY – The Security Level system value allows the system administrator to determine what level of security the system should enforce.
- QINACTITV – The Inactive Job Time-out system value controls the amount of time a terminal can remain signed-on without any activity.
- QINACTMSGQ – The Inactive Job Message Queue system value specifies the action the system takes when an interactive job has been inactive for the specified interval of time indicated by the QINACTITV system value.
- QDSCJOBITV – The Disconnected Job Time-Out Interval system value determines, in terms of minutes, if and when the system ends a disconnected job.
- QLMTSECOFR – The Limit Security Officer system value restricts privileged users who have all-object (*ALLOBJ) or service (*SERVICE) special authorities to specified workstations.
- QLMTDEVSSN – The Limit Device Sessions system value determines whether a user is allowed to be signed-on to more than one device at a time.
- QMAXSIGN – The Maximum Number of Sign-on Attempts system value specifies the maximum number of invalid sign-on attempts permitted (for both local and remote users) by the system.
- QMAXSGNACN – The Action When Sign-On Attempts Reached system value determines the action taken when the user violates the QMAXSIGN system value described above.
- QRMTSIGN – The Remote Sign-On Control specifies how the system handles remote sign on requests.
- QPWDEXPITV – The Password Expiration Interval specifies the number of days allowed before a password must be changed.
- QPWDRQDDGT – The Requirement for Numeric Character in Passwords system value can require a user to have a numeric character in their new password.
- QPWDRQDDIF – The Required Difference in Passwords system value indicates the number, if any, of previous passwords that are checked for duplicates.
- QPWDMINLEN – The Minimum Length of Passwords system value specifies, in terms of characters, the shortest length a user’s password may be.
- QAUDCTL – The Auditing Control system value is the determinate of whether the iSeries is performing auditing or not.
There are many other system values that can strengthen or weaken the security surround an iSeries machine that the reader should take into consideration. There are over 130 system values and an almost endless amount of configurations for an iSeries machine.
- AS400 Control Language (as400iseries.wordpress.com)
The AS/400 Control Language (CL) is a scripting language for the IBM AS/400 midrange platform bearing a resemblance to the IBM Job Control Language and consisting of an ever-expanding set of command objects (*CMD) used to invoke traditional AS/400 programs and/or get help on what those programs do. CL can also be used to create CL programs (congruent to shell scripts) where there are additional commands that provide program-like functionality (GOTO, IF/ELSE, variable declaration, file input, etc.)
The vast majority of AS/400 commands were written by IBM developers to perform system level tasks like compiling programs, backing up data, changing system configurations, displaying system object details, or deleting them. Commands are not limited to systems level concerns and can be drafted for user applications as well.
Made up of three-character words
Control Language (CL), an integral part of OS/400, is a set of commands by which users control operations and request system-related functions on the AS/400. A CL command usually is made up of three-character words; up to 10 characters (usually three words) can be merged together to form commands. For example, in CL, work is abbreviated as WRK, system is abbreviated as SYS, and status is abbreviated as STS. The command WRKSYSSTS, therefore, is translated as Work with the System Status. CL commands can be entered on the command line or executed from within a program. When commands are entered via a program or menu, the user selects options that are displayed in more friendly, English-type format. The program then translates the selected option into the appropriate CL command or commands.
The conventions for naming the combination verb and object commands are as follows:
The primary convention (as just shown) is to use three letters from each word in the descriptive command name to form the abbreviated command name that is recognized by the system.
The secondary convention is to use single letters from the ending word or words in the command title for the end of the command name, such as the three single letters DLO on the DLTDLO (Delete Document Library Object) command.
An occasional convention is to use single letters in the middle of the command name (usually between commonly used three-character verbs and objects), such as the letters CL in the CRTCLPGM (Create CL Program) command.
Some command names consist of the verb only, such as the MOV (Move) command, or an object only, such as the DATA (Data) command.
The AS/400 is a popular family of mid-sized computer systems which can also be used as multiuser computer systems. By this, we mean that a single computer can interact with more than one user at a time. It was first introduced byon June 21st, 1988.
The AS/400 can be utilized for different business facets. Some models are designed as systems that provide resources to other computers, also known as a “server” in a network of computers, while others are set up for use with terminals or “display stations”. OS400 is the operating system for the AS/400. The AS/400 computers offer more compatibility across the product line than the earlier System/3X computers. Hence, the earlier IBM models of the System/36 and System/38 have since been replaced by the AS/400 systems.
IBM has sold over 600,000 AS/400’s and over 350,000 of them are still active. From distribution warehouses to hospital administrators, and even manufacturing companies, the AS/400 is a strong component in aiding these companies’ daily business operations. The AS/400 utilizes a green screen interface, a built in database that resembles DB2, and a vast array of software to provide business solutions for today’s business needs.
In October of 2000, IBM rebranded the AS/400 and announced its name as theiSeries. 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 , 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 IBMand features support for the IBM i (previously known as i5/OS or OS/400), AIX and GNU/Linux operating systems.
It 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,and others.
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. Severalare available: AllFusion Plex (see *Plex Wiki), Accelerator for IBM i, ADELIA, Synon, AS/SET, IBM Rational Business Developer Extension, LANSA, ProGen Plus and .
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, including a 32-bit (JVM) and a 64-bit JVM.