Community in read only mode June 18 & 19
This community will be set in READ ONLY mode for a while on Tuesday June 18 into Wednesday June 19 while we import content and users from our Micro Focus Forums community site. MORE INFORMATION

Parsing copybooks with the same name but different content

Parsing copybooks with the same name but different content

This article explains how you can destinguish two files with the same name, but in different locations.


Can Revolve handle two or more files with the same name? For example:

    copy c:\copydirectory 1\abc.cpy 
    copy c:\copydirectory 2\abc.cpy


Revolve will enable you to have files with the same name as long as the program explicitly defines the two locations. For example:

Procedure division.    
copy GAME.
copy C:\source\REVOLVE\SAMPLEAPP\COPYLIB\copy2\game.

GAME.cpy will be found using the search path c:\source\Revolve\sampleapp\copylib; game is found in C:\source\REVOLVE\SAMPLEAPP\COPYLIB\copy2.

This is what it looks like in Project Manager:

GAME.CPY    copybook    Loaded ..\REVOLVE\SAMPLEAPP\COPYLIB\    04/26/01    01:34:00 AM
GAME.CPY    copybook    Loaded ..\SAMPLEAPP\COPYLIB\COPY2\      09/23/08    08:11:19 AM

Incident Number: 2220769

Old KB# 14254


Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Version history
Revision #:
1 of 1
Last update:
‎2013-02-15 18:11
Updated by:
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.