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...


if we display var1 then what will b displayed in below
condition.
77 var1 pic s9(2) value -10.
77 var1 pic s9(2) value -11.
" " " -12.
" " " -13.
-14
...
...
-19.

Answers were Sorted based on User's Feedback



if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 7..

Answer / s

It will give Compilation error as the variable is not
uniquely defined

Is This Answer Correct ?    10 Yes 0 No

if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 7..

Answer / piyush mani

u r wrt but if we declare diff var for above values then result will b like
value result
-10 1{
-11 1J
-12 1K
-13 1L

.........

THANKS

Is This Answer Correct ?    5 Yes 1 No

Post New Answer

More COBOL Interview Questions

a. Can the OPTIONAL clause in COBOL only be coded for input files? b. If it is coded for files opened in OUTPUT, I-O or EXTEND mode, will it give a compilation error? c. If there are no compilation errors and if such files are not coded in the JCL, will the OPEN statement run fine when these files are opened? d. How will a WRITE statement work for the above files?

2 Answers  


what are the diferences b/w sub-script and index?

4 Answers  


What does the IS NUMERIC clause establish ?

2 Answers  


What is the usage of comp fields in cobol?

0 Answers  


i have two file one is ksds another one is esds i want store matching records in flat file how to you matching.

2 Answers   Wipro,


01 text-data pic x(100). move 'xyzdbfrjjg u' to text-data. how to find the value of last index of text-data?

3 Answers   Mind Tree,


What is the difference between index and subscript?

5 Answers   Visa,


how many maximum no of variables can be declared in linkage section ?

2 Answers   HCL,


What is the difference between performing a SECTION and a PARAGRAPH?

5 Answers   Accenture, Patni,


In COBOL "BEFORE" advancing is there or not ?

3 Answers  


how can u pass the values into db2 values from cobol ?

3 Answers   CTS,


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

0 Answers  


Categories