What do you understand by passing by reference and passing by content?
Answer Posted / robertd903
Passing by reference, is passing the ADDRESS of a variable--to a subprogram. The subprogram is able to change the value contained in the variable.
Passing by content is passing the DATA contained within a variable--to a subprogram. The subprogram can NOT change the value of the data in the (calling program's) variable.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
What are 77 levels used for?
how do you reference the rrds file formats from cobol programs
Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks
Name some of the examples of COBOl 11?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
State the various causes of s0c1, s0c5 and s0c7.
A table has two indexes defined. Which one will be used by the SEARCH?
how to move the records from file to array table. give with code example
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
How arrays can be defined in COBOL?
Which mode is used to operate the sequential file?
How do get the result of your program directly on your pc?
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad