Prepare for your Next Interview
|
Welcome to the Geeks Talk forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
This is a discussion on Rules for COPY statement within the MainFrame forums, part of the Software Development category; Can someone specify the rules one should follow while using COPY statement in COBOL program. I have just started my program in this and if this is provided I would ...
|
|||||||
|
|||
|
Can someone specify the rules one should follow while using COPY statement in COBOL program. I have just started my program in this and if this is provided I would have it as a cross reference while coding.
|
| The Following User Says Thank You to norman For This Useful Post: | ||
| Sponsored Links |
|
|||
|
Re: Rules for COPY statement
Some of the rules for COPY statement are given below:
1. A COPY statement can occur anywhere a character-string or a separator can occur except that a COPY statement must not occur within another COPY statement. 2. If the word COPY appears in a comment-entry or in the place where a comment entry can appear, it is considered part of the comment-entry. 3. The general syntax is COPY {Textname} [{OF/IN} {Library name}] [REPLACING {Textword1 BY Textword2}...] In this when TextWord1 is Pseudo Text it must not be null, nor can it consist solely of either the character space(s) or comment lines. 4. Also when TextWord2 is Pseudo Text it can be null. Null Pseudo Text is indicated by four equal signs (e.g. ====) |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| C/C++ Programming : Limitations of switch statement | Lokesh M | C and C++ | 1 | 07-17-2007 03:38 AM |
| Which RDBMS follows all CODD rules | fred | Oracle | 2 | 02-09-2007 06:26 AM |
| Deep copy | janelyn | ASP.NET | 1 | 08-03-2006 02:18 PM |
| Someone provide key for locking rules | sripri | Oracle | 0 | 07-17-2006 05:23 PM |
| GeekInterview Site and Forum rules | admin | Site News & Announcements | 0 | 05-21-2006 10:53 AM |