• The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
Menu
  • The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
  • Viewing and Printing the Euro Symbol

    May 11, 2005 Dale Downing

    I recently needed to print the Euro symbol (€) on some of my spool files. I found that this was not a standard capability. My default system value for character identifier was set to 697 for the graphic character set and 037 for the code page. These settings are not Euro ready. So, how can I print the Euro without changing my system value and worrying about what negative affects this might have on other installed software? This can be accomplished with a few simple steps.

    First, set up your 5250 session to allow the display of the Euro symbol.

    …

    Read more
  • Scanning QSYSOPR for Selected System Messages

    May 11, 2005 Joe Hertvik

    In your article “Bullet-Proofing User Profiles,” you talk about scanning the QSYSOPR message queue. Is there a way to scan for selected system messages, such as failed sign-on attempts, or do you have to review your logs line by line? I suspect that I have a user who is deliberately disabling user profiles by typing in a garbage password three times in a row, but I can’t prove this is happening. Do you have any ideas?

    –Mike

    The simplest way to do this is to scan the system history log for message CPF2234, which tells you when a user tries

    …

    Read more
  • Use Special Files to Access the IFS

    May 4, 2005 Hey, Ted

    The code for this article is available for download.

    I was looking for a way to simplify writing data to IFS files, and your article about special files inspired me! I wrote program PTIFSIO, which is to be used as a special file program. This program enables any RPG program to read from and write to the IFS without APIs. I have also attached a program which writes to an IFS file and one which reads from the IFS file. The examples are perhaps trivial, but they show how to use the special file support.

    I am grateful to

    …

    Read more
  • Take Two: Where Did I Come From?

    May 4, 2005 Hey, Ted

    The “Where Did I Come From?” tip is a good article. To expand upon it, we sometimes have cases where a job was submitted to job queue A and then moved to job queue B. The QUSRJOBI API will then return job queue B. The joblog will just show CPC1129, “Job number/user/jobname changed by userprofile”. I don’t know of any way to retrieve the value of job queue A from within the active program, but there are a couple of ways of tracking its true origins.

    1. This is what we use. Turn on auditing for the *JOBQ object, like

    …

    Read more
  • Admin Alert: Configuring i5/OS and a Windows Network Server for SSO

    May 4, 2005 Joe Hertvik

    Last week, I introduced the concepts and pre-configuration tasks for setting up IBM‘s Single Sign-On (SSO) technology, which allows network users to access a Kerberos server to automatically authenticate and authorize themselves to use i5/OS applications without entering an OS/400 user profile and password. This week, let’s look at some of the configuration tasks for setting up your i5/iSeries partitions and Windows network for SSO.

    Please note that this is the second installment of a group of articles on configuring SSO for i5/OS. These articles cover the following information:

    • Requirements and pre-configuration tasks for enabling SSO on your iSeries
    …

    Read more
  • A Simple Encryption/Decryption Algorithm for Numbers

    April 27, 2005 Hey, Ted

    One of the most important tasks of any IT department is to make sure that information stored in database files is not accessible to unauthorized users. RPG program CCED01 provides a simple way to encrypt and decrypt numbers up to 16 digits long.

    The algorithm is based on a16-element array of numeric digits, which I implement as a compile-time array in CCED01. Each element must contain the ten numeric characters from 0 to 9. Each digit must appear only once in each element of the array. The digits can appear in any order you like. Here’s an example:

    0123456789
    1234567890
    
    …

    Read more
  • Suppress Runtime Display When Qshell Cancels

    April 27, 2005 Hey, Ted

    Tahler’s Qshell tip works great. If there is an error in a CL program that runs the Start Qshell command (STRQSH or QSH), I receive escape message QSH0005. Unfortunately, an error also causes the system to display the C runtime display when I run interactively. I have to press Enter to continue. Can I suppress the error display?

    –John

    Yes. I wish I had included that information when we ran the article you mentioned. You need to assign the value NONE to environment variable QIBM_QSH_CMD_OUTPUT.

    addenvvar  envvar(QIBM_QSH_CMD_OUTPUT) value('NONE')
    

    Here’s more information I wish I had included: I have found that

    …

    Read more
  • Admin Alert: Getting Ready for Single Sign-On

    April 27, 2005 Joe Hertvik

    One of IBM‘s better i5/OS improvements was the V5R2 addition of single sign-on technology, where network users can access a Kerberos server to automatically authenticate and authorize themselves to sign on to i5/OS applications without entering an OS/400 user profile and password. By using single sign-on, a user can sign on once to a network server and automatically gain access to a wide variety of OS/400 applications, if their network is configured correctly.

    At this spring’s COMMON, I attended a number of classes on configuring single sign-on on an i5/OS box, and–with the help of IBM documentation and

    …

    Read more
  • Integrating iSeries Host Applications into Portals

    April 20, 2005 Marc Logemann

    Portals are on the way to becoming mainstream in enterprise software environments. Companies like BEA Systems, IBM, and Plumtree are pushing this product segment hard. Before I look into the details of a successful integration, I will outline the basic definition and working of a portal. This article will not cover every piece of the implementation, but will give you an idea how to start. Some aspects of the integration, especially the retrieval of current logged in user and its password, are portal specific and cannot be outlined here.

    How Portals Work

    Like application servers, portals provide an

    …

    Read more
  • Increase the System Inquiry Reply Line Size in WebFacing

    April 20, 2005 Michael Sansoterra

    WebFacing is a good tool for making green screen applications available for use in the ubiquitous browser. The technology has sufficiently matured to the point where 5250 applications can be tailored to be fairly consistent with true Web applications–with some work, of course. However, even though it is free, there are a few features unavailable with standard WebFacing.

    The most grievous of these omissions is WebFacing’s inability to render system screens such as those produced by the WRKSPLF or RUNQRY commands. (Actually, system screens can be WebFaced, this just isn’t a “free” feature–one has to purchase the Advanced Edition of

    …

    Read more

Previous Articles Next Articles

Content archive

  • The Four Hundred
  • Four Hundred Stuff
  • Four Hundred Guru

Recent Posts

  • Liam Allan Shares What’s Coming Next With Code For IBM i
  • From Stable To Scalable: Visual LANSA 16 Powers IBM i Growth – Launching July 8
  • VS Code Will Be The Heart Of The Modern IBM i Platform
  • The AS/400: A 37-Year-Old Dog That Loves To Learn New Tricks
  • IBM i PTF Guide, Volume 27, Number 25
  • Meet The Next Gen Of IBMers Helping To Build IBM i
  • Looks Like IBM Is Building A Linux-Like PASE For IBM i After All
  • Will Independent IBM i Clouds Survive PowerVS?
  • Now, IBM Is Jacking Up Hardware Maintenance Prices
  • IBM i PTF Guide, Volume 27, Number 24

Subscribe

To get news from IT Jungle sent to your inbox every week, subscribe to our newsletter.

Pages

  • About Us
  • Contact
  • Contributors
  • Four Hundred Monitor
  • IBM i PTF Guide
  • Media Kit
  • Subscribe

Search

Copyright © 2025 IT Jungle