Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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 maximum size of a 01 level item in COBOL I? in COBOL II?

2 Answers   IBM, RBS,


Which of the following files can be OPENed in all the 4 modes? The four modes are INPUT, I-O, OUTPUT and EXTEND. (a) INDEXED (b) RELATIVE (c) SEQUENTIAL (d) All of the above

7 Answers   TCS,


consider the following piece of code 01 GROSS-PAY 05 BASIC-PAY PIC 9(5) 05 ALLOWENCES PIC 9(3) if BASIC-PAY has a value 1000 and ALLOWENCES has a value of 250,what will be displayed by the statement DISPLAY GROSS-PAY a.1250 b.01000250 c.01250 d.1.250

3 Answers   TCS,


What will happen if we generate GDG (+2) version without generating (+1) version?

2 Answers   IBM, T systems,


WE HAVE 5 DIFFERENT RECORDING MODE IN COBOL.FIXED, FIXEDBLOCK, VARIABLE, VARIABLEBLOCK AND UNDEFINED. WHAT IS THE DIFFERENCE AMONG ALL AND WHICH TYPE OF FORMAT SHOULD BE USED WHEN

3 Answers   Infosys,


How do you code Cobol to access a parameter that has been defined in JCL?

3 Answers  


how will u pass dadta to cobol+db2 program...?

4 Answers   IBM,


how can count the number of character in feild ?? suppose for instance i have a feild with value ' rajesh sarkar' then how can v count the number of characters whitout spaces...........

4 Answers   Wipro,


What is wrong with the following data declaration? 01 W-DATE PIC X(6). 05 DD PIC 99. 05 MM PIC 99. 05 YY PIC 99. (a) Nothing is wrong. (b) Under W-DATE all level 05 items are having a PIC 99 but level 01 has PIC X(6). (c) PIC can't be specified for a group item. (d) DD, MM, and YY are invalid datanames.

6 Answers   Mphasis, TCS,


Name the divisions in a COBOL program ?

7 Answers  


how do you define single dimensional array and multidimensional array in your cobol?

0 Answers  


how to display date in reverse order if the pic clause of the is numeric suppose date is 09032010 ==> need to print in 20100309 (pic clause is numeric)

6 Answers  


Categories