Sidebar

String Handling in RPG/400 and CL

CL
Typography
  • Smaller Small Medium Big Bigger
  • Default Helvetica Segoe Georgia Times

RPG/400 and CL string handling has been enhanced-make the most of it.

Brief: String operations have changed dramatically since the AS/400 was first announced. We'll give you a concise review of the current state of string operations in RPG/400 and CL. Use these operations instead of array processing for string manipulations-it will make your programs much simpler to code and maintain.

When I played bass guitar many years ago, I virtually never changed the strings. After all, they were quite thick and never broke; and after they were stretched and broken in, I knew the spots on the strings that sounded flat and those that were resonant. Long after playing my last note, I find that I've retained my old string habits in my programming work. I have been working with RPG for as long as the bass has been retired to the closet, and now I find that I have resigned myself to using arrays to work with strings. But many recent enhancements to RPG/400 lead me to believe that it is time for some new thinking.

It seems that all of the complaints about the lack of string operations voiced by RPG programmers over the years have been answered all at once. The elementary needs of joining strings, extracting parts of strings, changing case of letters within strings and scanning and clearing strings are now operation codes in RPG. The introduction of these new operations in Version 1 of OS/400 met with criticism because of some basic oversights. The operations have been corrected in newer versions, and even more operations and options will be available in Version 2 Release 2.

This article reviews several of the string operations and processing available with Version 2 Release 1 RPG/400 and CL. If you are like me-still using array processing for basic string operations-you will find this very useful. When I began using some of the new operations, I constantly consulted the manual to check the syntax and options; but even so, the operations were much easier to use than the equivalent array processing.

Basic Operations

Perhaps the most fundamental issue in using strings is defining their contents. The CL DCL statements in 1 declare character variables (*CHAR) and assign them initial values at the same time.

Perhaps the most fundamental issue in using strings is defining their contents. The CL DCL statements in Figure 1 declare character variables (*CHAR) and assign them initial values at the same time.

RPG presents several available methods to initialize strings. You can use data structure subfields or named constants, as I've done in 2. You can also code strings by using literals in an array or by using combinations of MOVEL and MOVE operations.

RPG presents several available methods to initialize strings. You can use data structure subfields or named constants, as I've done in Figure 2. You can also code strings by using literals in an array or by using combinations of MOVEL and MOVE operations.

There are two reasons for defining the RPG strings as data structure subfields rather than as named constants. First, the subfield can be used to create a string variable of a certain length. The length of a named constant is specified by the number of characters in the constant. Second, the value of the subfield can be changed during the program execution; named constants cannot be changed. Using the subfield and named constant techniques shown, you can assign string values up to 256 characters long. Chapter 9 of the RPG User's Guide (SC09-1348) includes several examples of how to define long strings.

There are several operations you can perform on strings. I'll define them in full first; then you can refer to 3 where you can see them in action all at once.

There are several operations you can perform on strings. I'll define them in full first; then you can refer to Figure 3 where you can see them in action all at once.

Clearing: Clearing a character string means filling the entire string with blanks. The old value of the string is lost. In CL you use the CHGVAR command, specifying a single blank space in the VALUE parameter. You cannot specify a null character (two single quotes with no embedded blank) for the value; the program will fail to compile.

In RPG, the simplest way to clear a field is with the CLEAR operation. This has the same effect as moving *BLANK or *BLANKS to the field. CLEAR also has the panache of being somewhat object-oriented, so that you can "overload" CLEAR and use it to initialize numeric or indicator fields.

Assigning: Assigning means giving a variable a specific non-blank value; the old value contained in the variable is lost. You can assign either a literal or another variable.

In CL, you use the CHGVAR command, supplying the new value in the VALUE parameter. If the variable is longer than the value being assigned, the remaining space is padded with blanks. If the variable is shorter than the value, CHGVAR fills the variable, beginning from the left-hand side. The rest of the string is ignored.

In RPG, the MOVEL and MOVE operations assign values to variables; the difference between them is that MOVEL begins the assignment from the left end of the string, while MOVE begins the assignment from the right.

If the string is shorter than the variable, the rest of the variable is not padded with blanks as it happens in CL-the extra characters are left untouched! To avoid this problem, you must use the CLEAR operation before MOVEL or MOVE to ensure that there won't be any garbage characters left over from the old value. One of the Version 2 Release 2 enhancements discussed in the sidebar will make the CLEAR operation unnecessary in this situation.

By the way, this is a good time to note, once and for all, that you should be in the habit of using the RPG MOVEL operation as opposed to the MOVE operation, unless you have a very specific reason for doing otherwise. The reason, as I have already explained, is that MOVE performs the assignment beginning from the right end of the variable. If both the variable and the new value are of the same length, you can get away with MOVE; but if the variable is longer than the value, you may not get what you expected. (It once took me several hours to track down a bug that was caused by using MOVE where MOVEL was intended.) It's unfortunate that the operation codes are named as they are; it would have been easier if the MOVE operation performed the MOVEL function, and if there was a MOVER (Move Right) operation instead.

Concatenation: Concatenation is the operation you use to splice two strings together, making up a longer string. For example, think of one variable having your first name (FIRST) and another variable that holds your last name (LAST). Concatenating FIRST with LAST creates a field with your full name.

CL allows the use of operators *CAT, *BCAT and *TCAT. *CAT simply joins strings as they are. *BCAT and *TCAT remove all trailing blanks from the first string and then join it with the second string. The difference between *BCAT and *TCAT is that *BCAT forces one blank space between the two before joining them. So, to concatenate FIRST and LAST, you should use *BCAT. None of the CL concatenate operations strip leading blanks from the strings.

The RPG CAT operation is more flexible than its CL counterpart, in that you can specify the number of intervening blanks for the resulting string. Factor 1 and Factor 2 contain two strings to be concatenated. The string in Factor 2 is concatenated to the end of the string specified in Factor 1. The result field specifies the resulting string. The number of intervening blanks is indicated by appending :n to Factor 2, where n indicates the number of blanks. If you omit :n, the two strings are concatenated without removing or adding any blanks, the same way that a CL *CAT works.

One of the recent enhancements to the RPG CAT operation is the operation extender field, which is column 53 of the C-spec. If you enter a "P" into that field, the result field is padded on the right with blanks after the operation. This allows you to combine a CLEAR operation with the CAT operation, rather than having to specifically clear the result field before performing the concatenation.

Advanced Operations

Substring: Another fundamental operation, supported in both CL and RPG, is the substring operation. Substring is used to extract part of a string. You specify the starting position for the extraction, the number of characters to extract and the variable where the extracted characters are placed.

CL performs this operation with the %SUBSTRING (or %SST) function. %SST requires three positional parameters: the name of the original string variable, the starting location to begin extracting and the number of characters to extract.

In RPG, you use the SUBST operation. Factor 2 must have the name of the original string variable; Factor 1 is the number of characters to extract; and :n appended to Factor 2 indicates where to begin extracting. If :n is omitted, a starting position of 1 is assumed.

In both CL and RPG, the starting position and the number of characters to extract can be numeric variables or literals. Be careful when you specify these values. If you specify a starting position or number of characters to extract that equals zero or goes beyond the end of the string, you'll get a program error. You can use the MONMSG command (in CL) or an indicator in columns 56-57 (in RPG) to monitor for that condition.

The CL substring is more flexible than its RPG counterpart in that CL can use a substring as a "pseudo variable." For example:

 CHGVAR VAR(%SST(&STRING 3 1)) + VALUE('R') 

We don't want to extract part of the string; rather, we want to change part of a string. Starting at position 3 for a length of 1 character, &STRING is changed, placing a letter "R" there. If &STRING originally had the value "SOLE," it now becomes "SORE."

RPG currently lacks this capability. To code an equivalent function, you would have to use the SUBST operation to break the string apart, then the CAT operation to rejoin the string pieces with the replacement values. Or you could use the tired, tried-and-true method of moving the string to an array of single characters and changing one of the array elements.

Scanning: Scanning is the process of examining a string, or portion thereof, to find a shorter string. For example, the string "concatenate" contains the string "cat." When you scan "concatenate" for the string "cat," the scan function returns the value 4, the position where "cat" begins.

In RPG, you use the SCAN operation. If you want to look for a NEEDLE in a HAYSTACK, you need to put the search argument (NEEDLE) in Factor 1 and the HAYSTACK in Factor 2. Optionally, Factor 1 can contain a :n extender, indicating how many characters of NEEDLE you want to look for; similarly, Factor 2 can contain another :n extender, indicating where in HAYSTACK to begin the search.

You can use indicators or an optional result field to collect the result of the SCAN. If the result field is a numeric array, an entry is added each time the search argument is found. For example, if you search for "ss" is Mississippi, two entries would appear in the resulting array. The first element contains 3 and the second element contains 6. This process continues as long as space is available in the array and occurrences of the search argument are found.

If the result field is not an array, it must be a numeric field, in which case only the first occurrence of the search argument is reported. In either situation, a result of zero means that the search element was not found. For example, if you search for 'NEEDLE' in 'HAYSTACK,' the result will be zero.

Two resulting indicators can be coded for the SCAN operation, although the result field method is preferable. The indicator in columns 56-57 turns on if there is an error in the SCAN operation-for instance, if the starting position for the search, coded as :n, is greater than the number of positions in the string being searched. The indicator in columns 58-59 is activated if at least one occurrence is found. An indicator in 58-59 is required if no result field is coded.

CL uses a different method for scanning: you CALL an IBM-supplied program called QCLSCAN. QCLSCAN doesn't have RPG's capability to find all occurrences or to scan for just a few characters of the search argument, but it offers something else in return: the ability to scan using wild cards, to ignore case (for letters A-Z) and to trim trailing blanks from the search argument before scanning. The parameters for QCLSCAN are shown in 4.

CL uses a different method for scanning: you CALL an IBM-supplied program called QCLSCAN. QCLSCAN doesn't have RPG's capability to find all occurrences or to scan for just a few characters of the search argument, but it offers something else in return: the ability to scan using wild cards, to ignore case (for letters A-Z) and to trim trailing blanks from the search argument before scanning. The parameters for QCLSCAN are shown in Figure 4.

QCLSCAN reports the result of the scan by returning a result value in a decimal variable. If NEEDLE was found, the result variable contains the starting position within HAYSTACK. If not found, it returns zero. If QCLSCAN ends in error, it returns a negative number. You can see the complete documentation for QCLSCAN in the CL Programmer's Guide (SC41-8077).

Translation: Translating is the process of replacing all occurrences of one character with another, within a string. For example, the string MIZZIZZIPPI can be translated so that all Z's are changed to S's-that is, if spelling is important to you.

RPG handles translation with the XLATE operation. Factor 1 must contain two strings separated with a colon (:), listing the "from" pattern and the "to" pattern. Factor 2 contains the string being translated, and the result field names the field that will contain the translated string. An indicator appears in columns 56-57 if the XLATE operation ends in error (e.g., if the starting location is beyond the end of the search string).

CL translates by calling the IBM-supplied program QDCXLATE which, like QCLSCAN, is described in full in the CL Programmer's Guide. CL's QDCXLATE does not have RPG's flexible ability to create translate patterns on the fly. Instead, it forces you to create a translation table in order to perform any kind of translation. Fortunately, IBM provides several tables with OS/400, such as QSYSTRNTBL to convert lowercase to uppercase, or QASCII to convert EBCDIC characters to ASCII characters. See 5 for QDCXLATE parameters and the translation tables provided by IBM.

CL translates by calling the IBM-supplied program QDCXLATE which, like QCLSCAN, is described in full in the CL Programmer's Guide. CL's QDCXLATE does not have RPG's flexible ability to create translate patterns on the fly. Instead, it forces you to create a translation table in order to perform any kind of translation. Fortunately, IBM provides several tables with OS/400, such as QSYSTRNTBL to convert lowercase to uppercase, or QASCII to convert EBCDIC characters to ASCII characters. See Figure 5 for QDCXLATE parameters and the translation tables provided by IBM.

Check: Finally, string checking is the process of determining if all the characters in the string belong to a certain set of characters. For instance, you can check that a given string (which is supposed to contain a hexadecimal notation like "12F6") only contains the valid hexadecimal nybbles 0 to 9 and A to F.

RPG performs this function with the CHECK operation. Factor 1 is a string containing all the characters that are considered valid. Factor 2 contains the string to be checked, with an optional :n extension if you want to start checking at a certain position. The result field can contain either a numeric field or a numeric array, which will have the position(s) of the invalid characters found in the string. If all characters in the string are valid, the result field is zero. If you use a numeric array, CHECK reports multiple occurrences of invalid characters. An optional indicator in columns 56-57 can be used to monitor for an invalid condition such as a starting position beyond the end of the string.

CL has no equivalent of the CHECK operation.

Figurative Constants

There are several special values in RPG that are called figurative constants. Figurative constants can be used to set an entire string to specific values with a minimum of coding. The values of these constants are already defined; you simply use them as required.

Four of the most confusing figurative constants are *BLANK, *BLANKS, *ZERO and *ZEROS. The confusion arises from uncertainty about the equivalence of *BLANK and *BLANKS, and *ZERO and *ZEROS. In fact, the values in each pair are interchangeable. Moving *BLANK or *BLANKS to a field yields the same result: the field is set to all blanks. Similarly, you can use the Z-ADD operation to set a numeric field to zero, using either *ZERO or *ZEROS. In addition, if you use a move operation to move *BLANK or *BLANKS to a numeric field, the field is set to zero. Rather than struggling with any of this, simply use the CLEAR operation and don't worry about the type of field or whether or not it really is set to blanks.

Two figurative constants that are useful when setting keys for database file operations are *LOVAL and *HIVAL. When used with character fields, *LOVAL is defined as a string of nulls (hexadecimal '00'), the lowest character in the collating sequence, and *HIVAL is defined as a string of hexadecimal 'FF', the highest character. When used with numeric fields, *LOVAL and *HIVAL set the field to all nines with a negative or positive sign. You can set a key field to the *LOVAL value prior to using the SETLL operation, or to the *HIVAL value prior to using the SETGT operation. You can follow those with the READ or READP operations to read from the very beginning or the very end of the file.

A somewhat odd figurative constant, *ALL is used in conjunction with a move operation to repeat a character string through the length of a field. Now that named constants are part of RPG, it is probably simpler and clearer to set a field with a named constant value.

Finally, there are two figurative constants that you can use to set or test indicator values. Those are *ON and *OFF. *ON is set to all ones, *OFF to all zeros. You can use these to reset an *IN indicator value, or as part of the test on an IF or DOUxx operation.

Tying it Together

This overview of character string functions should give you a good starting point for exploring the versatility of string operations by using the new capabilities of RPG and CL. 3 summarizes and illustrates with RPG and CL code how these capabilities can be put to work. You'll still need to refer to the manuals for the exact syntax if these operations are new to you, but I think you'll find it very worthwhile to study, become familiar with and start using them. In my projects, I have gone back into existing code which uses arrays to manipulate strings and replaced it with the equivalent string operation. This was fairly easy to do and I think it will make future maintenance much easier. Try it for yourself!

This overview of character string functions should give you a good starting point for exploring the versatility of string operations by using the new capabilities of RPG and CL. Figure 3 summarizes and illustrates with RPG and CL code how these capabilities can be put to work. You'll still need to refer to the manuals for the exact syntax if these operations are new to you, but I think you'll find it very worthwhile to study, become familiar with and start using them. In my projects, I have gone back into existing code which uses arrays to manipulate strings and replaced it with the equivalent string operation. This was fairly easy to do and I think it will make future maintenance much easier. Try it for yourself!

RPG String Enhancements to Come in V2R2

When OS/400 Version 2 Release 2 becomes available later this year, there will be several additions to the RPG string operations. Briefly stated, these include:

Hexadecimal literals and hexadecimal named constants. This will make it easier to define hexadecimal fields, rather than using the current BITOF/BITON method. This is mostly of use if you are adding display attribute characters to output fields, or if you are working with user- defined data streams or other device control programming.

The CHEKR (Check Reverse) operation. This will work similarly to the CHECK operation, the difference being that the checking proceeds from right to left. This can be used to find the rightmost character of a string that is not found in the set of valid characters. Documentation also suggests that this can be used to determine the length of a string. (So why not just make a LEN opcode, and make it that much easier?)

Optional Factor 1 for CAT and SUBST operations. For the CAT operation, the result field is used as the Factor 1 field if you leave Factor 1 blank. This is similar to the numeric operations (ADD, SUB) that allow an optional Factor 1. For the SUBST operation, Factor 1 is used to specify the number of characters to extract from the string. If you do not supply a Factor 1 value, the length used is the number of characters from the specified starting position within the string to the end of the string. This is useful if you need to extract a rightmost part of the string without calculating the length of the portion to extract.

Operation code extender for the MOVEL, MOVE and MOVEA operations. You can include the operation code extender (column 53) with those operations. If you specify a letter "P" in column 53, the result field is padded with blanks after the move is complete. This eliminates the need to clear the result field prior to performing the move.


String Handling in RPG/400 and CL

Figure 1 Defining the variables

 Figure 1: Defining the Variables DCL VAR(&STRING1) TYPE(*CHAR) LEN(10) VALUE('A TEST') DCL VAR(&STRING2) TYPE(*CHAR) LEN(15) + VALUE('LONGER STRING') 
String Handling in RPG/400 and CL

Figure 2 Initializing RPG strings

 Figure 2: Initializing RPG Strings .... ....1.... ....2.... ....3.... ....4.... ....5.... ....6.... ....7 I DS I I 'A TEST' 1 10 STRNG1 I I 'LONGER STRING' 11 25 STRNG2 I 'RPG NAMED CONSTANT- C CONST I 'FIELD' .... ....1.... ....2.... ....3.... ....4.... ....5.... ....6.... ....7 
String Handling in RPG/400 and CL

Figure 3 The details of string handling

 Figure 3: The Details of String Handling OPERATION EXAMPLE OF CODE Clear CL: Fills a string with blanks CHGVAR VAR(&STRING2) VALUE(' ') from beginning to end. RPG: ..2....+....3....+....4....+....5....+ CLEARSTRNG2 EFFECT PRODUCED: (The following b's in Figure 3 represent a blank) Before: bbbbbbbbbb AbTESTbbbbbbbbb After: bbbbbbbbbb bbbbbbbbbbbbbbb Assignment CL: Gives one string the value of CHGVAR VAR(&STRING1) VALUE(&STRING2) another string. The old value of the receiving string is lost. RPG: ..2....+....3....+....4....+....5....+ CLEARSTRNG2 MOVELSTRNG1 STRNG2 Before: AbTESTbbbb LONGERbSTRINGbb After: AbTESTbbbb AbTESTbbbbbbbbb Concatenation CL: Joins two short strings together CHGVAR VAR(&STRING2) VALUE(&STRING1 + to create a longer string. *BCAT 'STRING') RPG: ..2....+....3....+....4....+....5....+ STRNG1 CAT 'STRING':1STRNG2 P Before: AbTESTbbbb After: AbTESTbbbb AbTESTbSTRINGbb Substring CL: Extracts part of a string and CHGVAR VAR(&STRING2) + places the extracted part into VALUE(%SST(&STRING1 3 4)) another string. RPG: ..2....+....3....+....4....+....5....+ 4 SUBSTSTRNG1:3 STRNG2 P Before: AbTESTbbbb AbTESTbSTRINGbb After: AbTESTbbbb TESTbbbbbbbbbbb Scan CL: Searches for the existence of a DCL VAR(&STRING1) TYPE(*CHAR) LEN(10) pattern within a string, return- DCL VAR(&STRLEN) TYPE(*DEC) LEN(3 0) + ing the position where found VALUE(10) or 0 if not found. DCL VAR(&STRPOS) TYPE(*DEC) LEN(3 0) + VALUE(1) CL provides translation and DCL VAR(&PATTERN) TYPE(*CHAR) LEN(4) + trimming before performing the VALUE('TEST') scan, in addition to wild cards. DCL VAR(&PATLEN) TYPE(*DEC) LEN(3 0) + VALUE(4) RPG supports multiple scans if DCL VAR(&XLATE) TYPE(*CHAR) LEN(1) + the Result field is a numeric VALUE('0') array. DCL VAR(&TRIM) TYPE(*CHAR) LEN(1) + VALUE('0') DCL VAR(&WILD) TYPE(*CHAR) LEN(1) + VALUE(' ') DCL VAR(&RESULT) TYPE(*DEC) LEN(3 0) CALL PGM(QCLSCAN) PARM(&STRING1 + &STRLEN &STRPOS &PATTERN + &PATLEN &XLATE &TRIM &WILD + &RESULT) RPG: ..2....+....3....+....4....+....5....+ 'TEST' SCAN STRNG1:1 POS AbTESTbbbb Result=3 Translation CL: Replaces all occurrences of one DCL VAR(&STRLEN) TYPE(*DEC) LEN(3 0) + (or more) characters into anoth- VALUE(10) er character, according to a DCL VAR(&TBL) TYPE(*CHAR) LEN(10) + translation table or pattern. VALUE('QSYSTRNTBL') DCL VAR(&TBLLIB) TYPE(*CHAR) LEN(10) + VALUE('QSYS') CHGVAR VAR(&STRING1) VALUE('Translate') CALL PGM(QDCXLATE) PARM(&STRLEN + &STRING1 &TBL &TBLLIB) Before: Translateb After: TRANSLATEb RPG: ..2....+....3....+....4....+....5....+ MOVEL'06/01/92'STRNG1 '/':'-' XLATESTRNG1 STRNG2 Before: 06/01/92bb After: 06/01/92bb 06-01-92bbbbbbb Check CL: Verifies that all characters in Not supported. a string belong to a given set defined as another string. RPG: ..2....+....3....+....4....+....5....+ 'ABCDEF' CHECKSTRNG1 POS ABCDE12Fbb Pos=6 
String Handling in RPG/400 and CL

Figure 4 QCLSCAN program parameters

 Figure 4: QCLSCAN Program Parameters STRING - CHAR(1) - CHAR(999) Contains string to be translated STRLEN - PACK(3,0) Length of STRING STRPOS - PACK(3,0) Position in STRING at which to start scan PATTERN - CHAR(1) - CHAR(999) Pattern to scan for TRANSLATE - CHAR(1) If "1", translates lowercase to uppercase EBCDIC characters, "a" - "z" TRIM - CHAR(1) If "1", trim trailing blanks from PATTERN before scanning WILD - CHAR(1) Character in pattern in position to not be tested. If blank, all characters in pattern are used in the scan. The first character of the pattern cannot be a wild character. RESULT - PACK(3,0) Result field *GT 0 = position of first character of PATTERN in STRING *EQ 0 = PATTERN not found in STRING -1 = PATTERN longer than STRING -2 = PATTERN length less than 1 -3 = first character of PATTERN is a wild character -4 = PATTERN is all blank and TRIM is requested -5 = invalid STRPOS within STRING 
String Handling in RPG/400 and CL

Figure 5 QDCXLATE program parameters

 Figure 5: QDCXLATE Program Parameters BUFLEN - PACK(5,0) Length of field to be translated RANGE(1 32767) BUFFER - CHAR(*) Character field to be translated Translation is returned in this field SBCSTBLN - CHAR(10) SBCS (Single Byte Character Set) Translation table to use SBCSTBLL - CHAR(10) Library for SBCSTBLN Note: SBCSTBLN can be a user defined translation table or one of the IBM supplied tables Table Description ---------------- ------------------------------------------------------- QSYS/QASCII EBCDIC => ASCII QSYS/QEBCDIC ASCII => EBCDIC QSYS/QSYSTRNTBL lower case => upper case (unaccented "a" - "z") QUSRSYS/QCASE256 lower case => upper case (extended characters, with accent marks, translated to unaccented, "a" - "z") 
BLOG COMMENTS POWERED BY DISQUS

LATEST COMMENTS

RESOURCE CENTER

  • WHITE PAPERS

  • WEBCAST

  • TRIAL SOFTWARE

  • Mobile Computing and the IBM i

    SB ASNA PPL 5450Mobile computing is rapidly maturing into a solid platform for delivering enterprise applications. Many IBM i shops today are realizing that integrating their IBM i with mobile applications is the fast path to improved business workflows, better customer relations, and more responsive business reporting.

    This ASNA whitepaper takes a look at mobile computing for the IBM i. It discusses the different ways mobile applications may be used within the enterprise and how ASNA products solve the challenges mobile presents. It also presents the case that you already have the mobile programming team your projects need: that team is your existing RPG development team!

    Get your copy today!

  • Automate IBM i Operations using Wireless Devices

    DDL SystemsDownload the technical whitepaper on MANAGING YOUR IBM i WIRELESSLY and (optionally) register to download an absolutely FREE software trail. This whitepaper provides an in-depth review of the native IBM i technology and ACO MONITOR's advanced two-way messaging features to remotely manage your IBM i while in or away from the office. Notify on-duty personnel of system events and remotely respond to complex problems (via your Smartphone) before they become critical-24/7. Problem solved!

    Order your copy here.

  • DR Strategy Guide from Maxava: Brand New Edition - now fully updated to include Cloud!

    SB Maxava PPL 5476PRACTICAL TOOLS TO IMPLEMENT DISASTER RECOVERY IN YOUR IBM i ENVIRONMENT

    CLOUD VS. ON-PREMISE?
    - COMPREHENSIVE CHECKLISTS
    - RISK COST CALCULATIONS
    - BUSINESS CASE FRAMEWORK
    - DR SOLUTIONS OVERVIEW
    - RFP BUILDER
    Download your free copy of DR Strategy Guide for IBM i from Maxava today.

     

  • White Paper: Node.js for Enterprise IBM i Modernization

    SB Profound WP 5539

    If your business is thinking about modernizing your legacy IBM i (also known as AS/400 or iSeries) applications, you will want to read this white paper first!

    Download this paper and learn how Node.js can ensure that you:
    - Modernize on-time and budget - no more lengthy, costly, disruptive app rewrites!
    - Retain your IBM i systems of record
    - Find and hire new development talent
    - Integrate new Node.js applications with your existing RPG, Java, .Net, and PHP apps
    - Extend your IBM i capabilties to include Watson API, Cloud, and Internet of Things


    Read Node.js for Enterprise IBM i Modernization Now!

     

  • 2020 IBM i Marketplace Survey Results

    HelpSystems

    This year marks the sixth edition of the popular IBM i Marketplace Survey Results. Each year, HelpSystems sets out to gather data about how businesses use the IBM i platform and the IT initiatives it supports. Year over year, the survey has begun to reveal long-term trends that give insight into the future of this trusted technology.

    More than 500 IBM i users from around the globe participated in this year’s survey, and we’re so happy to share the results with you. We hope you’ll find the information interesting and useful as you evaluate your own IT projects.

  • AIX Security Basics eCourse

    Core Security

    With so many organizations depending on AIX day to day, ensuring proper security and configuration is critical to ensure the safety of your environment. Don’t let common threats put your critical AIX servers at risk. Avoid simple mistakes and start to build a long-term plan with this AIX Security eCourse. Enroll today to get easy to follow instructions on topics like:

    • Removing extraneous files
    • Patching systems efficiently
    • Setting and validating permissions
    • Managing service considerations
    • Getting overall visibility into your networks

     

  • Developer Kit: Making a Business Case for Modernization and Beyond

    Profound Logic Software, Inc.

    Having trouble getting management approval for modernization projects? The problem may be you're not speaking enough "business" to them.

    This Developer Kit provides you study-backed data and a ready-to-use business case template to help get your very next development project approved!

  • What to Do When Your AS/400 Talent Retires

    HelpSystemsIT managers hoping to find new IBM i talent are discovering that the pool of experienced RPG programmers and operators or administrators is small.

    This guide offers strategies and software suggestions to help you plan IT staffing and resources and smooth the transition after your AS/400 talent retires. Read on to learn:

    • Why IBM i skills depletion is a top concern
    • How leading organizations are coping
    • Where automation will make the biggest impact

     

  • IBM i Resources Retiring?

    SB HelpSystems WC GenericLet’s face it: IBM i experts and RPG programmers are retiring from the workforce. Are you prepared to handle their departure?
    Our panel of IBM i experts—Chuck Losinski, Robin Tatam, Richard Schoen, and Tom Huntington—will outline strategies that allow your company to cope with IBM i skills depletion by adopting these strategies that allow you to get the job done without deep expertise on the OS:
    - Automate IBM i processes
    - Use managed services to help fill the gaps
    - Secure the system against data loss and viruses
    The strategies you discover in this webinar will help you ensure that your system of record—your IBM i—continues to deliver a powerful business advantage, even as staff retires.

     

  • Backup and Recovery Considerations for Security Data and Encrypted Backups

    SB PowerTech WC GenericSecurity expert Carol Woodbury is joined by Debbie Saugen. Debbie is an expert on IBM i backup and recovery, disaster recovery, and high availability, helping IBM i shops build and implement effective business continuity plans.
    In today’s business climate, business continuity is more important than ever. But 83 percent of organizations are not totally confident in their backup strategy.
    During this webinar, Carol and Debbie discuss the importance of a good backup plan, how to ensure you’re backing up your security information, and your options for encrypted back-ups.

  • Profound.js: The Agile Approach to Legacy Modernization

    SB Profound WC GenericIn this presentation, Alex Roytman and Liam Allan will unveil a completely new and unique way to modernize your legacy applications. Learn how Agile Modernization:
    - Uses the power of Node.js in place of costly system re-writes and migrations
    - Enables you to modernize legacy systems in an iterative, low-risk manner
    - Makes it easier to hire developers for your modernization efforts
    - Integrates with Profound UI (GUI modernization) for a seamless, end-to-end legacy modernization solution

     

  • Data Breaches: Is IBM i Really at Risk?

    SB PowerTech WC GenericIBM i is known for its security, but this OS could be more vulnerable than you think.
    Although Power Servers often live inside the safety of the perimeter firewall, the risk of suffering a data leak or data corruption remains high.
    Watch noted IBM i security expert Robin Tatam as he discusses common ways that this supposedly “secure” operating system may actually be vulnerable and who the culprits might be.

    Watch the webinar today!

     

  • Easy Mobile Development

    SB Profound WC GenericWatch this on-demand webinar and learn how to rapidly and easily deploy mobile apps to your organization – even when working with legacy RPG code! IBM Champion Scott Klement will demonstrate how to:
    - Develop RPG applications without mobile development experience
    - Deploy secure applications for any mobile device
    - Build one application for all platforms, including Apple and Android
    - Extend the life and reach of your IBM i (aka iSeries, AS400) platform
    You’ll see examples from customers who have used our products and services to deliver the mobile applications of their dreams, faster and easier than they ever thought possible!

     

  • Profound UI: Unlock True Modernization from your IBM i Enterprise

    SB Profound PPL 5491Modern, web-based applications can make your Enterprise more efficient, connected and engaged. This session will demonstrate how the Profound UI framework is the best and most native way to convert your existing RPG applications and develop new modern applications for your business. Additionally, you will learn how you can address modernization across your Enterprise, including databases and legacy source code, with Profound Logic.

  • Node Webinar Series Pt. 1: The World of Node.js on IBM i

    Profound Logic Software, Inc.Have you been wondering about Node.js? Our free Node.js Webinar Series takes you from total beginner to creating a fully-functional IBM i Node.js business application.

    Part 1 will teach you what Node.js is, why it's a great option for IBM i shops, and how to take advantage of the ecosystem surrounding Node.

    In addition to background information, our Director of Product Development Scott Klement will demonstrate applications that take advantage of the Node Package Manager (npm).

  • 5 New and Unique Ways to Use the IBM i Audit Journal

    SB HelpSystems ROBOT GenericYou must be asking yourself: am I doing everything I can to protect my organization’s data? Tune in as our panel of IBM i high availability experts discuss:


    - Why companies don’t test role swaps when they know they should
    - Whether high availability in the cloud makes sense for IBM i users
    - Why some organizations don’t have high availability yet
    - How to get high availability up and running at your organization
    - High availability considerations for today’s security concerns

  • Profound.js 2.0: Extend the Power of Node to your IBM i Applications

    SB Profound WC 5541In this Webinar, we'll demonstrate how Profound.js 2.0 enables you to easily adopt Node.js in your business, and to take advantage of the many benefits of Node, including access to a much larger pool of developers for IBM i and access to countless reusable open source code packages on npm (Node Package Manager).
    You will see how Profound.js 2.0 allows you to:

    • Provide RPG-like capabilities for server-side JavaScript.
    • Easily create web and mobile application interfaces for Node on IBM i.
    • Let existing RPG programs call Node.js modules directly, and vice versa.
    • Automatically generate code for Node.js.
    • Automatically converts existing RPGLE code into clean, simplified Node.js code.

    Download and watch today!

     

  • Make Modern Apps You'll Love with Profound UI & Profound.js

    SB Profound WC 5541Whether you have green screens or a drab GUI, your outdated apps can benefit from modern source code, modern GUIs, and modern tools.
    Profound Logic's Alex Roytman and Liam Allan are here to show you how Free-format RPG and Node.js make it possible to deliver applications your whole business will love:

    • Transform legacy RPG code to modern free-format RPG and Node.js
    • Deliver truly modern application interfaces with Profound UI
    • Extend your RPG applications to include Web Services and NPM packages with Node.js

     

  • Accelerating Programmer Productivity with Sequel

    SB_HelpSystems_WC_Generic

    Most business intelligence tools are just that: tools, a means to an end but not an accelerator. Yours could even be slowing you down. But what if your BI tool didn't just give you a platform for query-writing but also improved programmer productivity?
    Watch the recorded webinar to see how Sequel:

    • Makes creating complex results simple
    • Eliminates barriers to data sources
    • Increases flexibility with data usage and distribution

    Accelerated productivity makes everyone happy, from programmer to business user.

  • Business Intelligence is Changing: Make Your Game Plan

    SB_HelpSystems_WC_GenericIt’s time to develop a strategy that will help you meet your informational challenges head-on. Watch the webinar to learn how to set your IT department up for business intelligence success. You’ll learn how the right data access tool will help you:

    • Access IBM i data faster
    • Deliver useful information to executives and business users
    • Empower users with secure data access

    Ready to make your game plan and finally keep up with your data access requests?

     

  • Controlling Insider Threats on IBM i

    SB_HelpSystems_WC_GenericLet’s face facts: servers don’t hack other servers. Despite the avalanche of regulations, news headlines remain chock full of stories about data breaches, all initiated by insiders or intruders masquerading as insiders.
    User profiles are often duplicated or restored and are rarely reviewed for the appropriateness of their current configuration. This increases the risk of the profile being able to access data without the intended authority or having privileges that should be reserved for administrators.
    Watch security expert Robin Tatam as he discusses a new approach for onboarding new users on IBM i and best-practices techniques for managing and monitoring activities after they sign on.

  • Don't Just Settle for Query/400...

    SB_HelpSystems_WC_GenericWhile introducing Sequel Data Access, we’ll address common frustrations with Query/400, discuss major data access, distribution trends, and more advanced query tools. Plus, you’ll learn how a tool like Sequel lightens IT’s load by:

    - Accessing real-time data, so you can make real-time decisions
    - Providing run-time prompts, so users can help themselves
    - Delivering instant results in Microsoft Excel and PDF, without the wait
    - Automating the query process with on-demand data, dashboards, and scheduled jobs

  • How to Manage Documents the Easy Way

    SB_HelpSystems_WC_GenericWhat happens when your company depends on an outdated document management strategy?
    Everything is harder.
    You don’t need to stick with status quo anymore.
    Watch the webinar to learn how to put effective document management into practice and:

    • Capture documents faster, instead of wasting everyone’s time
    • Manage documents easily, so you can always find them
    • Distribute documents automatically, and move on to the next task

     

  • Lessons Learned from the AS/400 Breach

    SB_PowerTech_WC_GenericGet actionable info to avoid becoming the next cyberattack victim.
    In “Data breach digest—Scenarios from the field,” Verizon documented an AS/400 security breach. Whether you call it AS/400, iSeries, or IBM i, you now have proof that the system has been breached.
    Watch IBM i security expert Robin Tatam give an insightful discussion of the issues surrounding this specific scenario.
    Robin will also draw on his extensive cybersecurity experience to discuss policies, processes, and configuration details that you can implement to help reduce the risk of your system being the next victim of an attack.

  • Overwhelmed by Operating Systems?

    SB_HelpSystems_WC_GenericIn this 30-minute recorded webinar, our experts demonstrate how you can:

    • Manage multiple platforms from a central location
    • View monitoring results in a single pane of glass on your desktop or mobile device
    • Take advantage of best practice, plug-and-play monitoring templates
    • Create rules to automate daily checks across your entire infrastructure
    • Receive notification if something is wrong or about to go wrong

    This presentation includes a live demo of Network Server Suite.

     

  • Real-Time Disk Monitoring with Robot Monitor

    SB_HelpSystems_WC_GenericYou need to know when IBM i disk space starts to disappear and where it has gone before system performance and productivity start to suffer. Our experts will show you how Robot Monitor can help you pinpoint exactly when your auxiliary storage starts to disappear and why, so you can start taking a proactive approach to disk monitoring and analysis. You’ll also get insight into:

    • The main sources of disk consumption
    • How to monitor temporary storage and QTEMP objects in real time
    • How to monitor objects and libraries in real time and near-real time
    • How to track long-term disk trends

     

     

  • Stop Re-keying Data Between IBM I and Other Applications

    SB_HelpSystems_WC_GenericMany business still depend on RPG for their daily business processes and report generation.Wouldn’t it be nice if you could stop re-keying data between IBM i and other applications? Or if you could stop replicating data and start processing orders faster? Or what if you could automatically extract data from existing reports instead of re-keying? It’s all possible. Watch this webinar to learn about:

    • The data dilemma
    • 3 ways to stop re-keying data
    • Data automation in practice

    Plus, see how HelpSystems data automation software will help you stop re-keying data.

     

  • The Top Five RPG Open Access Myths....BUSTED!

    SB_Profound_WC_GenericWhen it comes to IBM Rational Open Access: RPG Edition, there are still many misconceptions - especially where application modernization is concerned!

    In this Webinar, we'll address some of the biggest myths about RPG Open Access, including:

    • Modernizing with RPG OA requires significant changes to the source code
    • The RPG language is outdated and impractical for modernizing applications
    • Modernizing with RPG OA is the equivalent to "screen scraping"

     

  • Time to Remove the Paper from Your Desk and Become More Efficient

    SB_HelpSystems_WC_GenericToo much paper is wasted. Attempts to locate documents in endless filing cabinets.And distributing documents is expensive and takes up far too much time.
    These are just three common reasons why it might be time for your company to implement a paperless document management system.
    Watch the webinar to learn more and discover how easy it can be to:

    • Capture
    • Manage
    • And distribute documents digitally

     

  • IBM i: It’s Not Just AS/400

    SB_HelpSystems_WC_Generic

    IBM’s Steve Will talks AS/400, POWER9, cognitive systems, and everything in between

    Are there still companies that use AS400? Of course!

    IBM i was built on the same foundation.
    Watch this recorded webinar with IBM i Chief Architect Steve Will and IBM Power Champion Tom Huntington to gain a unique perspective on the direction of this platform, including:

    • IBM i development strategies in progress at IBM
    • Ways that Watson will shake hands with IBM i
    • Key takeaways from the AS/400 days

     

  • Ask the RDi Experts

    SB_HelpSystems_WC_GenericWatch this recording where Jim Buck, Susan Gantner, and Charlie Guarino answered your questions, including:

    • What are the “hidden gems” in RDi that can make me more productive?
    • What makes RDi Debug better than the STRDBG green screen debugger?
    • How can RDi help me find out if I’ve tested all lines of a program?
    • What’s the best way to transition from PDM to RDi?
    • How do I convince my long-term developers to use RDi?

    This is a unique, online opportunity to hear how you can get more out of RDi.

     

  • Node.js on IBM i Webinar Series Pt. 2: Setting Up Your Development Tools

    Profound Logic Software, Inc.Have you been wondering about Node.js? Our free Node.js Webinar Series takes you from total beginner to creating a fully-functional IBM i Node.js business application. In Part 2, Brian May teaches you the different tooling options available for writing code, debugging, and using Git for version control. Attend this webinar to learn:

    • Different tools to develop Node.js applications on IBM i
    • Debugging Node.js
    • The basics of Git and tools to help those new to it
    • Using NodeRun.com as a pre-built development environment

     

     

  • Inside the Integrated File System (IFS)

    SB_HelpSystems_WC_GenericDuring this webinar, you’ll learn basic tips, helpful tools, and integrated file system commands—including WRKLNK—for managing your IFS directories and Access Client Solutions (ACS). We’ll answer your most pressing IFS questions, including:

    • What is stored inside my IFS directories?
    • How do I monitor the IFS?
    • How do I replicate the IFS or back it up?
    • How do I secure the IFS?

    Understanding what the integrated file system is and how to work with it must be a critical part of your systems management plans for IBM i.

     

  • Expert Tips for IBM i Security: Beyond the Basics

    SB PowerTech WC GenericIn this session, IBM i security expert Robin Tatam provides a quick recap of IBM i security basics and guides you through some advanced cybersecurity techniques that can help you take data protection to the next level. Robin will cover:

    • Reducing the risk posed by special authorities
    • Establishing object-level security
    • Overseeing user actions and data access

    Don't miss this chance to take your knowledge of IBM i security beyond the basics.

     

     

  • 5 IBM i Security Quick Wins

    SB PowerTech WC GenericIn today’s threat landscape, upper management is laser-focused on cybersecurity. You need to make progress in securing your systems—and make it fast.
    There’s no shortage of actions you could take, but what tactics will actually deliver the results you need? And how can you find a security strategy that fits your budget and time constraints?
    Join top IBM i security expert Robin Tatam as he outlines the five fastest and most impactful changes you can make to strengthen IBM i security this year.
    Your system didn’t become unsecure overnight and you won’t be able to turn it around overnight either. But quick wins are possible with IBM i security, and Robin Tatam will show you how to achieve them.

  • How to Meet the Newest Encryption Requirements on IBM i

    SB PowerTech WC GenericA growing number of compliance mandates require sensitive data to be encrypted. But what kind of encryption solution will satisfy an auditor and how can you implement encryption on IBM i? Watch this on-demand webinar to find out how to meet today’s most common encryption requirements on IBM i. You’ll also learn:

    • Why disk encryption isn’t enough
    • What sets strong encryption apart from other solutions
    • Important considerations before implementing encryption

     

     

  • Security Bulletin: Malware Infection Discovered on IBM i Server!

    SB PowerTech WC GenericMalicious programs can bring entire businesses to their knees—and IBM i shops are not immune. It’s critical to grasp the true impact malware can have on IBM i and the network that connects to it. Attend this webinar to gain a thorough understanding of the relationships between:

    • Viruses, native objects, and the integrated file system (IFS)
    • Power Systems and Windows-based viruses and malware
    • PC-based anti-virus scanning versus native IBM i scanning

    There are a number of ways you can minimize your exposure to viruses. IBM i security expert Sandi Moore explains the facts, including how to ensure you're fully protected and compliant with regulations such as PCI.

     

     

  • Fight Cyber Threats with IBM i Encryption

    SB PowerTech WC GenericCyber attacks often target mission-critical servers, and those attack strategies are constantly changing. To stay on top of these threats, your cybersecurity strategies must evolve, too. In this session, IBM i security expert Robin Tatam provides a quick recap of IBM i security basics and guides you through some advanced cybersecurity techniques that can help you take data protection to the next level. Robin will cover:

    • Reducing the risk posed by special authorities
    • Establishing object-level security
    • Overseeing user actions and data access

     

     

     

  • 10 Practical IBM i Security Tips for Surviving Covid-19 and Working From Home

    SB PowerTech WC GenericNow that many organizations have moved to a work from home model, security concerns have risen.

    During this session Carol Woodbury will discuss the issues that the world is currently seeing such as increased malware attacks and then provide practical actions you can take to both monitor and protect your IBM i during this challenging time.

     

  • How to Transfer IBM i Data to Microsoft Excel

    SB_HelpSystems_WC_Generic3 easy ways to get IBM i data into Excel every time
    There’s an easy, more reliable way to import your IBM i data to Excel? It’s called Sequel. During this webinar, our data access experts demonstrate how you can simplify the process of getting data from multiple sources—including Db2 for i—into Excel. Watch to learn how to:

    • Download your IBM i data to Excel in a single step
    • Deliver data to business users in Excel via email or a scheduled job
    • Access IBM i data directly using the Excel add-in in Sequel

    Make 2020 the year you finally see your data clearly, quickly, and securely. Start by giving business users the ability to access crucial business data from IBM i the way they want it—in Microsoft Excel.

     

     

  • HA Alternatives: MIMIX Is Not Your Only Option on IBM i

    SB_HelpSystems_WC_GenericIn this recorded webinar, our experts introduce you to the new HA transition technology available with our Robot HA software. You’ll learn how to:

    • Transition your rules from MIMIX (if you’re happy with them)
    • Simplify your day-to-day activities around high availability
    • Gain back time in your work week
    • Make your CEO happy about reducing IT costs

    Don’t stick with a legacy high availability solution that makes you uncomfortable when transitioning to something better can be simple, safe, and cost-effective.

     

     

  • Comply in 5! Well, actually UNDER 5 minutes!!

    SB CYBRA PPL 5382

    TRY the one package that solves all your document design and printing challenges on all your platforms.

    Produce bar code labels, electronic forms, ad hoc reports, and RFID tags – without programming! MarkMagic is the only document design and print solution that combines report writing, WYSIWYG label and forms design, and conditional printing in one integrated product.

    Request your trial now!

  • Backup and Recovery on IBM i: Your Strategy for the Unexpected

    SB HelpSystems SC 5413Robot automates the routine tasks of iSeries backup and recovery, saving you time and money and making the process safer and more reliable. Automate your backups with the Robot Backup and Recovery Solution. Key features include:
    - Simplified backup procedures
    - Easy data encryption
    - Save media management
    - Guided restoration
    - Seamless product integration
    Make sure your data survives when catastrophe hits. Try the Robot Backup and Recovery Solution FREE for 30 days.

  • Manage IBM i Messages by Exception with Robot

    SB HelpSystems SC 5413Managing messages on your IBM i can be more than a full-time job if you have to do it manually. How can you be sure you won’t miss important system events?
    Automate your message center with the Robot Message Management Solution. Key features include:
    - Automated message management
    - Tailored notifications and automatic escalation
    - System-wide control of your IBM i partitions
    - Two-way system notifications from your mobile device
    - Seamless product integration
    Try the Robot Message Management Solution FREE for 30 days.

  • Easiest Way to Save Money? Stop Printing IBM i Reports

    SB HelpSystems SC 5413Robot automates report bursting, distribution, bundling, and archiving, and offers secure, selective online report viewing.
    Manage your reports with the Robot Report Management Solution. Key features include:

    - Automated report distribution
    - View online without delay
    - Browser interface to make notes
    - Custom retention capabilities
    - Seamless product integration
    Rerun another report? Never again. Try the Robot Report Management Solution FREE for 30 days.

  • Hassle-Free IBM i Operations around the Clock

    SB HelpSystems SC 5413For over 30 years, Robot has been a leader in systems management for IBM i.
    Manage your job schedule with the Robot Job Scheduling Solution. Key features include:
    - Automated batch, interactive, and cross-platform scheduling
    - Event-driven dependency processing
    - Centralized monitoring and reporting
    - Audit log and ready-to-use reports
    - Seamless product integration
    Scale your software, not your staff. Try the Robot Job Scheduling Solution FREE for 30 days.

  • ACO MONITOR Manages your IBM i 24/7 and Notifies You When Your IBM i Needs Assistance!

    SB DDL Systems 5429More than a paging system - ACO MONITOR is a complete systems management solution for your Power Systems running IBM i. ACO MONITOR manages your Power System 24/7, uses advanced technology (like two-way messaging) to notify on-duty support personnel, and responds to complex problems before they reach critical status.

    ACO MONITOR is proven technology and is capable of processing thousands of mission-critical events daily. The software is pre-configured, easy to install, scalable, and greatly improves data center efficiency.