01 a pic x(4) value 'abcd'
01 b pic 9(3)
can we move from a to b.if possible what would be stored in
b.

Answer Posted / sumanth toom

Ans 2 is correct and to add further to that..when the
program tries to use this variable 'b', then it will give
S0C7

Is This Answer Correct ?    8 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Have you used comp and comp-3 in your project? And how?

2008


Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

821


Write a program that uses move corresponding.

673


What are the different open modes available in cobol?

718


explain sorting techniques in cobol program?

686






how we sort two input files based on a common column and giving one o/p file please send me the coding logic?

1651


How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?

1935


if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need

855


HOw can I get the negative sign while deduct high value from low value

1788


How to traceback if I am getting SOC7 or SOC4 abend? List down the steps

796


How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)

2723


what is the difference between COBOL2 AND COBOL390?

2453


Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?

631


What is the difference between PIC 9.99 and PIC9v99?

781


How do you reference the fixed block file formats from cobol programs

703