01 a pic 9(6) value is 123456
01 b pic 9(3)
move a to b

wht will be the value ?

Answers were Sorted based on User's Feedback



01 a pic 9(6) value is 123456 01 b pic 9(3) move a to b wht will be the value ? ..

Answer / ravi

456

Is This Answer Correct ?    27 Yes 0 No

01 a pic 9(6) value is 123456 01 b pic 9(3) move a to b wht will be the value ? ..

Answer / kiran

456

Is This Answer Correct ?    6 Yes 0 No

01 a pic 9(6) value is 123456 01 b pic 9(3) move a to b wht will be the value ? ..

Answer / nilesh

456 would be the value in b.

Is This Answer Correct ?    3 Yes 0 No

01 a pic 9(6) value is 123456 01 b pic 9(3) move a to b wht will be the value ? ..

Answer / itha

a will be 123456
b will be 456

Is This Answer Correct ?    2 Yes 0 No

01 a pic 9(6) value is 123456 01 b pic 9(3) move a to b wht will be the value ? ..

Answer / pradip

ravi is right

Is This Answer Correct ?    2 Yes 1 No

01 a pic 9(6) value is 123456 01 b pic 9(3) move a to b wht will be the value ? ..

Answer / shweta

456 would be in B

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More COBOL Interview Questions

How can you declare the file ?

1 Answers   Wipro,


Suppose i have a Cobol field of 10 byte. it contains a decimal sign.How to know where is the point location?

1 Answers  


Hi................... I have records like this aaaa cccc bbbb And i want output like this bbbb cccc aaaa How can it possible ?. Note:Please make sure records are in unsorted order. somebody plzzz help me.

1 Answers  


How to concatenation one or more string?

4 Answers   Temenos,


what is the default print format? in cobol

3 Answers   HSBC,






i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com

0 Answers  


What does the INITIALIZE verb do?

1 Answers  


If you are current on the owner of a set, what is the difference between obtain next and obtain first?

0 Answers  


01 A pic 9(100) find record length of it

6 Answers   TCS,


in how many mode we can open a file ?

4 Answers  


Following questions were asked in Capegemini on 8th sep,2012 mainframe test 1.)Condition code for dul recors in VSAM- 2.) Is NULL or =NULL in Select statement 3.)max size of CI 4.)What happens after CI is full 5.)Ques on COND parameter 6.)which among following can not be rolled back a)delete table b.)droptable c)Update d.)insert 7.)groupby and orderby sql querries 8.)Max extents in VSAM file 9.)quesn on DPRTY=(1,10) 10.)range of condition codes in COBOL 11.)occurs clase can not be used at which level? 12.)delimiter in jcl 13.)sort card for file in PGM=SORT 14.)PIC(6) value 120056 possible? 15)question on BLKSIZE Is (20,20) and (20,10) possible? 16.)number of bytes in RDF 17.)Can we use index in WS-section or LK-section 18.)Verify command in IDCAMS used for? 19.)question on Alternate Index 20.)Return code of file attribute mismatch 21.)In which format COBOL variables stored? 22.)what is Alternate of HANDLE? 23.)can SUM,AVG,MIN,ROUND used in numeric and char variable data types? 24.)What is the datatype of FILE STATUS codes in WS-section?

2 Answers   Cap Gemini,


how to submit a jcl by cobol program. clear me with an example.

3 Answers   HCL,


Categories