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 |
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
I have sequential file recl 1000 i want to add another 15 bytes to it. The record length should not change..How?
what are the paramater we cannot use in procedure?how many instream we can write in single jcl?can we call instream to catalog and ctalog to instream?
COBOL program to read the string ' BOMBAY' in reverse order as 'YABMOB'
01 MOVE 10 TO N 05 PERFOM PARA1 TIMES STOP RUN WAT WILL HAPPEN?? WILL IT RUN INFINITELY OR AN ERROR WIL BE THER BECAUSE NO OF TIMES IS NOT GIVEN??
What will happen if you code GO BACK instead of STOP RUN in a stand alone COBOL program ?
8 Answers Arigo Infotech, IBM,
comp-3 field occupy?
what are the error codes in cobol, db2, cics, vsam , and jcl
Re: 01 NAME1 PIC X(13) VALUE "COBOL PROGRAMMING". 01 NAME2 PIC X(13). now I want to display the value of NAME1 in reverse order i.e value should be displayed as "GNIMMARGORP LOBOC" HOW can I do that ??? please let me know if any one knows it.
What is the difference between goback, stop run and exit program in cobol?
How to Write the RESTART Logic Using COBOL?
4 Answers GalaxE, L&T, Syntel, TCS,
if you code move high-values to variable,can you move it into numeric variable or alphanumeric variable?