Quantcast
Channel: Note as I walk » AS400 IBM i iSeries system i
Browsing latest articles
Browse All 7 View Live

UDFS and how to use it

What is UDFS UDFS is user defined file system. On IBM i(AS400), UDFS is a storage mechanism which works in the same way as IFS, integrated file system. It is usually used to get a way to manipulate IFS...

View Article


Use of MONMSG in CL – Part 1

When programming on IBM i, message handling is always a part. Like programming exceptions, messages need to be captured and handled appropriately. This is more obvious in CL language on AS400(currently...

View Article


Use of MONMSG in CL – Part 2

Let’s see another example. When we check object existence by CHKOBJ, if the object does not exist, there are 2 cases. If a library does not exist, the exceptional message is CPF9810. If the library...

View Article

Database operation in CL

Usually we process a database file in RPG. But we can also process database files in CL. There are some similarities in these 2 kinds of operations are both CL and RPG are native programming model on...

View Article

Database operation in CL – multiple database objects

How to access more than 1 database files in one CL program? We already know that DCLF/RCVF can be used to read a database file. To access multiple files, we need to specify some parameters in these...

View Article


AS400 – new build in function %CHECK

Today I needed to write a CL program to check if names of save files are in the patter of Qxxxxxxxxx, where ‘xxxxxxxxx’ are 9 digits. I thought at first that I need to get each byte from position 2 and...

View Article

Image may be NSFW.
Clik here to view.

AS400 – Check system version

How to check system version? Sometimes you really need it. There are some ways in CL command entry and some in program.   1. Check data area QSS1MRI Data area QSS1MRI includes current version and a...

View Article
Browsing latest articles
Browse All 7 View Live