is this below syntax correct?
CALL 'subprg' using A,B
Please help
Answer Posted / billyboyo
Yes, your syntax is correct.
This is using the "call literal" option of IBM Cobol. If
you do need the call to be dynamic, specify the DYNAM
option on the compile.
If you were to have used "call data-name" then the call is
perforce dynamic and unaffected by DYNAM/NODYNAM compile
option.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are the different rules for performing sort operation?
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
What is the difference between Call and a Link?
HOw can I get the negative sign while deduct high value from low value
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
What are various search techniques in cobol? Explain.
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
What are the different rules of SORT operation?
Have you used comp and comp-3 in your project? And how?
What is the difference between comp and comp-3 usage?
how to access the file from prodution from changeman tool and to submit a file to production
I have a File that has duplicate records. I need only those records that occur more than thrice.?
What are literals?
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.