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 |
can we declare s9(9)v9(9) in cobol ? if yes how many bytes it will occupy ?(urgent plz answer it)
what is the meaning of pic 9(09)v99-
consider the following piece of code 01 GROUP-ITEM 05 AMOUNT-1 PIC 99V9 USAGE COMP VALUE 50 05 AMOUNT-2 PIC 9(4)V99 USAGE COMP MOVE ZERO TO GROUP-ITEM ADD 50 TO AMOUNT-1 what will be the content of AMOUNT-1? a.50 b.100 c.0 d.unpredictable
How do get the result of your program directly on your pc?
what is dynamic array in cobol? what is the difference b/w array and table in cobol?
How do you set a return code to the JCL from a COBOL program?
Explain the configuration section of a cobol program with examples of syntax.
i want to use only first 100 records from a file.plz tell me how to write JCL for this(for read,copy,write operations).plz give me details of all posible JCL utilities?
I have two questions here. 1. How to read a flat file in reverse order? 2. How to read a VSAM KSDS file in reverse order? In both the cases we donot know the total number of records.
can u plz expain me how to declare dynamic array? what is the meaning of depending on clause in dynamic array?
I want to declare a field with data type Double in my COBOL program. how shall i do that ?
With in these three which one is the default one Call Reference, Call By Value, Call By Content.-Which one is default?