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 / kiran
Result
000123
abc
no "-" sign will come bcoze we didnt give like this
01 a pic s9(3) value is 123
01 b pic s9(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
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
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)?
Can we redefine the field of x(200) to less than 200?
what is difference between cobol and cobol/400
What are the different open modes available in cobol?
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
How you can read the file from bottom?
How to print 10 to 1 if the input have only 10 digit number?
How to know whether the module is dynamical or statistical?
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
What are the different data types in cobol?
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
What is the default value(s) for an initialize and what keyword allows for an override of the default?
What is the difference between structured cobol programming and object alternativelyiented cobol programming?