Checking for objects (folders/documents) existence in QDLS is normally accomplished through CHKDLO or CHKIN/CHKOUT command combinations. These commands are specific to check objects (folders/documents)in QDLS only. For objects present in other directories, these commands won't help. An alternate option that can be used is the DSPLNK command that displays information about objects in any directory. The MONMSG MSGID(CPFA0A9) caters to the existence of the object in the directory path.
MORE INFORMATION ON THIS TOPIC
The Best Web Links: tips, tutorials and more.
Visit the ITKnowledge Exchange and get answers to your developing questions fast.
Ask the Experts yourself: Our application development gurus are waiting to answer your programming questions.