I have a cobol program with a sub program. How ca i find that
it is a dynamic call? or static call..?
Answers were Sorted based on User's Feedback
Answer / adarsh
in addition to above answers, we can find by seeing compiler
option.if copt=dynam it is dynamic call,default is nodynam
i.e static call.
| Is This Answer Correct ? | 6 Yes | 2 No |
Answer / seema dawlekar
In a main program if we are calling subprogram directly ie
by giving 'call subprog' then it is static call.
ex:call subprog.
if we are moving the subprogram name to the working storage
variable and calling the working storage variable then it a
dynamic call ie.,
ex:
01 ws-var1 pic x(10).
move subpgrog to ws-var1.
call ws-var1.
| Is This Answer Correct ? | 7 Yes | 7 No |
If we put three reads in COBOL in the same para one after the other, to read a PS file,will it read the same record thrice or it will read three records sequentially? For example : Input File 01 02 03 Para 900 Read infile Display Infile rec Read infile Display infile rec Read infile Display infile rec. What will be the output?
if a dataset is already created with fixed length but after that i want to change fixed length to variable length then how is it possible
Where the Plan is located in CICS-DB2
hi, can you ppl tell me, how to check whether the rewrite we gave for the ksds file is successful or not in the program.? i gave rewrite, the rewrite code is executing and maxcc=0 but updation doenot happen in the file?
how to check whether the open command of a sequential file is successful? or not?
The disposition parameter in the jcl is share ( DISP+SHR ) and the program opens file in extend mode what will happen?
Can JUSTIFIED be used for all the data types?
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
I encountered an error when I move spaces to a numeric field?What should I do to move spaces on that field?help please.
State the various causes of s0c1, s0c5 and s0c7.
Have you used comp and comp-3 in your project? And how?
What are decleratives in COBOL ?