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


How do you define a variable of COMP-1? COMP-2?

Answers were Sorted based on User's Feedback



How do you define a variable of COMP-1? COMP-2?..

Answer / pal

77 A COMP-1.
77 B COMP-2.

because we can't use PIC clause in comp-1 & comp-2

Is This Answer Correct ?    42 Yes 8 No

How do you define a variable of COMP-1? COMP-2?..

Answer / paddu

01 a usage comp-1.
01 b usage cpmp-2.
this way to define

Is This Answer Correct ?    12 Yes 1 No

How do you define a variable of COMP-1? COMP-2?..

Answer / vampire

01 a comp-1
01 b comp-2

Is This Answer Correct ?    9 Yes 4 No

Post New Answer

More COBOL Interview Questions

How to solve SOC7. I have the cobol coded as below 01 A PIC 9(4). 01 AIN REDEFINES A. 05 AIN1 PIC S9(4) 01 B PIC 9(4)V99. 01 BIN REDEFINES B. 05 BIN1 PIC S9(4)V99. PROCEDURE DIVISION. START-PARA. INITIALIZE A AIN B BIN. ACCEPT A B. DISPLAY 'VALUE OF A=' A. DISPLAY 'VALUE OF B=' B. DISPLAY 'VALUE OF BIN1=' BIN1. DISPLAY 'VALUE OF AIN1=' AIN1. COMPUTE AIN1 = BIN1 - AIN1. DISPLAY 'VALUE OF AIN1=' AIN1. When i'm executing this code i'm getting SOC7 for A = 12 & B=34. Can someone explain SDSF OUTPUT DISPLAY TCOM058R JOB05458 DSID 102 LINE 0 COLUMNS 02- 81 COMMAND INPUT ===> SCROLL ===> CSR ********************************* TOP OF DATA ********************************** VALUE OF A=12 VALUE OF B=34 VALUE OF BIN1=34 VALUE OF AIN1=12 CEE3207S The system detected a data exception (System Completion Code=0C7). From compile unit PROG1 at entry point PROG1 at statement 29 at compile +000004CE at address 00007ECE. Please address how to solve this issue Thanks in advance.

1 Answers  


EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?

0 Answers   Accenture,


How to delete leading spaces/blank in COBOL ? Example:- 01 data-name-1 pic x(220) " English is a language". I would like to delete leading spaces.

7 Answers   Financial Services,


What is Static,Dynamic linking ?

2 Answers  


What is an index for tables?

2 Answers  


if someone is using my file,how can i find which user id is using?

4 Answers  


what are the utilities for load and unload the DB2 tables

1 Answers   L&T,


what is SYNCHRONIZATION?

3 Answers   Syntel,


what is the purpose of linkage section?

10 Answers  


What is rmode(any) ?

0 Answers  


What is inspect in cobol ?

0 Answers   Infosys,


please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?

0 Answers   EDS,


Categories