01 a pic x(6) value is abcdef
01 b pic x(3)
move a to b wht will be the value in b ?
Answer Posted / ravi
abc
| Is This Answer Correct ? | 21 Yes | 0 No |
Post New Answer View All Answers
How do you define a variable of comp-1 and comp-2?
What are the pertinent COBOL commands?
Write the code to count the sum of n natural numbers.
How do you reference the following file formats from cobol programs?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
Define cobol?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?
example for sub strings ? and refernce modifications whit output pls
Explain what you understand by passing by value.
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
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 ......
Write the code implementing the perform … varying.
What are the cobol coding sheets?
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?