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

ID DIVISION.
PROGRAM-ID. PLO.
DATA DIVISION.
WORKING-STORAGE SECTION.
01 VAR1 PIC 9(2).
01 VAR2 PIC X(2).
PROCEDURE DIVISION.
ACCEPT VAR2.
MOVE VAR2 TO VAR1.
STOP RUN.

if i give 'PI' in var2 then what will b output of progr.
any abend?????

Answer Posted / piyush mani

i know soc7 abend should b the result but if i display var1 then program is running without any abend and output of program is absurd so i asked this question..

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how you can characterize tables in cobol?

1046


What rules are to be followed while using the corresponding options?

1049


I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.

1548


Which Search verb is equivalent to PERFORM…VARYING?

1023


Have you used comp and comp-3 in your project? And how?

2460


What is the utilization of copybook in cobol?

1170


What is the difference between PIC 9.99 and 9v99 in COBOL?

1309


How can you get the ksds file records into your cobol program?

1084


What is an in line perform? When would you use it? Anything else you wish to say about it.

1060


What is amode(24)?

1219


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.

2421


Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?

1336


What are the different data types in cobol?

1404


Explain how to differentiate call by context by comparing it to other calls?

1166


i want a program using by if, evaluate , string, unstring, perform, occurs?

4702