× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I get this sometimes and it drives me mad.
The directory entry was created programmatically and looks exactly correct when viewed via WRKLNK but does not appear to exist when attempting to access it using exactly the same name.
However, it appears that a trailing blank has been added when the entry name was created.
By using WRKLNK to rename the file by retyping the name without the trailing blank the problem is fixed.

Peter

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Bruce Vining
Sent: Friday, 16 April 2010 5:40 a.m.
To: RPG programming on the IBM i / System i
Subject: Re: help with Qp0lRenameKeep api

As you have checked the obvious problems I would suggest writing a program
to read and dump the directory entries (in hex). Then compare the directory
entries to the hex values of the variable being used with Qp0lRenameKeep.

On Thu, Apr 15, 2010 at 11:16 AM, George Van Eaton <gvaneaton@xxxxxxxxx>wrote:

I did that. Everything matches.

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Michael Ryan
Sent: Thursday, April 15, 2010 11:03 AM
To: RPG programming on the IBM i / System i
Subject: Re: help with Qp0lRenameKeep api

In debug, eval the variable with :X and see if there are any unprintable
characters. Correspondingly, use QSH or WRKLNK and see if you can see
anything odd about the directory or file name. Do an F22 in WRKLNK to see
the complete name.

On Thu, Apr 15, 2010 at 11:46 AM, George Van Eaton <gvaneaton@xxxxxxxxx
wrote:

Yes. I can hold up to 250 characters.

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of MWHopkins@xxxxxxxxxxxxxxx
Sent: Thursday, April 15, 2010 10:28 AM
To: RPG programming on the IBM i / System i
Subject: RE: help with Qp0lRenameKeep api

Is your field long enough to hold the extra 3 characters?

Matt Hopkins
Sr. Programmer/Analyst
Web: www.pdpgroupinc.com
Email: MWHopkins@xxxxxxxxxxxxxxx
Office: 410-584-0330
Fax: 410-584-0336
Cell: 410-258-8845




From: George Van Eaton <gvaneaton@xxxxxxxxx>
To: "'RPG programming on the IBM i / System i'"
<rpg400-l@xxxxxxxxxxxx>
Date: 04/15/2010 11:08 AM
Subject: RE: help with Qp0lRenameKeep api
Sent by: rpg400-l-bounces@xxxxxxxxxxxx



For this instance we only are using 2 directories. There are no
embedded spaces just underscores in the name.

Here is the original file and location:
//HL7DOCSHARE/046/CQI/cqi_inor_gautreau_cecilia_1894189465_6024233.PDF

Here is the new file and location:
//HL7DOCSTORE/046/CQI/cqi_inor_gautreau_cecilia_1894189465_6024233_01.
PDF

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Michael Ryan
Sent: Thursday, April 15, 2010 9:20 AM
To: RPG programming on the IBM i / System i
Subject: Re: help with Qp0lRenameKeep api

Is this happening with all directories? Are there any embedded spaces
or other characters in the directory or file name?

On Thu, Apr 15, 2010 at 9:43 AM, George Van Eaton
<gvaneaton@xxxxxxxxx>wrote:

I am using the Qp0lRenameKeep to rename objects in the IFS. As of
yesterday, I have started getting error CPE3025 No such path or
directory.
However, I can view the directory.

Any ideas?


George Van Eaton
Clinical Programmer Analyst
Healthcare Management Systems, Inc.
3102 West End Avenue
Suite 400
Nashville, Tennessee 37203
(615) 383-7300 Ext.7007

Fax (615) 386-6662
gvaneaton@xxxxxxxxx
http://www.hmstn.com

HMS welcomes your feedback on our service. If there are any areas we
can improve, please email our Quality Service Department at mailto:
hmsquality@xxxxxxxxxx If you receive STAR service, please email
mailto:
hmsstar@xxxxxxxxx and tell us about your experience. We appreciate
your business.


CONFIDENTIALITY STATEMENT: The documents accompanying this
transmission may contain confidential health information that is
legally privileged. This information is intended only for the use of
the individual or entity named above. The authorized recipient of
this information is prohibited from disclosing this information to
any other party unless required to do so by law or regulation and is
required to destroy the information after its stated need has been
fulfilled. If you are not the intended recipient, you are hereby
notified that any disclosure, copying, distribution, or action taken
in
reliance on the contents of these documents is strictly prohibited.
If you have received this information in error, please notify the
sender immediately and arrange for the return or destruction of
these
documents.



--
This is the RPG programming on the IBM i / System i (RPG400-L)
mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To
subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take
a moment to review the archives at
http://archive.midrange.com/rpg400-l.


--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing
list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/rpg400-l.

--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing
list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/rpg400-l.





The information contained in this communication may be confidential,
is intended only for the use of the recipient named above, and may be
legally privileged. If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination,
distribution, or copying of this communication, or any of its
contents, is strictly prohibited. If you have received this
communication in error, please re-send this communication to the
sender and delete the original message and any copy of it from your
computer system. Thank you.
--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing
list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/rpg400-l.

--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing
list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/rpg400-l.


--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe,
or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/rpg400-l.

--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing
list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.