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 the purpose of linkage section?

10 Answers  


can we use go to statement inline-perform?

7 Answers   IBM,


how many divisions are there in cobol

3 Answers   ADP,


Which Search verb is equivalent to PERFORM…VARYING?

0 Answers  


In my table having 3000 Records. How can I delete the 500th row? (we don't know what is data inside the table)

3 Answers   Keane India Ltd,






in cobol perform stmt whether it first checks the condition or not

9 Answers  


I have a field with data type X(10). I want to perform arithmetic operation on this field? I tried doing it by moving the value into a numeric field. but it didn't work out. I am getting a S0C7 abend. Pls let me know if there is any way of getting this done?

2 Answers   ADP,


What are ISOLATION LEVELS? Where do we need to specify them in compiling JCL (Exactly which statement and what is syntax for it)?

2 Answers   T systems,


How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?

0 Answers  


The maximum number of dimensions that an array can have in COBOL-85 is ?

11 Answers  


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

0 Answers  


What is the default value(s) for an initialize? What keyword will allow for an override of the default?

0 Answers  


Categories