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

Give some examples of command terminators?

0 Answers  


How to declare if emp-name = AAAAA""BBB in working-storage section. After display emp-name should print like AAAAA""BB

6 Answers   Polaris,


A LESS 1200 IF B GREATER 25 MOVE 47 TOC ELSE MOVE 57 TO C IF A GREATER 249 MOVE 67 TO C ELSE NEXT SENTENCE ELSE IF B LESS 67 MOVE 27 TO C What will be the value of C, when A is 137 and b is 25

3 Answers   TCS,


How many divisions we have in Cobol ?

4 Answers   Wipro,


if a>b continue display x. dispaly y. end-if display 1 display 2. display 3. what should be my output ?

3 Answers  






Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.

0 Answers   IBM,


maximum of how many screens we can open in emulator

2 Answers  


How to read a 100 record from a file through cobol?

2 Answers  


What is the purpose of Identification Division?

1 Answers  


what is level 66 means??

7 Answers  


How many sections are there in data division in COBOL?

0 Answers   B-Ways TecnoSoft,


In file1 have 80 records are like d1,d2,d3......D80. File2 have 1000records are like a1d1,a1d2,a3d3.....Etc. I want matching records in file3 ? Plse tell me the matching logic???I want answer only in cobol ?Not using any tool or jcl?

1 Answers   CSC,


Categories