01 b pic +9(4)
How many bytes it will take for storage???
Answers were Sorted based on User's Feedback
Answer / 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 |
What is the difference between COMP & COMP-3 ?
how to know that the file has 300 records how to acess it?
What is a SSRANGE and NOSSRANGE?
How to recover a deleted source physical file from library?
How do u know what version of cobol u are using?
What do you understand by passing by reference and passing by content?
Can we call a CICS program from a batch program or viceversa?If so, how?
consider the following two statements MOVE 10 TO N PERFORM PARA-X N TIMES STOP RUN PARA-X MOVE 5 TO N how many times PARA-X willbe exicuted? a.10 b.5 c.infinate d.execution error
COMP?
I have sequential file recl 1000 i want to add another 15 bytes to it. The record length should not change..How?
Syntax for JCLLIB & JOBLIB???
study the following code 01 A1 05 B PIC 99 05 C PIC X(4) 01 A2 05 B PIC 99V99 05 C PIC A(4) pick out the valid statement from the following a.A1 and A2 can not have sub-ordinates b.A1 and A2 can have the same sub-ordinates but must have same PIC clause c.there is nothing wrong d.A1 and A2 can have same sub-ordinates provided they are not at 01 level