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 |
whats the difference between search and search all?
I have a table with 3 dimensions like this : 01 ws-table 04 ws-page occurs 3 08 ws-column occurs 2. 12 ws-record occurs 20 pic x(40). How to code with PERFORM varying with 3 dimension...I forgot..
What is the different between index and subscript?
when SE37 SB37 and sd37 occurs how to increase the volume , primary quantity and secondary quantity?
I want to remove a duplicates form a given input field using cobol program. please Any one help me out to solve this ... Thanks in Advance.
1)what is the maximum limit for occurs? Eg: 01 A PIC X(10) OCCURS N TIME. What is the max value for N?
What is the difference between comp and comp-3 usage? Explain other COBOL usage?s.
How do you compile cobol program..?
I have two files , file1 is input file it contains 10,20,30,....,records but i want to display the records in file 2 as reverse order .how can we do by using jcl& cobol(dont use array) please any one can tell me the answer
Read a flat file and write last but one (I have n records in a file I have to write n-1th) record in another flat file. Could you please provide me the code in COBOL?
select TURE Statement(s) aboUt eject statemenet in cobol? a)The eject statememnt must be the only statement on the line b.It causes the program to edit abnormally c. eject statement can be written in either area A or area B d. specifies that the next source statement is to be printed at Top of the next page e.The EJECTstatement has no effect on the compilation of the source program itself
how to display date in reverse order if the pic clause of the is numeric suppose date is 09032010 ==> need to print in 20100309 (pic clause is numeric)