|
Well...you could always do a DSPLNK OBJ('/asdf') OUTPUT(*PRINT) and monitor for a CPFA0A9. You would probably want to delete the spooled file if you didn't get the error with a DLTSPLF FILE(QSYSPRT) SPLNBR(*LAST). On Fri, 9 Jul 2004 10:33:20 -0400, "Adam Lang" <aalang@xxxxxxxxxxxxxxxxxxxx> said: > I have a CL program that uses CHKDLO to determine the existence of a > folder. > We are changing things around to use directories. What would the > equivalent > command be to check for the existence of a directory? I assume we can't > use > wrklnk, because that will actually display the screen. Also, what would > the > correct msgid be? > > Adam Lang > Systems Engineer > Rutgers Casualty Insurance Company > http://www.rutgersinsurance.com > > -- > This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing > list > To post a message email: MIDRANGE-L@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo/midrange-l > or email: MIDRANGE-L-request@xxxxxxxxxxxx > Before posting, please take a moment to review the archives > at http://archive.midrange.com/midrange-l. > -- michaelr_41@xxxxxxxxxxxxxx
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.