can u give result for the fallowing example...
05 a pic 9(2)
05 b redifines a pic x(2).
move 'xy' to b.
display a,b.

Answer Posted / lakshmisudha

it display answer is xyxy
first xy for a and second xy for b.
only b will use same memory area it doesn't consider type of
datatype

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the local-storage section?

693


what is amode(24), amode(31), rmode(24) and rmode(any)?

707


I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.

1126


What are declaratives and what are their uses in cobol?

718


What is the difference between a binary search and a sequential search what are the pertinent cobol?

745






Which mode is used to operate the sequential file?

681


How are the next sentence and continue different from each other?

775


Mention the guidelines to write a structured cobol program?

629


can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech

1966


What is the utilization of copybook in cobol? Could we utilize a similar copybook?

729


how to access the file from prodution from changeman tool and to submit a file to production

6697


How to print 10 to 1 if the input have only 10 digit number?

824


What is rmode(24)

688


Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning

692


what are decleratives in cobol?

1831