With in these three which one is the default one Call
Reference, Call By Value, Call By Content.-Which one is
default?
Answer Posted / shilpa
we can call the subprogram by refarence or content, but
call by refarence is default.
call by refarence: when we are passing the value from
mainprogram to subprogram if any changes in subprogram it
reflect also in main program but in call by content if any
changes in subprogram it wont reflect on mainprogram.
we can call the subprogram by dynamically or statically.in
this scenario the default is static call. in dynamic call
we call the program by value. in static call we call the
program by literal.
first we understand the main difference between static call
and dynamic call.
if any changes in subprogam in static call it will reflect
in msin program so we can recompile the mainprogram again
but not in dynamic. if we want to change any call program
just change the program name no neeed to change again and
again.dynamic call is faster compared to static call.
| Is This Answer Correct ? | 6 Yes | 2 No |
Post New Answer View All Answers
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
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.
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
Write the code implementing the perform … varying.
What is rmode(24)
Define cobol?
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
how to convert the recors form vsam file to db2 table tru file aid
What is the Purpose of Pointer in the string?
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
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?
How do you reference the following file formats from cobol programs?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
Why would you use find and get rather than to obtain?