Tag Archives for " #ibmi "

Jul 08

IFS File system error occurred. Error number 3021?

IBM i , IFS

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

IBM i , IFS

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

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)

IBM i

IBMi iASP

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
Mar 04

How to read a Data Area (*DTAARA) using IBM i SQL

IBM i

Our first problem is, SQL doesn’t know what a *DTAARA is. SQL reads data from Tables but our gloriously quirky IBM i Box has other places to secretly store data. Data Areas are just one of these tricky little blocks of data that other machines don’t know about – think of them as a single […]

More Waffle
Jan 08

How to update RDi – Rational Developer for IBM ‘i’ Programmers

IBM i

Last night was I was chatting to an old programming chum in Chicago. As you may be aware, for most people in the AS400/iSeries/IBM-i arena the term “old programming chum” automatically implies a gray haired old fart wearing frayed cords, cheap (but comfortable!) shoes and excessively dour facial features with a slightly “smarter than thou” […]

More Waffle
1 2 3