How can I tell if a module is being called DYNAMICALLY or
STATICALLY?
Answers were Sorted based on User's Feedback
Answer / sudha
If there is DYNAM compiler option then the module is
dynamically called. A STATICally called module is one that
is bound with the calling module at link edit, and
therefore becomes part of the executable load module.
Is This Answer Correct ? | 10 Yes | 0 No |
Answer / dev
also the method of calling is differnt in cobol code also
static call
call 'pgmname'
dyanmic call
call identifier eg call pgmvar
where pgmvar is a working storage variable having the pgm
name
Is This Answer Correct ? | 10 Yes | 0 No |
Answer / arun
Answer 1 is exact. calling a program using working-storage
variable is implicit call and it does not make a dynamic
call.
Is This Answer Correct ? | 8 Yes | 0 No |
How do you define a variable of comp-1 and comp-2?
I have two questions here. 1. How to read a flat file in reverse order? 2. How to read a VSAM KSDS file in reverse order? In both the cases we donot know the total number of records.
The following entries appear in the WORKING-STORAGE SECTION: 01 DATE-TODAY. 05 YY PIC XX VALUE "90". 05 MM PIC XX VALUE "12". 05 DD PIC XX VALUE :31". 01 DATE-EDIT PIC XX/XX/XX. MOVE DATE-TODAY TO DATE-EDIT. (a) 901231 (b) 90/12/31 (c) 31/12/90 (d) 311290
What is a report item?
Can we use icetool in cobol program?
how to remove leading spaces and zeroes in a cobol variable.is there any easy way to do it
How to read a record from bottom of a file which is indexed by 'A'.
can we declare s9(9)v9(9) in cobol ? if yes how many bytes it will occupy ?(urgent plz answer it)
How do u sort the table for Search ALL? Is it only using ASCENDING KEY IS statement in occurs clause? If the data is input in non ascending order, will the ASC KEY IS automatically sort the data? or will it throw compile time error?
I know my query will return more than one row but I don't want cursor what should I do?
What type of Call you would use if you don;t want the control back to the calling program?
What is the utilization of copybook in cobol? Could we utilize a similar copybook?