what will be the output when
a)pic 9(6)value 000178 is moved to pic ***,***.
b)pic 9(5) value 57397 is moved to pic $$,$$9.

Answers were Sorted based on User's Feedback



what will be the output when a)pic 9(6)value 000178 is moved to pic ***,***. b)pic 9(5) value 5739..

Answer / vinay sonar

a)***,178
b)$7,379

Is This Answer Correct ?    5 Yes 0 No

what will be the output when a)pic 9(6)value 000178 is moved to pic ***,***. b)pic 9(5) value 5739..

Answer / rx

A. ****178
B. 57397

Is This Answer Correct ?    3 Yes 1 No

what will be the output when a)pic 9(6)value 000178 is moved to pic ***,***. b)pic 9(5) value 5739..

Answer / rx

Agree Jaganmohanreddy's answer!
B answer is 57,397

I missed the ','

Is This Answer Correct ?    1 Yes 0 No

what will be the output when a)pic 9(6)value 000178 is moved to pic ***,***. b)pic 9(5) value 5739..

Answer / jaganmohanreddy

for B answer is 57,397 just check it once

Is This Answer Correct ?    0 Yes 0 No

what will be the output when a)pic 9(6)value 000178 is moved to pic ***,***. b)pic 9(5) value 5739..

Answer / asa

A. ****178
B. BBB$7

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More COBOL Interview Questions

What is Pic 9v99 Indicates in COBOL?

0 Answers   SwanSoft Technologies,


How do you do in-line PERFORM?

4 Answers   Accenture,


What is mean by maxcc

7 Answers   Syntel,


CAN ANY ONE HELP WHAT IS QTP? why it is nessery AND WEN IT IS USED?

1 Answers  


There is a production file which has millions of records in it.The program that uses it ends up with an SOC7 abend.It is sure that the abend is due to some invalid data in the file.Is there any way to debugg the SOC7 abend with out giving displays? I need the record which is cause for the abend.

8 Answers   Danske, iGate,






How can we know that cobol program is using report file or simple file....?

4 Answers  


what is redefines? where it can be effectively use for the purpose of memory utilization? give an example?

4 Answers   IBM,


77 a pic x(4) value '1234' -----> instead of this 'abcd' 77 b pic 9(4) value zeros. move a to b what is the answers for both cases? IS it possible? Give me elementary move rules briefly......

8 Answers  


How many sections are there in data division in COBOL?

0 Answers   B-Ways TecnoSoft,


What R 2 of the common forms of the EVALUATE STATEMENT ?

1 Answers   Cap Gemini,


how to run sub programs using static and dynamic call ...

3 Answers   TCS,


What is ASKTIME, SUSPEND

1 Answers   IBM,


Categories