What is the difference between PIC 9.99 and PIC9v99?
Answer / Siddhartha
PIC 9.99 denotes a field with nine digits that can hold up to 9 numeric characters, while PIC9v99 represents a field of nine characters where leading zeros are preserved.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the purpose of Identification Division?
what is the difference between start and startbr?
How is sign stored in a comp-3 field?
have in 100 records in a flat file i want to move records like 1,3,5,7,9,11,.. to Output file1 and 2,4,6,8,10,12,14 .. records moved to Output file2..Pls Provide real time answer..
Name the divisions in a COBOL program ?
How do you get the data to code the BMS macro?
)what is retrieve?
What are the different types of condition in cobol and write their forms.
created cluster using IDCAMS ..that is empty ..when i write a program for read using Input ..wil it open the cluster or gives any error?
what if any ,is the syntex error in the following piece of code 01 B PIC A(7) 02 C PIC 9(4) ........ IF(B NUMERIC) ADD 10 TO C a.the condition in the if statement is wrong b.noting is wrong c.because C is initialised.ADD 10 TO C is wrong d.both B and C shoud have same size.
The below is the declaration for a variable ws 01 ws pic 9(3). if you want to insert space how will you do that. in which level u should do it
I HAVE FOLLOWING DECLARATION. 02. A PIC X(10) VALUE 'XXXXXXXXXX'. 02. B REDEFINES A. 05. C PIC X(3). 05. D PIC X(3). 05. E PIC 9(3). IN MY PROG, I HAVE MOVE 1 TO E. DISPLAY A. WHAT WILL BE DISPLAYED AS A RESULT OF THIS? PLEASE EXPLAIN THE ANSWER. THANKS.