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 happen if i give program name and member name as
different? program runs successful or w'll abend?

Answers were Sorted based on User's Feedback



what will happen if i give program name and member name as different? program runs successful or w..

Answer / vijay

The program will be compiled successfully and the load will
be created with the member name only. So, no issues with
program name and member name being different.

Is This Answer Correct ?    8 Yes 2 No

what will happen if i give program name and member name as different? program runs successful or w..

Answer / prachi

During compilation the program will give an error

Is This Answer Correct ?    7 Yes 3 No

what will happen if i give program name and member name as different? program runs successful or w..

Answer / tata

(a)//COMPILE.SYSIN DD DSN=OZA093.SUNIL.COBO1(DATE),DISP=SHR
(b)//LKED.SYSLMOD DD
DSN=OZA093.SUNIL.LOADLIB(DATE),DISP=SHR

here (a) is for compilation.and (b) is for
execution.i.e.loadmodule of our program. after compilation
of our program.the compiler will generate an object code to
our program. this only going to be executed..what ever u
give at
LOADLIB(DATE)..this name (for my program loadmodule name is
date) should be specified at
//step exec pgm=loadmodulename.(here date).

Is This Answer Correct ?    3 Yes 2 No

what will happen if i give program name and member name as different? program runs successful or w..

Answer / sudhir

Compile will be succesful. but while linking the program-name will be used to scan the Object library. it will not be found and linking will not complete successfully.

Is This Answer Correct ?    2 Yes 1 No

what will happen if i give program name and member name as different? program runs successful or w..

Answer / raj

If its been dynamically called by some other program then
the member name and the program name should be same .
else if its standalone program then it will work

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More COBOL Interview Questions

What is binary search?

3 Answers  


How to traceback if I am getting SOC7 or SOC4 abend? List down the steps

0 Answers  


COMPUTE X = A * B - C * D and COMPUTE X = (A * B) - (C * D) (a) Are not the same (b) Are same (c) Syntactically wrong (d) Will yield a run time error

1 Answers   TCS,


Study the DATA DIVISION entries and the three PROCEDURE DIVISION entries given below: 01 END-OF-FILE-SWITCH PIC XXX. 88 NO-MORE-RECS VALUE "YES". 88 MORE-RECS VALUE "NO". (i) READ SAMPLE-FILE AT END MOVE "YES" TO NO-MORE-RECS. (ii) IF NO-MORE-RECS = "YES" GO TO LAST-PARA. (iii) IF NO-MORE-RECS GO TO LAST-PARA. Which are wrong? (a) (i) and (ii) (b) (ii) and (iii) (c) (i) and (iii) (d) all

5 Answers   TCS,


Can anyone explain me CALL procedure in COBOL.Does it carries similarities like call by reference in C.

1 Answers  


in how many mode we can open a file ?

4 Answers  


copy 100 records without using ibm utilities

3 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,


how we rectify soc4 and soc7 error in project(need real time answer)? please reply

3 Answers   HCL, Wipro,


What is the difference between PIC 9.99 and PIC9v99?

0 Answers  


Write the code implementing the perform … varying.

0 Answers  


plz,could any one tell me? what about EBCDIC in cobol?briefly?

1 Answers  


Categories