|
Use QNTC. Like this...assume the server is MYSERVER and the shared drive is MYDRIVE. You can do this: WRKLNK /qntc/myserver/mydrive/somefile If you get the CPFA0A9, do whatever you need to do. > -------- Original Message -------- > Subject: Re: STRPCCMD issue with opening files > From: "Bob O." <otis_the_cat@xxxxxxxxxxx> > Date: Thu, September 22, 2005 1:45 pm > To: midrange-l@xxxxxxxxxxxx > > Unfortunately, the object is a file on a network drive and not the IFS. > If there was no file to open (with Microsoft Project) I didn't want the > STRPCCMD command to run. > > ---------------------------------------------------------------------- > > From: "Peter Vidal" <Peter_Vidal@xxxxxxxx> > Reply-To: Midrange Systems Technical Discussion > <midrange-l@xxxxxxxxxxxx> > To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx> > Subject: Re: STRPCCMD issue with opening files > Date: Thu, 22 Sep 2005 12:16:55 -0400 > >There are no error messages defined for STRPCCMD. What you can do is > to > >verify if the object exists before anything else. I do not know, > maybe > >DSPLNK and if CPFA0A9 comes in, you will know is not found. > > > >Just an idea... > > > > > >Peter Vidal > >PALL Corporation / SR Programmer Analyst, IT Development Group > >10540 Ridge Rd., Ste 203, New Port Richey, FL 34654-5111 > >http://www.pall.com > > > >"Only he who can see the invisible can do the impossible." > >-Anonymous- > > >-- > >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. > > > -- > 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.
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.