Write the syntax of a two dimensional array?
Answer Posted / jagan
WORKING-STORAGE SECTION.
01 M-GROUP.
02 M OCCURS 6 TIMES.
03 W PIC X(4) OCCURS 4 TIMES.
| Is This Answer Correct ? | 9 Yes | 6 No |
Post New Answer View All Answers
example for sub strings ? and refernce modifications whit output pls
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 is length is cobol?
What is a scope terminator give example?
Write a program that uses move corresponding.
What are the various section in data division and briefly explain them.
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?
Whats the difference between search & search ALL?
Give some examples of command terminators?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?
For rewrite, why is it mandatory that file needs to be opened?
How many bytes S(8) comp field occupy and its maximum value?
What is inspect in cobol ?