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 / pradip
1.
000123
2.
abc---
Well arthi, here - stands for blank space, correct me if am
wrong
Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
how can i see junk values in dclgen or in hostvariable of comp ?
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
Why occurs cannot be used in 01 level in COBOL?
) what is the difference between AID and HANDLE AID?
What is the usage of comp fields in cobol?
i want a program using by if, evaluate , string, unstring, perform, occurs?
explain sorting techniques in cobol program?
how do you reference the variable unblock file formats from cobol programs
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
What is the difference between goback, stop run and exit program in cobol?
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)?
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
What is the local-storage section?