[Migrated content. Thread originally posted on 24 February 2011]
Hello, I'm having an issue when I try to build my project. My initial program has a copybook statement as follows: COPY "LS/POPUP". My copybooks are stored under a folder called COPY with subfolders called DS, LS, FC, FD, WS, etc.. The compiler is trying to use the wrong copybook. It is locating WS/POPUP instead of LS/POPUP. When I check the dependencies under the program's COBOL File Properties, it shows COPY\\WS\\POPUP.cbl. How can I alter the dependency to point to the correct copybook, or do I have to change my naming conventions for my copybooks?Page 1 / 1
[Migrated content. Thread originally posted on 24 February 2011]
Hello, I'm having an issue when I try to build my project. My initial program has a copybook statement as follows: COPY "LS/POPUP". My copybooks are stored under a folder called COPY with subfolders called DS, LS, FC, FD, WS, etc.. The compiler is trying to use the wrong copybook. It is locating WS/POPUP instead of LS/POPUP. When I check the dependencies under the program's COBOL File Properties, it shows COPY\\WS\\POPUP.cbl. How can I alter the dependency to point to the correct copybook, or do I have to change my naming conventions for my copybooks?Modify copybook to point to full path name:
COPY "C:\\Copy\\LS\\POPUP".
or to remove the folder name from the copy and add a copybook Path to the Copybook Path tab of the Properties page:
COPY "POPUP".
with Copybook Path set to:
C:\\Copy\\LS\\
[Migrated content. Thread originally posted on 24 February 2011]
Hello, I'm having an issue when I try to build my project. My initial program has a copybook statement as follows: COPY "LS/POPUP". My copybooks are stored under a folder called COPY with subfolders called DS, LS, FC, FD, WS, etc.. The compiler is trying to use the wrong copybook. It is locating WS/POPUP instead of LS/POPUP. When I check the dependencies under the program's COBOL File Properties, it shows COPY\\WS\\POPUP.cbl. How can I alter the dependency to point to the correct copybook, or do I have to change my naming conventions for my copybooks?Any other suggestions?
[Migrated content. Thread originally posted on 24 February 2011]
Hello, I'm having an issue when I try to build my project. My initial program has a copybook statement as follows: COPY "LS/POPUP". My copybooks are stored under a folder called COPY with subfolders called DS, LS, FC, FD, WS, etc.. The compiler is trying to use the wrong copybook. It is locating WS/POPUP instead of LS/POPUP. When I check the dependencies under the program's COBOL File Properties, it shows COPY\\WS\\POPUP.cbl. How can I alter the dependency to point to the correct copybook, or do I have to change my naming conventions for my copybooks?Any other suggestions?
[Migrated content. Thread originally posted on 24 February 2011]
Hello, I'm having an issue when I try to build my project. My initial program has a copybook statement as follows: COPY "LS/POPUP". My copybooks are stored under a folder called COPY with subfolders called DS, LS, FC, FD, WS, etc.. The compiler is trying to use the wrong copybook. It is locating WS/POPUP instead of LS/POPUP. When I check the dependencies under the program's COBOL File Properties, it shows COPY\\WS\\POPUP.cbl. How can I alter the dependency to point to the correct copybook, or do I have to change my naming conventions for my copybooks?Any other suggestions?
[Migrated content. Thread originally posted on 24 February 2011]
Hello, I'm having an issue when I try to build my project. My initial program has a copybook statement as follows: COPY "LS/POPUP". My copybooks are stored under a folder called COPY with subfolders called DS, LS, FC, FD, WS, etc.. The compiler is trying to use the wrong copybook. It is locating WS/POPUP instead of LS/POPUP. When I check the dependencies under the program's COBOL File Properties, it shows COPY\\WS\\POPUP.cbl. How can I alter the dependency to point to the correct copybook, or do I have to change my naming conventions for my copybooks?Thanks for your patience!
[Migrated content. Thread originally posted on 24 February 2011]
Hello, I'm having an issue when I try to build my project. My initial program has a copybook statement as follows: COPY "LS/POPUP". My copybooks are stored under a folder called COPY with subfolders called DS, LS, FC, FD, WS, etc.. The compiler is trying to use the wrong copybook. It is locating WS/POPUP instead of LS/POPUP. When I check the dependencies under the program's COBOL File Properties, it shows COPY\\WS\\POPUP.cbl. How can I alter the dependency to point to the correct copybook, or do I have to change my naming conventions for my copybooks?Specify copybooks location relative to the COBOL source:
copy "Copylib/RM/Copy01".
copy "../RMCopy/Copylib/RM/Copy01".
copy Copy01 of "../RMCopy/Copylib/RM".
copy Copy01 of ../RMCopy/Copylib/RM.
Under Windows SUBSTitute a drive letter to your base copybook directory
(for example subst Z: Y:\\...\\RMS6111\\COM)
copy "Z:/RM/Copy01".
Using "/" or "\\" will be accepted.
Sign up
Already have an account? Login
Welcome to the Rocket Forum!
Please log in or register:
Employee Login | Registration Member Login | RegistrationEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.