CHKLNK – Check IFS link exists in IBM i


Is this a valid IFS link or not?

The CHKLNK command lets programmers easily check if an IFS link to a folder or file is valid. Nuff said.

For an invalid IFS address you might see an error like this:

PROJEX4I/CHKLNK OBJ('/projex/doesthisfilexist?.txt') AUT(*EXISTS) 
No such path or directory.

CHKLNK – validating the IFS so programmers dont have to