where will we code call by content and call by reference dude pls reply soon ?
Answer Posted / munigopal
procedure division.
CALL "subpgm name"
USING BY CONTENT
BY REFERENCE.
BY REFERENCE is default
| Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
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
What is length is cobol?
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
What is the default value(s) for an initialize and what keyword allows for an override of the default?
In COBOL programming, what is PERFORM? What is VARYING?
) what is the difference between AID and HANDLE AID?
What are the various section in data division and briefly explain them.
Write down the divisions of cobol program?
How do get the result of your program directly on your pc?
What kind of error is trapped by on size error option?
how do you reference the variable block file formats from cobol programs
What is rmode(24)