can we declare s9(9)v9(9) in cobol ? if yes how many bytes
it will occupy ?(urgent plz answer it)
Answer Posted / vikash
we can declare.It will take total bytes based on formula=(n/2+1).
Thus, 9+9=18
Here n=18,
Thus number of bytes=18/2+1=10 bytes
Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
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 ......
Explain what you understand by passing by value.
What is the difference between structured cobol programming and object alternativelyiented cobol?
) How do u handle errors in BMS macro?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
Name some of the examples of COBOl 11?
For rewrite, why is it mandatory that file needs to be opened?
Which mode is used to operate the sequential file?
What are the cobol coding sheets?
How do we get current date from system with century in COBOL?
How to print 10 to 1 if the input have only 10 digit number?
Define static linking and dynamic linking.
What is the problem of ordered sequential files access?
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
Name the sections present in data division.