01 a pic s9(5) occupies how many bytes ?
Answers were Sorted based on User's Feedback
Answer / nag(igate)
hello to all guys,
display is default
so, it will take 5 bytes
| Is This Answer Correct ? | 11 Yes | 7 No |
Answer / kishore sangu
Sorry For the Last Anwer Of Kishore Sangu
I Reffered books for this Quetion
The Answer is 4 Bytes
S9(1) to S9(4) - 2 bytes
S9(5) to S9(9) - 4 bytes
S9(10) to S9(18)- 8 bytes
| Is This Answer Correct ? | 7 Yes | 10 No |
Answer / kishore sangu
S9(5) occupies 3 bytes of memory.
Because This Goes To Comp3 (5+1)/2=3
Comp1 And Comp2 Don't have the PIC (Picture) Clause.
| Is This Answer Correct ? | 0 Yes | 23 No |
What is the difference between COMP & COMP-3 ?
01 WS-NAME PIC X(10) OCCURES 2. by this we can get ws-name 2 times. My qustion is how can we access the second name
How do you reference the following file formats from cobol programs?
give the examples of strings in cobol
i want to store 20 digits . h will u do it in cobol ?
how many divisions are there in cobol
IDENTIFICATION DIVISION. PROGRAM-ID. MOVEPGM. DATA DIVISION. WORKING-STORAGE SECTION. 01 WS-I PIC 9(2). PROCEDURE DIVISION. A1000-MAIN-PARA. PERFORM PARA-X WITH TEST BEFORE UNTIL WS-I= 5 STOP RUN. PARA-X. DISPLAY "BEST2". I m getting error s722,while executing the program, seems getting in loop, can anybody tell me why
what is linkcard in cobol?
Describe the difference between subscripting and indexing ?
In COBOL programming, what is PERFORM? What is VARYING?
What is a SSRANGE and NOSSRANGE?
The order of precedence of arithmetic operators in an expression can be overridden with the use of (a) [] (b) () (c) {} (d) Any of the above