× 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.



Hello Hotel,

It's not possible to define two F-specs with the same name. That would not compile.

As Marc and others have pointed out, in your example the names are different. One has an 'S' as the 4th character, the other has a 'P' as the 4th character, they are different names.

Since it's not possible for two things to have the same name, your question "What is the reason for having the same name" is moot.

-SK


On 1/18/2016 11:18 AM, Hoteltravelfundotcom wrote:
So what is the reason for having the same name? or is there any error that
could happen?

On Mon, Jan 18, 2016 at 12:06 PM, Marc Couture <couturem@xxxxxxxxxxx> wrote:

Not the same name !

Sent from Outlook Mobile




On Mon, Jan 18, 2016 at 8:14 AM -0800, "Hoteltravelfundotcom" <
hoteltravelfun@xxxxxxxxx> wrote:





HI I am trying to understand one thing. I am looking at a program we have,
that tells the user
if there a record is locked. The user enters the order#. The program has
the same file entered as this. Without change of rename of format name.
** Receipts file by reception date
FSRBSOH UF E K DISK
** Receipts file again for Landed Costs
FSRBPOH UF E K DISK

From what I recall, I used to use RENAME usually when you had 2 logicals.
But what is the
reason to use the same exact name twice?

From what I read in the code, the user who has the lock can hit F5 and the
lock goes away.

But only the user holding a lock. I am also trying to see if I could get
the lock off. Because handling help desk ticket this is easier than having
them go in thru the ERP menus to do it.
--
This is the RPG programming on the IBM i (AS/400 and iSeries) (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.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.
--
This is the RPG programming on the IBM i (AS/400 and iSeries) (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.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.


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.