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
How to use the same COBOL program in Batch and CICS on lines? explain with an example
What is rmode(24)
How you can read the file from bottom?
Have you used comp and comp-3 in your project? And how?
How do define dynamic array 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 are the different rules of SORT operation?
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?
For rewrite, why is it mandatory that file needs to be opened?
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.
What is the difference between binary search and sequential search?
What kind of error is trapped by on size error option?
What are the different data types in cobol?
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
i want a program using by if, evaluate , string, unstring, perform, occurs?