01 b pic +9(4)
How many bytes it will take for storage???
Answer Posted / guest
5 bytes.
As usage caluse is not mentioned, default usage clause
which is "Display" will be used for b. Display uses 1 byte
for every character data. So 1 byte of sign(+) and other 4
bytes of pic 9(4). Total 5 bytes will be used.
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
Discuss about changing dataset name in proc.
what is amode(24), amode(31), rmode(24) and rmode(any)?
What is the difference between PIC 9.99 and 9v99 in COBOL?
I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.
What is link edit in cobol?
how can i see junk values in dclgen or in hostvariable of comp ?
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
what are decleratives in cobol?
Which Search verb is equivalent to PERFORM…VARYING?
What are the different open modes available in cobol?
Write a program that uses move corresponding.
What rules are to be followed while using the corresponding options?
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.