can we declare s9(9)v9(9) in cobol ? if yes how many bytes
it will occupy ?(urgent plz answer it)

Answer Posted / ramesh.p

yes, we can declare it.it is a display usage.it will occupy one byte for each character so,there are 18 characters there (9+9) .so it will occupy 18 bytes...

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to use the same COBOL program in Batch and CICS on lines? explain with an example

1907


What is rmode(24)

674


How you can read the file from bottom?

652


Have you used comp and comp-3 in your project? And how?

2003


How do define dynamic array in cobol.

663






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

10543


What are the different rules of SORT operation?

689


here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?

6795


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

616


There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.

920


What is the difference between binary search and sequential search?

634


What kind of error is trapped by on size error option?

733


What are the different data types in cobol?

781


Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

812


i want a program using by if, evaluate , string, unstring, perform, occurs?

4037