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


I am sending values a and b with pic x(10) and pic x(10) by
using call statement.
In linkage section, I am receiving values with pic x(10)
and pic x(11).
Will my program fail? will it be compile error or run time
abend?

Answers were Sorted based on User's Feedback



I am sending values a and b with pic x(10) and pic x(10) by using call statement. In linkage sect..

Answer / vs kumar

NOTHING WILL HAPPEN. PROGRAM WILL EXECUTE SUCCESSFULLY.

Is This Answer Correct ?    6 Yes 2 No

I am sending values a and b with pic x(10) and pic x(10) by using call statement. In linkage sect..

Answer / meera

Program will execute successfully. But truncation will
occur. If the data is numeric then MSB will truncate. If the
data type is Alphabet then Right most alphabet get truncated

Is This Answer Correct ?    2 Yes 2 No

I am sending values a and b with pic x(10) and pic x(10) by using call statement. In linkage sect..

Answer / bharath

No error will occur. Data will terminate to 10 Fields.

Is This Answer Correct ?    2 Yes 3 No

Post New Answer

More COBOL Interview Questions

how do you reference the fixed unblock file formats from cobol programs

0 Answers  


If my file contains 100,000 records and job abended at 55,000th records processing then how can i restart job from that record onward by ignoring that record. I can not edit the file as file size is big and it is getting browse substituted?

5 Answers   TCS,


How do you come out of an EVALUATE statement?

3 Answers  


what is the coding difference between COBOL and CICS.

8 Answers   Cap Gemini,


what is meaning by design document? who can repared for this?

5 Answers   TCS,


What is the difference between perform … with test after and perform … with test before?

0 Answers  


how to refer the data field?

0 Answers  


How can we find out wether to declare the data items like Integer, Char,Comp? If comp types how can we decide wether it is Comp and Comp3.How it is? Please Explain... Cheers.

1 Answers   Syntel,


I hv ten records in ps file and i hv say some 15 records in vsam file .i hv empno and age in ps file n empno,empname,dept n desig in vsam file. i hv 2 read the ps file n check wid matching empno in vsam file and then insert all fields from ps and vsam into db2 table....plz help in writin the procedure division

1 Answers  


I encountered an error when I move spaces to a numeric field?What should I do to move spaces on that field?help please.

9 Answers  


What is the maximum length of a field you can define using COMP-3?

4 Answers   Complex System, Infosys,


how to code in cobol while using variable block file?

1 Answers  


Categories