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 will u find out 3rd week's 2nd day using occurs ?
Consider the below example call a-test1. -- -- -- a-test1. if a=b perform a-test through a-exit next sentence else if b=c perform c-test through c-exit. if a=d perform d-test through d-exit. a-test. -- -- a-exit. exit. can u tell me what will happen if a=b after looping into a-exit will the control go back to a- test1. will the condition a=d be checked???
Can a Search can be done on a table with or without Index?
how do you reference the esds vsam file formats from cobol programs
How can i write a comp-3 variable into a sequential file should i declara the field in the file description as comp- 3?
I have two sequential files, FILE-1 and FILE-2. FILE-1 contains 2 columns(A,B) and FILE-2 contains 3 columns (C,D,E).I want an output file, FILE-3 which has all five columns with duplicates eliminated from column A.
What are the two search techniques ?
IF there 5 to 6 files in a JCL and there is some space abends, how can we identify which file has space abend and what can be done to get off that abend or rectify that abend.
how do u indetify files succesfully executed or not ?
i friends greetings to the day...!!! I face a quation like"while runnig the programe every day i have to access the previous day updates only...!! Ex:- Let last day 100 customers took bank account i have to select those customers only.."
How do you define a sort file in JCL that runs the COBOL program?
Study the DATA DIVISION entries and the three PROCEDURE DIVISION entries given below: 01 END-OF-FILE-SWITCH PIC XXX. 88 NO-MORE-RECS VALUE "YES". 88 MORE-RECS VALUE "NO". (i) READ SAMPLE-FILE AT END MOVE "YES" TO NO-MORE-RECS. (ii) IF NO-MORE-RECS = "YES" GO TO LAST-PARA. (iii) IF NO-MORE-RECS GO TO LAST-PARA. Which are wrong? (a) (i) and (ii) (b) (ii) and (iii) (c) (i) and (iii) (d) all