Or — Two cool techniques to find the largest IBM i IFS Folders But first, what is the IFS? The IBM i Integrated File System (IFS) is a component of the IBM i operating system. It provides a unified interface for accessing and managing different types of file systems, similar to those found in personal

Read More

Some of IBM’s error messages are more cryptic than others. Copying files from the IFS using CPYFRMIMPF sometimes spits out error messages which are less than clear: CPYFRMIMPF FRMSTMF(‘/FOLDER/FOLDER/FILE’) TOFILE(*LIBL/FILENAME) MBROPT(REPLACE) RCDDLM(LF) STRDLM(NONE) RMVBLANK(NONE)FLDDLM(TAB) ERRRCDOPT(REPLACE) RPLNULLVAL(FLDDFT) File system error occurred. Error number 3021Copy command ended because of error. Internet Search for CPYFRMIMPF 3021 shows nothing!

Read More

Colleague asked me this question just a minute ago – as he said “its obvious when you know how but not when you dont” Simply use the IBM i RNM command: Personally, I find this command syntax a little annoying: fully qualifying the FROM string and then just using the unqualified NEW file name in

Read More

AKA – How to copy IBM i IFS folder and all subfolders and documents to a new Location I just upgraded a clients PRESTO Server to the current version 8.1 What is Presto? It’s commonly called an IBM i Modernization Application : Essentially transforming the old fashioned AS400 style Green Screen terminals to modern Webstyle

Read More

IBM i iASP (Independent Auxiliary Storage Pool) The independent auxiliary storage pool (IASP) is the strategic building block for availability on IBM i. There is a lot of mythology around migrating to an IASP environment, and some extremely wild estimates about the complexity of migrating. The reality is usually considerably easier than most people would

Read More

By default, the IFS lives in the *SYSBASE ASP. But, we can move the IFS Directories, and all documents therein, to the iASP location easily: Let’s assume your ASP is called ‘my_iasp’ 1) Vary on iASP 2) Create your new directory on the iASP, if it doesn’t already exist 3) Move the directory, and all

Read More

An interesting question was lobbed at me this morning – “How can I change the data change timestamp in an ifs file?” One of the good folks over at Tire Rack (the software developers, not the blokes that change the tires) asked if I knew a way to update the timestamp for the data changed

Read More

This morning I had an email from a blog subscriber ( Hi Rick! ) asking for a code tips on how to cleanup IFS file names to remove erroneous characters and/or malformed directory name slashes. Rather than reply with a plethora of programming options — here is an old, but functional, RPG code snippet that

Read More

So, yesterday I added a neat little snippet to my Control Language Program on this #IBMi system, and re-awakened an irritating feature thats bitten me before. I slept badly last night with this problem niggling away in my brain. But awoke to a bright chilly Las Vegas morning with a steamy coffee and a solution

Read More

Search Scan Replace text in IFS files on IBM i using QSH This morning I wanted to find a quick and dirty way to “Scan Replace text in IFS” files without writing a program to do it…. SPOILER ALERT – it’s really really insanely simple using JAVA QSHELL and the SED command So, before I

Read More

From AS400 DLS to IBM i IFS Over recent years, I’ve been playing with the IBM i Integrated File System a lot more than usual. The IFS allows us to use and easily share IBM i Data with Windows/Linux/Apple or just about any other computer on the network. It basically shares native IBM i (AS400)

Read More

Problems Downloading IBM i ACS (Access Client Solutions)? The new replacement for the aging, creaky AS400 Client Access is the cunningly titled IBM i Access Client Solutions Download this all new JAVA software is free, as long as you create an IBM Passport Account and once installed it lets you connect to the IBM I

Read More