01 a pic 9(3) value is 123
01 b pic 9(6)
move a to b
wht will be the value ? and
01 a pic x(6) value is abc
01 b pic x(3)
move a to b
wht will be the value ?
Answer Posted / praveen
Arati was correct. if you move x(6) varibale to x(3) there
will not be any blank spaces.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is cobol?
How do you get the data to code the BMS macro?
What rules are followed by the search verb.
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
Why occurs cannot be used in 01 level in COBOL?
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
what is difference between cobol and cobol/400
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
) what is the difference between AID and HANDLE AID?
What are the different rules for performing sort operation?
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
State the various causes of s0c1, s0c5 and s0c7.
What is amode(31)
Describe the cobol database components?