how to run sub programs using static and dynamic call ...
Answer Posted / vijay kumar
static:- its is identified by the CALL LITERAL.
Syntax:- CALL 'program name'.
Dynamic:- it is identified by the variable
Ex:- 01 ws-program pic x(8)
MOVE 'program name' to ws-program
CALL 'ws-program'.
Is This Answer Correct ? | 9 Yes | 2 No |
Post New Answer View All Answers
what is search and searchall?what is the diffrence between them?give an best example?
what is s000 u4087 error? please give the all error codes in cobol,jcl.
Describe the cobol database components?
What is a report item?
A table has two indexes defined. Which one will be used by the SEARCH?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
how do you reference the ksds vsam file formats from cobol programs
How to print 10 to 1 if the input have only 10 digit number?
What is the difference between comp and comp-3 usage?
What is the difference between PIC 9.99 and PIC9v99?
what is amode(24), amode(31), rmode(24) and rmode(any)?
Why occurs cannot be used in 01 level in COBOL?
What are the different open modes available in cobol?
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this
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 ......