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 / mainframe user

why do you want to do this? you know it is not compatible.
there is no point in doing analysis for this stuff.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how do you reference the variable block file formats from cobol programs

675


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

848


Can we redefine the field of x(200) to less than 200?

813


how to move the records from file to array table. give with code example

2212


i want a program using by if, evaluate , string, unstring, perform, occurs?

4037






Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?

809


What is amode(24)?

678


how do you reference the printer file formats from cobol programs

648


explain sorting techniques in cobol program?

684


How to remove 2 duplicate records and copy only one using job control language?

731


What are the different types of condition in cobol and write their forms.

650


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?

1796


Write a program that uses move corresponding.

667


What are the different rules to perform a Search?

613


how do you define single dimensional array and multidimensional array in your cobol?

665