77 a pic x(4) value '1234' -----> instead of this 'abcd'
77 b pic 9(4) value zeros.
move a to b
what is the answers for both cases?
IS it possible? Give me elementary move rules briefly......
Answer Posted / vinodquestion
Hi Mr. Amar. Thank you for your answer. Then wat about 'abcd'..
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is report-item in COBOL?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
Explain about different table spaces.
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?
What is a report item?
What is the difference between perform … with test after and perform … with test before?
How are the next sentence and continue different from each other?
what is s000 u4087 error? please give the all error codes in cobol,jcl.
What is comp-1 and comp-2?
Write a program that uses move corresponding.
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
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 the difference between Global and External Variables?
What is inspect in cobol ?
What is the difference between Call and a Link?