Why do we use COMP-3 variables for computation, when we know that they are non displayable fields and require additional MOVE to numeric field before we populate it in output Reports?
Answer / raj
COMP-3 fields take less memory allocation and effective in computation.
| Is This Answer Correct ? | 2 Yes | 0 No |
write a program to eliminate duplicate records in a input file and send them to output file.
What is difference between COBOL and VS COBOL II?.
how can i see junk values in dclgen or in hostvariable of comp ?
In a COBOL II PERFORM statement, when is the conditional tested, before or after the perform execution?
Study the DATA DIVISION entries and the three PROCEDURE DIVISION entries given below: 01 END-OF-FILE-SWITCH PIC XXX. 88 NO-MORE-RECS VALUE "YES". 88 MORE-RECS VALUE "NO". (i) READ SAMPLE-FILE AT END MOVE "YES" TO NO-MORE-RECS. (ii) IF NO-MORE-RECS = "YES" GO TO LAST-PARA. (iii) IF NO-MORE-RECS GO TO LAST-PARA. Which are wrong? (a) (i) and (ii) (b) (ii) and (iii) (c) (i) and (iii) (d) all
In file1 have 80 records are like d1,d2,d3......D80. File2 have 1000records are like a1d1,a1d2,a3d3.....Etc. I want matching records in file3 ? Plse tell me the matching logic???I want answer only in cobol ?Not using any tool or jcl?
s9(18) comp-3:: What is the size of memory it takes internally?
1) can we display the index?
Why we should use cursor ?
sample code for read a 2nd record from last in flatfile how can do?
Can we use goto statement in inline_perform ?
Can we change the password using ALTER? anyone tried and changed?