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 can I tell if a module is being called DYNAMICALLY or
STATICALLY?

Answers were Sorted based on User's Feedback



How can I tell if a module is being called DYNAMICALLY or STATICALLY?..

Answer / sudha

If there is DYNAM compiler option then the module is
dynamically called. A STATICally called module is one that
is bound with the calling module at link edit, and
therefore becomes part of the executable load module.

Is This Answer Correct ?    10 Yes 0 No

How can I tell if a module is being called DYNAMICALLY or STATICALLY?..

Answer / dev

also the method of calling is differnt in cobol code also
static call
call 'pgmname'
dyanmic call
call identifier eg call pgmvar
where pgmvar is a working storage variable having the pgm
name

Is This Answer Correct ?    10 Yes 0 No

How can I tell if a module is being called DYNAMICALLY or STATICALLY?..

Answer / arun

Answer 1 is exact. calling a program using working-storage
variable is implicit call and it does not make a dynamic
call.

Is This Answer Correct ?    8 Yes 0 No

Post New Answer

More COBOL Interview Questions

wht is packed decimal in cobol

2 Answers  


What are the differences between COBOL and COBOL II?

1 Answers   CSC,


is this below syntax correct? CALL 'subprg' using A,B Please help

2 Answers  


have in 100 records in a flat file i want to move records like 1,3,5,7,9,11,.. to Output file1 and 2,4,6,8,10,12,14 .. records moved to Output file2..Pls Provide real time answer..

5 Answers   TCS,


what is Pic 9v99 Indicates?

2 Answers  


1.Can we define condition-name conditions in FD entry.

11 Answers  


What will happen if a variable is declared as below.. Explain with an example? Working storage section:- 01 WS-VARX PIC X(9) VALUE SPACES. 01 WS-VARN REDEFINES WS-VARX PIC 9(9).

8 Answers  


i have a variable block which is used in my cobol program as input file having records of 4080 after compilation while runing the program im getiing file attribut mismatch and it is saying tht the record length of the file is 4084 can any one knw the answer how to reslove it ?

2 Answers  


How many sections are there in data division?.

10 Answers   Amdocs, TCS,


how we rectify soc7 and soc4 errors in project?

1 Answers   Anaxis, TCS,


what is s013u000 for?

1 Answers   Hewitt,


I have PS flat file with 14 records. I want to read from 4th to 9th record and want to write those 6 records (4th record to 9th record) to another PS file (output file). there is no key defined in the input file. I just want read a certain Consecutive records. can any one please give me the procedure division Coding for this. I have coded the below coding but the READ-PARA is performing only 1 time even though I have 14 records in my input file (i.e FILE-1): PROCEDURE DIVISION. A000-SECTION. MOVE 0 TO I. OPEN INPUT FILE-1. IF CHECK-KEY1 > 0 DISPLAY "OPEN ERROR FOR FILE-1, CODE IS:" CHECK-KEY1 END-IF. OPEN EXTEND NEWFILE-1 IF CHECK-KEY3 > 0 DISPLAY "OPEN ERROR FOR NEWFILE-1 COD IS" CHECK-KEY3 END-IF. PERFORM READ-PARA THRU EXIT-PARA UNTIL EOF-REC = 'YES'. DISPLAY " FINALLY OUT OF LOOP" CLOSE FILE-1 CLOSE NEWFILE-1 STOP RUN. READ-PARA. ADD 1 TO I READ FILE-1 AT END MOVE 'YES' TO EOF-REC IF I > 3 AND < 10 PERFORM WRITE-PARA ELSE DISPLAY "NOT IN RANGE" END-IF. EXIT-PARA. EXIT. WRITE-PARA. WRITE NEW-REC FROM FILE1-REC.

8 Answers   IBM,


Categories