How would the number +1234 be stored if a PIC clause of
PICTUREs9(4) comp-3 were used?
Answer Posted / rama krishna
It will be stored as follows:
01 23 4C
This is only internal storage representation. But if you
display the variable then you will see 1234 not even '+'.
| Is This Answer Correct ? | 13 Yes | 1 No |
Post New Answer View All Answers
what is s000 u4087 error? please give the all error codes in cobol,jcl.
Are you comfortable in cobol or jcl?
Can we change the password using ALTER? anyone tried and changed?
Describe the cobol database components?
How do you reference the following file formats from cobol programs?
how do you reference the variable block file formats from cobol programs
Why would you use find and get rather than to obtain?
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
Write the code implementing the perform … varying.
What rules are followed by the search verb.
What are the pertinent COBOL commands?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
Name the sections present in data division.
i need a small 3d program using inline and outline.