Tag Archives for " #IFS "

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