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 |
A cobol program to read a file , match it with other if. If match occurs then write it to an output file. If no match then no need to write it.Error log created by program to track any error.
What is level 66 used for ?
What are the different rules for performing sort operation?
i want to learn mainframes. i completed MCA ,whats the future of mainframes
When is inspect verb is used in cobol?
Hi , I am posting some questons which are asked at interview. These may help u for ur interview... what is static and dynamic call?
WORKING-STORAGE SECTION. 01 A PIC X(3) VALUE 'ABC' 01 B PIC 9(3). PROCEDURE DIVISION. MOVE A TO B. STOP RUN. OUTPUT IS: AB3 WHY AND HOW THIS IS HAPPENING.
can we use full outer join with cursors declared in cobol program?
what is the difference between occurs and occurs depending on? i dont think so there is the difference in storage..then why we should use occurs depending on?
Explain how you can characterize tables in cobol?
I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......
what will happen if pass values more than 100 using PARM parameter?