how to run sub programs using static and dynamic call ...
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / raj
Static Call or dynamic call depends upon how the program is
compiled.
Static call/Dynamic call can be called using literal or
variable name.
| Is This Answer Correct ? | 1 Yes | 0 No |
I have a files containing both duplicate and non-duplicate records.The file is already sorted by a key.I want to determine those records that are duplicate and records that are non-duplicate.If duplicate the record is move to a duplicate file and if non-duplicate that will be move to valid file.thank you
What is the difference between CALL BY VALUE and CALL BY CONTENT?
select TURE Statement(s) aboUt eject statemenet in cobol? a)The eject statememnt must be the only statement on the line b.It causes the program to edit abnormally c. eject statement can be written in either area A or area B d. specifies that the next source statement is to be printed at Top of the next page e.The EJECTstatement has no effect on the compilation of the source program itself
u have passed sme charecters thru parm parameter in jcl. how do u code in cobol to recieve the values u gave in parm ?
subscript and index r not coded in u r application program what will happen?
Write a program to explain size error.
Define in-line perform?
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
What is inspect in cobol ?
what is linkcard in cobol?
What is an explicit scope terminator?
How to retrive the 9th records out of ten records using the cobol program ?