All Posts by NickLitten


About the Author

IBM i Software Developer, Digital Dad, AS400 Anarchist, RPG Modernizer, Alpha Nerd and Passionate Eater of Cheese and Biscuits. Nick Litten Dot Com is a mixture of blog posts that can be sometimes serious, frequently playful and probably down-right pointless all in the space of a day. Enjoy your stay, feel free to comment and in the words of the most interesting man in the world: Stay thirsty my friend.

Jul 08

IFS File system error occurred. Error number 3021?


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! […]

More Waffle
Jul 03

How to rename IFS Files

IBM i , IFS , Programming

rename IFS Files

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 […]

More Waffle
Jun 29

How to copy IBM i IFS folder


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 […]

More Waffle
Jun 25

Using TURNOVER in an IBM i iASP Environment


ibm i apple turnover

Unicom (who bought out ‘Softlanding Systems’) recommend upgrading to TURNOVER V101 before implementing iASP technology. The main thing to remember is that you need to set your job, or session, to use the iASP before going into TURNOVER. You can do this by controlling your job with the JOBD ASPGRP or by issing a command […]

More Waffle
Jun 21

How to move IFS from *SYSBAS into iASP (Independent ASP)



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 WRKCFGSTS CFGTYPE(DEV) CFGD(ASP) 2) Create your new directory on the iASP, if it doesn’t already exist CRTDIR DIR(‘/my_iasp/dir_name’) 3) […]

More Waffle
Jun 10

Getting the Snip

IBM i , Programming

I got the SNIP recently, but that’s whole different story to this very boring technical one… How to assign a keyboard shortcut to the Windows Snipping Tool I’ve been using the windows snipping tool a lot recently — to capture various 5250 screens and document them. I just remembered how to setup the tool against […]

More Waffle
1 2 3 61