In COBOL CALL-CALLING,if a program A is calling 3 sub-
programs, dynamically, then it is said sub-programs will
always will always in Initial Mode. My question is : Do we
need to code CANCEL or (IS INITIAL) for dynamically called
sub-programs or it is the property of Dynamically called
pgms so every time sub-pgms are called they will be in initial
mode. ***This question is only Dynamic call****,
Please reply. Thank you in advance.

Answer Posted / kingmanish

The dynamically called program is loaded once a call is
made to it dynamically by a calling program.
The program is initialised only when it is called for the
first time and remains in memory till the end of calling
program.

After the first call from second call onwards the called
program should be initialised.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define static linking and dynamic linking.

660


Differentiate between structured cobol programming and object-oriented cobol programming.

663


Discuss about changing dataset name in proc.

757


Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning

676


What is redefines clause in COBOL?

844






1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?

5370


What are the different rules to perform a Search?

613


State the various causes of s0c1, s0c5 and s0c7.

658


What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?

672


How do define dynamic array in cobol.

669


If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly

2656


Write a program to explain size error.

669


Whats the difference between search & search ALL?

5258


I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.

2005


What are 77 levels used for?

656