how do u link sub pgm to main pgm ?
Answers were Sorted based on User's Feedback
Answer / ankit
linking of pgm is done by 'call statements ' linking of pgm
is done by o/s we need to just use call statements in cobol
pgm, we cannot explicitly link pgms
| Is This Answer Correct ? | 8 Yes | 0 No |
Answer / muttaiah
By Call stmt and compiler option dynam or nodynam.
| Is This Answer Correct ? | 1 Yes | 0 No |
What are the different rules to perform a Search?
Why we need to use redefine clause when we can define the variable seperately... what is actual need....
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.
I have the file which is having the extension no as records. sample file will look like below. 2310 3410 3256 4350 3781 5408 I need to replace the record which is starting with 3 to 5 (i.e) 3410 to 5410. How can we do it through cobol and cobol-db2 program? I need the possible logic?
what is subscript in cobol?give realtime example?
How can I tell if a module is being called DYNAMICALLY or STATICALLY?
What is different between variable length and fixed length?
What is "Call by content" and "call by reference"?
What is the difference between Perform para and perform asaection in cobol?
Describe the cobol database components?
if someone is using my file,how can i find which user id is using?
can we use COPY statement in w-s section? how?