What is the point of the REPLACING option of a copy
statement?
Answers were Sorted based on User's Feedback
Answer / nk
Say you have a copybook for a certain record layout. You
want to use the copybook once for an input record and a
second time for an output record. By using replace, you
can use the same copybook twice in the same program, each
with a unique name.
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / guest
Replacing allows for the same copy to be used more than
once in the same code by changing the replace value.
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / pavan
can any one give exact syntax with an example...please...
| Is This Answer Correct ? | 1 Yes | 0 No |
i have two file, each file having : file1 is having 2 fields field1 field2 file2 is having 3 fields field1 field2 field3 my req is to make it one file like: field1 field2 field1 field2 field3 if anyone know please send me syntax, i tried this with DFSORT but could not succeed.
i have mainprogram and subgram...if i compile mainprogram without stop run..what will u get in compilation time?
what happens when a copybook variables are declared using include statement ?
what is the difference between Plan & package?
How do define dynamic array in cobol.
In CICS/VSAM every file that is accessed should be defined in FCT. we have CICS READ, WRITE, BROWSE commands for VSAM files. How does it work with DB2 tables. It know it has to do with the plan. Please expain with examples.
How many variables can be declared in w-s section.?
I've one string with spaces ( I N D I A ). My question is I want remove the spaces & combine in to single string without space (INDIA).How we can write the cobol program & wich options we need to use. Please let me know.
I am sending values a and b with pic x(10) and pic x(10) by using call statement. In linkage section, I am receiving values with pic x(10) and pic x(11). Will my program fail? will it be compile error or run time abend?
What is EIBCALEN? Why it is used?
What guidelines should be followed to write a structured Cobol program?
77 a pic x(4) value '1234' -----> instead of this 'abcd' 77 b pic 9(4) value zeros. move a to b what is the answers for both cases? IS it possible? Give me elementary move rules briefly......