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 is a SSRANGE and NOSSRANGE?
Why occurs cannot be used in 01 level in COBOL?
What is the difference between comp and comp-3 usage?
What is the LINKAGE SECTION used in COBOL?
What is Pic 9v99 Indicates in COBOL?
What is the difference between a binary search and a sequential search what are the pertinent cobol?
Why did you choose to work with ibm mainframe cobol programming?
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
How do you get the data to code the BMS macro?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
How are the next sentence and continue different from each other?
What is the difference between external and global variables in COBOL?
how do you reference the rrds file formats from cobol programs
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
how to move the records from file to array table. give with code example