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 |
Differentiate COBOL and COBOL-II?
What is the difference between index and subscript?
Write a program to concert an Indexed file into Sequential file?
I try to use some column names in my cobol progorm but these column not in db2 table ..when do i get error ..while bind time or runtime?
What are different data types in cobol?
how the control comes back from subprogram to mainprogram
i want to store 20 digits . h will u do it in cobol ?
How to delete the records of a dataset through cobol programme?We should not use jcl utilitities like IDCAMS.
What are the cobol coding sheets?
What will happen if a variable is declared as below.. Explain with an example? Working storage section:- 01 WS-VARX PIC X(10) VALUE 'ABCDEFGHIJ'. 01 WS-VARN REDEFINES WS-VARX PIC 9(5) VALUE '12345'. What will happen I want Display WS-VARX and WS-VARN?
wht is packed decimal in cobol
What are the divisions in a cobol program?