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


Please Help Members By Posting Answers For Below Questions

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 ......

10610


Explain what you understand by passing by value.

700


What is the difference between structured cobol programming and object alternativelyiented cobol?

755


) How do u handle errors in BMS macro?

1428


Why is it necessary that file needs to be opened in I-O mode for REWRITE?

748






Name some of the examples of COBOl 11?

2686


For rewrite, why is it mandatory that file needs to be opened?

623


Which mode is used to operate the sequential file?

669


What are the cobol coding sheets?

664


How do we get current date from system with century in COBOL?

805


How to print 10 to 1 if the input have only 10 digit number?

811


Define static linking and dynamic linking.

669


What is the problem of ordered sequential files access?

702


which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad

1024


Name the sections present in data division.

701